摘要:code #1复制代码 代码如下:private void Form1_SizeChanged(object sender, EventArgs e) //最小化隐藏窗体 { if (this.WindowState == FormWindowState.Minimized)//窗体状态为最小化 { StopRectTimer.Enabled = false; this.Visible = false; this.notifyIcon1.Visible = true; //显示系统托盘图标 this.notifyIcon1.Text = this.Text; //设置图标显示的文本 this.
阅读全文
posted @ 2011-04-13 17:14
浙公网安备 33010602011771号