/// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose(bool disposing) { if (disposing) { if (components != null) { components.Dispose(); } } base.Dispose(disposing); }
/// <summary> /// Limpiar los recursos que se estén utilizando. /// </summary> protected override void Dispose(bool disposing) { if (disposing) { if (components != null) { components.Dispose(); } _uiController.OnModelChanged -= new EventHandler(_uiController_OnModelChanged); } base.Dispose(disposing); }
/// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose(bool disposing) { if (disposing) { if (components != null) { components.Dispose(); } } // MOG_Main.Shutdown( true ); base.Dispose(disposing); }
/// <summary> /// Limpiar los recursos que se estén utilizando. /// </summary> protected override void Dispose(bool disposing) { if (disposing) { if (components != null) { components.Dispose(); } _uiController.ObjectHasChanged -= new EventHandler(Refresh); } base.Dispose(disposing); }
/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing) { components?.Dispose(); tipTooltip?.Dispose(); _italic?.Dispose(); _italicName?.Dispose(); UnbindSkillControl(); } base.Dispose(disposing); }
/// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose(bool disposing) { MhoraGlobalOptions.DisplayPrefsChanged -= new EvtChanged(this.OnRedisplay); if (disposing) { if (components != null) { components.Dispose(); } } base.Dispose(disposing); }
/// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose(bool disposing) { versionTimer.Stop(); if (disposing) { if (components != null) { components.Dispose(); } } base.Dispose(disposing); }
/// <summary> /// Gets called on application shutdown and stops the sniffer. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Application_Exit(object sender, ExitEventArgs e) { if (Sniffer.SnifferRunning()) { Sniffer.StopSniffer(); } if (components != null) { components.Dispose(); } }
protected override void Dispose(bool disposing) { RightToLeftChanged -= OnAdjustChechBoxPosition; ClientSizeChanged -= OnAdjustChechBoxPosition; RemoveControlsEventHandlers(); if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { //_bmp.UnlockBits(_bmpBitmapData); if (disposing) { if (components != null) { components.Dispose(); } } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { Console.WriteLine($"Dispose = {disposing}"); cogToolBlockEditV21.SubjectChanged -= new EventHandler(cogToolBlockEditV21_SubjectChanged); if (disposing && (components != null)) { components.Dispose(); Console.WriteLine("components.Dispose();"); } base.Dispose(disposing); }
/// ----------------------------------------------------------------------------------- /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing"><c>true</c> to release both managed and unmanaged /// resources; <c>false</c> to release only unmanaged resources. /// </param> /// ----------------------------------------------------------------------------------- protected override void Dispose(bool disposing) { System.Diagnostics.Debug.WriteLineIf(!disposing, "****** Missing Dispose() call for " + GetType().Name + ". ****** "); if (disposing) { if (components != null) { components.Dispose(); } } base.Dispose(disposing); }
/// <summary> /// Limpiar los recursos que se estén utilizando. /// </summary> protected override void Dispose(bool disposing) { if (disposing) { if (components != null) { components.Dispose(); } _uiController.OnControllerChanged -= new System.EventHandler(this.ListenerControllerChanged); } base.Dispose(disposing); }
/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { ///remove our event listeners SaveToSheet(); slide_display_.Changed["PixelTransform"].Remove(this.pixel_transform_listener_.Dispatcher); if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { //Clean up any resources being used if (disposing) { if (components != null) { components.Dispose(); } } base.Dispose(disposing); }
/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); if (m_Bitmap != null) { m_Bitmap.Dispose(); } } base.Dispose(disposing); }
/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); if (!_colorPicker.IsDisposed) { _colorPicker.Dispose(); } } base.Dispose(disposing); }
/// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose(bool disposing) { if (disposing) { if (components != null) { _serviceProvider = null; components.Dispose(); } } base.Dispose(disposing); }
/// <summary> /// <summary> Clean up any resources being used. </summary> /// The destructor of this class /// /// </summary> /// <returns>void</returns> protected override void Dispose(Boolean Disposing) { if (Disposing) { if (components != null) { components.Dispose(); } } base.Dispose(Disposing); }
/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (_presenter != null)) { _presenter.Dispose(); } if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); }
/// <summary> /// Limpiar los recursos que se estén utilizando. /// </summary> protected override void Dispose(bool disposing) { if (disposing) { if (components != null) { components.Dispose(); } gridResultado.EditingCell -= new Janus.Windows.GridEX.EditingCellEventHandler(gridResultado_EditingCell); } base.Dispose(disposing); }
/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } View.StatusChanged -= view_StatusChanged; View.PostContentChange -= view_ContentChanged; topLevelControlMap.Clear(); _registeredViews.Clear(); base.Dispose(disposing); }
/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } if (logo != null) { logo.Dispose(); } base.Dispose(disposing); }
} // end EnvironmentPanel constructor #endregion #region Dispose /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">Determines whether or not to release both managed and unmanaged /// resources or only unmanaged resources.</param> protected override void Dispose(bool disposing) { if (disposing) { if (_components != null) { _components.Dispose(); } // end if } // end if base.Dispose(disposing); } // end Dispose
/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } if (this.ttf != null) { this.ttf.Dispose(); this.ttf = null; } base.Dispose(disposing); }
/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } if (ptrHook != IntPtr.Zero) { UnhookWindowsHookEx(ptrHook); ptrHook = IntPtr.Zero; } base.Dispose(disposing); }
/// <summary> /// Limpiar los recursos que se estén utilizando. /// </summary> protected override void Dispose(bool disposing) { if (disposing) { if (components != null) { components.Dispose(); } this.toolBarStandar.ButtonClick -= new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBarStandar_ButtonClick); _uiController.MotivosOrdenReparacionNuevosHasChanged -= new EventHandler(_uiController_MotivosOrdenReparacionNuevosHasChanged); } base.Dispose(disposing); }
/// <summary> /// Nettoyage des ressources utilisées. /// </summary> protected override void Dispose(bool disposing) { if (disposing) { m_listeControlsUtiles.Clear(); m_listeControlesReserve.Clear(); if (components != null) { components.Dispose(); } } base.Dispose(disposing); }
/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing) { QuoteManagerC.Manager.QuotesUpdate -= new QuoteManagerC.QuotesUpdatedDelegate(Manager_QuotesUpdate); QuoteManagerC.Manager.Dispose(); if (components != null) { components.Dispose(); } } base.Dispose(disposing); }
} //Instance /// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose(bool disposing) { if (disposing) { this.pictureBoxAlarm.Dispose(); if (components != null) { components.Dispose(); } } base.Dispose(disposing); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> /// private void InitializeComponent() { components = new System.ComponentModel.Container(); components.Dispose(); }