MyControl.MyControl C# (CSharp) Method

MyControl() public method

public MyControl ( ) : System
return System
	public MyControl ()
	{
		this.SuspendLayout ();
		// 
		// _textBox
		// 
		_textBox = new TextBox ();
		_textBox.Anchor = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Right | AnchorStyles.Bottom;
		_textBox.Location = new Point (0, 0);
		_textBox.Multiline = true;
		_textBox.Size = new Size (60, 60);
		Controls.Add (_textBox);
		// 
		// MyControl
		// 
		BackColor = Color.Red;
		Size = new Size (292, 271);
		ResumeLayout (false);
		PerformLayout ();
	}
MyControl