示例#1
0
 /// <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;
 }
示例#2
0
        /// <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);
        }
示例#3
0
			/// <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;
			}
示例#4
0
 /// <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;
 }