protected override void Dispose(bool disposing) { paused = true; if (mTimer != null) { mTimer.Stop(); mTimer.Dispose(); } base.Dispose(disposing); }
protected override void OnClosed(EventArgs e) { IntelPowerGadget.Stop(); _MyWattsUp.Stop(); intelGadgetTimer.Stop(); intelGadgetTimer.Dispose(); wattsUpTimer.Stop(); wattsUpTimer.Dispose(); base.OnClosed(e); }
protected override void OnClosing(CancelEventArgs e) { if (mTimer != null) { mTimer.Stop(); mTimer.Dispose(); } display.Dispose(); dispData.Clear(); PServer1.StopServer(); base.OnClosing(e); }
protected override void OnClosed(EventArgs e) { mTimer.Stop(); mTimer.Dispose(); base.OnClosed(e); }
private void GridControls_Unloaded(object sender, System.Windows.RoutedEventArgs e) { mTimer.Stop(); mTimer.Dispose(); display.Dispose(); }