public void Dispose() { _depText.Dispose(); _depImageIndex.Dispose(); _depNodes.Dispose(); _depRecursive.Dispose(); }
/// <summary> /// Unregister idle-time updates for the control. /// </summary> /// <param name="e">unused</param> protected override void OnHandleDestroyed(EventArgs e) { // Unregister idle-time updates. Application.Idle -= new EventHandler(Application_Idle); _depEnabled.Dispose(); base.OnHandleDestroyed(e); }
public void Dispose() { if (_form != null) { _form.Dispose(); } _depExists.Dispose(); }
public void Dispose() { foreach (ObjectProperty property in _properties) { property.Dispose(); } _depNodes.Dispose(); _disposed = true; }
/// <summary> /// Unregister idle-time updates for the control. /// </summary> /// <param name="e">unused</param> protected override void OnHandleDestroyed(EventArgs e) { // Unregister idle-time updates. Application.Idle -= new EventHandler(Application_Idle); _depEnabled.Dispose(); _depItems.Dispose(); _depItemCheckState.Dispose(); foreach (CheckedListBoxItem item in base.Items) { item.Dispose(); } base.OnHandleDestroyed(e); }
public override void Dispose() { foreach (IObjectInstance child in _children) { ObjectInstance.Tree.RemoveKey(child.WrappedObject); child.Dispose(); } using (NotificationGate.BeginOutbound()) { ObjectInstance.ClearValue(ClassProperty.DependencyProperty); } _depCollection.Dispose(); }
public override void Dispose() { if (_child != null) { ObjectInstance.Tree.RemoveKey(_child.WrappedObject); _child.Dispose(); } using (NotificationGate.BeginOutbound()) { ObjectInstance.ClearValue(ClassProperty.DependencyProperty); } _depProperty.Dispose(); }
/// <summary> /// Unregister idle-time updates for the control. /// </summary> /// <param name="e">unused</param> protected override void OnHandleDestroyed(EventArgs e) { // Unregister idle-time updates. Application.Idle -= new EventHandler(Application_Idle); _depEnabled.Dispose(); _depColumns.Dispose(); _depItems.Dispose(); _depItemValue.Dispose(); foreach (DependentDataRow dependentDataRow in _rows) { dependentDataRow.Dispose(); } base.OnHandleDestroyed(e); }
public void Dispose() { _depValue.Dispose(); using (_updateController.BeginUpdating()) { if (_dataRow != null) { int rowIndex = _table.Rows.IndexOf(_dataRow); if (rowIndex >= 0) { _table.Rows.RemoveAt(rowIndex); } } } }
/// <summary> /// Unregister idle-time updates for the control. /// </summary> /// <param name="e">unused</param> protected override void OnHandleDestroyed(EventArgs e) { // Unregister idle-time updates. Application.Idle -= new EventHandler(Application_Idle); _depEnabled.Dispose(); _depNodes.Dispose(); _depRecursive.Dispose(); _depSelectedNode.Dispose(); foreach (DependentTreeNode item in base.Nodes) { item.Dispose(); } base.OnHandleDestroyed(e); }
/// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose(bool disposing) { if (disposing) { if (components != null) { components.Dispose(); } _depUpdate.Dispose(); // Unregister idle-time updates. Application.Idle -= new EventHandler(Application_Idle); } base.Dispose(disposing); }
/// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose(bool disposing) { if (disposing) { Application.Idle -= new EventHandler(Application_Idle); if (components != null) { components.Dispose(); } if (_formTable != null) { foreach (Entry entry in _formTable.Values) { entry.Dispose(); } _formTable = null; } _depForms.Dispose(); } base.Dispose(disposing); }
public void Dispose() { _depText.Dispose(); }
public void Dispose() { _depErrorText.Dispose(); }
public void Dispose() { _depText.Dispose(); _depCheckState.Dispose(); }
public void Dispose() { _depText.Dispose(); _depSelected.Dispose(); }