随笔分类 -  WinForm

摘要:Form1中有textbox1,button1 Form2中有linklabel1. (1)传值是在构造函数里实现的.Form1中textbox里的值button1单击触发传到Form2的linklabel1中 Form2中代码 public Form2(string abc) { InitializeComponent(); th... 阅读全文
posted @ 2008-07-31 10:44 星球人 阅读(839) 评论(0) 推荐(0)
摘要:今天在写windows forms时要跳转窗口 由于自己也是第一次接触,不知道是什么函数,于是上网找了,找了好久都找不到, 结果经过实验发现是用: form2 fm2 = new form2(); fm2.Show(); // 不在任务栏显示 this.ShowInTaskbar = false; // 窗体透明... 阅读全文
posted @ 2008-07-30 17:03 星球人 阅读(526) 评论(1) 推荐(0)