摘要:
个人认为第三种比较好A.设置构造函数参数//窗体2中的构造函数public form2(string str) { InitializeComponent(); this.textBox1.Text = str;}B.在需要调用的类中设置静态方法并调用public class form2 : form { public static setTextbox1(string str) { ... 阅读全文
posted @ 2006-11-12 05:40
飘啊飘
阅读(3190)
评论(4)
推荐(0)
浙公网安备 33010602011771号