/// <summary> /// Initializes a new instance of the StatusBarPanel class. /// </summary> public StatusBarPanel() { parent = null; disposed = false; minWidth = 10; width = 100; text = this.GetType().Name; borderStyle = StatusBarPanelBorderStyle.Sunken; }
/// <summary> /// Releases the unmanaged resources used by the StatusBarPanel and optionally releases the managed resources. /// </summary> /// <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param> protected override void Dispose(bool disposing) { // Check to see if Dispose has already been called. if (!this.disposed) { if (disposing) { this.parent = null; } } disposed = true; base.Dispose(disposing); }
/// <summary> /// Constructor for the StatusBarPanelCollection class /// </summary> /// <param name="parent">The StatusBarEx owning the collection of StatusBarPanels</param> public StatusBarPanelCollection(StatusBarEx parent) { panelList = new ArrayList(); this.parent = parent; }
/// <summary> /// Constructor for the StatusBarPanelCollection class /// </summary> /// <param name="parent">The StatusBarEx owning the collection of StatusBarPanels</param> public StatusBarPanelCollection(StatusBarEx parent) { panelList = new ArrayList(); this.parent = parent; }