摘要: 拖一个 notifyIcon控件到界面,名为 notifyIcon1 //窗体对应的事件 #region Form1_SizeChanged private void Form1_SizeChanged(object sender, EventArgs e) { if (this.WindowState == FormWindowState.Minimized) //判断是否最小化 { this.ShowInTaskbar = false; //不显示在系统任务栏 notifyIcon1.Visible = true; //托盘图标可见 this.notifyIcon1.ShowBal... 阅读全文
posted @ 2012-07-12 08:38 真爱无限 阅读(273) 评论(0) 推荐(0) 编辑