public Form1() { InitializeComponent(); notifyIcon1.Text = "Tray icon test"; WindowState = FormWindowState.Minimized; } private void exitToolStripMenuItem_Click(object sender, EventArgs e) { notifyIcon1.Visible = false; this.Close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)