·使用notifyIcon
    private void notifyIcon1_MouseDoubleClick(object sender, MouseEventArgs e)
    {
      Show();
      WindowState = FormWindowState.Normal;
    }    private void Form1_Resize(object sender, EventArgs e)
    {
      if (WindowState == FormWindowState.Minimized)
      {
        Hide();        notifyIcon1.BalloonTipTitle = "APP Hidden";
        notifyIcon1.BalloonTipText = "Your application has been minimized to the taskbar.";
        notifyIcon1.ShowBalloonTip(3000);
      }
    }