if (e.CloseReason != CloseReason.ApplicationExitCall && e.CloseReason != CloseReason.TaskManagerClosing && e.CloseReason != CloseReason.WindowsShutDown) { e.Cancel = true; Hide(); notifyIcon1.BalloonTipIcon = ToolTipIcon.None; notifyIcon1.Visible = true; notifyIcon1.BalloonTipText = "正在运行"; notifyIcon1.BalloonTipTitle = "刷博客";
notifyIcon1.ShowBalloonTip(3000); }