在FormRow中textbox的宽度能设置小吗

2025-05-13 11:33:27
推荐回答(1个)
回答1:

在Form1里写代码: public static String txt=""; //在窗体类里定义静态变量private void button1_click(object sender,EventArgs e){ txt=textBox3.Text; Form2 f=new Form2(); f.ShowDialog(); //千万注意不是用show}在Form2中写: public For