System.Windows.Forms.ToolStripContainer.ToolStripContainer C# (CSharp) Method

ToolStripContainer() public method

public ToolStripContainer ( ) : System
return System
		public ToolStripContainer () : base ()
		{
			SetStyle (ControlStyles.SupportsTransparentBackColor, true);
			SetStyle (ControlStyles.ResizeRedraw, true);

			content_panel = new ToolStripContentPanel ();
			content_panel.Dock = DockStyle.Fill;
			this.Controls.Add (content_panel);

			this.top_panel = new ToolStripPanel ();
			this.top_panel.Dock = DockStyle.Top;
			this.top_panel.Height = 0;
			this.Controls.Add (top_panel);

			this.bottom_panel = new ToolStripPanel ();
			this.bottom_panel.Dock = DockStyle.Bottom;
			this.bottom_panel.Height = 0;
			this.Controls.Add (bottom_panel);

			this.left_panel = new ToolStripPanel ();
			this.left_panel.Dock = DockStyle.Left;
			this.left_panel.Width = 0;
			this.Controls.Add (left_panel);

			this.right_panel = new ToolStripPanel ();
			this.right_panel.Dock = DockStyle.Right;
			this.right_panel.Width = 0;
			this.Controls.Add (right_panel);
	}
		#endregion