private void NotifyIcon1_BalloonTipClicked(object sender, EventArgs e) { this.Visible = true; if (this.WindowState == FormWindowState.Minimized) { this.WindowState = FormWindowState.Normal; } this.Activate(); this.BringToFront(); }