Esempio n. 1
0
		public CommandBarManager()
		{
			this.SetStyle(ControlStyles.UserPaint, false);
			this.TabStop = false;
			this.Dock = DockStyle.Top;
			this.commandBars = new CommandBarCollection(this);
		}
Esempio n. 2
0
		protected override void Dispose(bool disposing)
		{
			if (disposing)
			{
				this.commandBars = null;
			}

			base.Dispose(disposing);
		}
Esempio n. 3
0
		protected override void Dispose(bool disposing)
		{
			System.Diagnostics.Debug.WriteLineIf(!disposing, "****** Missing Dispose() call for " + GetType().ToString() + " *******");
			if (disposing)
			{
				if (commandBars != null)
					commandBars.Dispose();
			}

			commandBars = null;
			base.Dispose(disposing);
		}