private void NotifyIconContextMenu_MouseLeave(object sender, EventArgs e) { System.Threading.Thread.Sleep(500); NotifyIconContextMenu.Hide(); }