private void btnStop_Click(object sender, EventArgs e) { addLog("STOP LargeIntervaleTimer"); if (timer != null) { timer.Tick -= timer_Tick; timer.Dispose(); timer = null; } myDict2.Clear(); listUserNotifications(false); }