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

ToolStripControlHost() public method

public ToolStripControlHost ( Control c ) : System.Drawing
c Control
return System.Drawing
		public ToolStripControlHost (Control c) : base ()
		{
			if (c == null)
				throw new ArgumentNullException ("c");

			this.RightToLeft = RightToLeft.No;
			this.control = c;
			this.control_align = ContentAlignment.MiddleCenter;
			this.control.TabStop = false;
			this.control.Resize += ControlResizeHandler;
			this.Size = DefaultSize;
			this.OnSubscribeControlEvents (this.control);
		}

Same methods

ToolStripControlHost::ToolStripControlHost ( Control c, string name ) : System.Drawing