Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
基本的に、ユーザーが入力したテキストをテキストボックスに変換してから、別のフォームに入れる必要があります。誰でもこれを行う方法を知っていますか? これは VB c# にあります。
WinForms を想定し、2 つのフォームが同じソリューション (VB.NET) にあると仮定します。
Form2.TextBox1.Text = Form1.TextBox1.Text
これを行うには、Form1 を介して呼び出すときに Form2 のコンストラクターでこの値を渡します。