摘要: 1.设置WinForm窗体属性showinTask=false2.加notifyicon控件notifyIcon1,为控件notifyIcon1的属性Icon添加一个icon图标。3.添加窗体最小化事件(首先需要添加事件引用):this.SizeChanged += new System.EventHandler(this.Form1_SizeChanged); //上面一行是主窗体InitializeComponent()方法中需要添加的引用 private void Form1_SizeChanged(object sender, EventArgs e) { if(this.Window 阅读全文
posted @ 2011-12-02 11:00 Rookier 阅读(359) 评论(0) 推荐(0) 编辑
摘要: class test { private int i ; private string s; public test(int n1,string s1) { this.i = n1; this.s = s1; } public void Withparameters() { Console.WriteLine("线程启动,参数{0},{1}",i,s); } } class Program ... 阅读全文
posted @ 2011-12-02 09:31 Rookier 阅读(321) 评论(1) 推荐(0) 编辑