如题,thankyou!

解决方案 »

  1.   

    知道楼主的意思
    用notifyIcon的click事件来控制窗体的显示和隐藏就可以了
      

  2.   

    隐藏:
    if(this.WindowState == FormWindowState.Minimized)
    this.Hide();
    显示时:
    在系统托盘那个的click事件中在吧窗体显示就可以了。
      

  3.   

    就是用 notifyIcon 控件点最小化this.Visible = false;
    this.ShowInTaskbar = false;
    然后再notifyIcon 的Click事件中private void notifyIcon1_Click(object sender, EventArgs e)
            {
                this.Visible = true;
                this.ShowInTaskbar = true;
            }
      

  4.   

    用 this.Hide();
    和 this.Show();
    来显示和隐藏也可以