private void menuItemMainSystemTray_Click(object sender, System.EventArgs e) { this.Hide(); notifyIcon.Visible = true; }
private void notifyIcon_Click(object sender, System.EventArgs e) { this.Show(); notifyIcon.Visible = false; }
WindowState = FormWindowState.Normal;pour faire réapparaître la fenêtre.