private void NotifyIconTimer_Tick(object sender, System.EventArgs e) { NotifyIconTimer.Stop(); IsActionEnabled = false; IsActionLongEnabled = false; NotifyIcon.Icon = GetTrayIcon(); }
public void ShowTrayIcon() { NotifyIcon.Icon = GetTrayIcon(); NotifyIconTimer.Interval = 300; NotifyIconTimer.Start(); }