摘要:
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 阅读全文
摘要:
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 ... 阅读全文