private void TrayIcon_MouseClick(object sender, MouseEventArgs e) { if (e.Button != MouseButtons.Right) { return; } TrayContextMenu.Show(Cursor.Position); }
private void ShowToolStripMenuItem_Click(object sender, EventArgs e) { TrayContextMenu.Hide(); ShowClient(); }