System.Windows.Forms.MenuItem.CommonConstructor C# (CSharp) Method

CommonConstructor() private method

private CommonConstructor ( string text ) : void
text string
return void
		private void CommonConstructor (string text)
		{
			CreateHandle();
			defaut_item = false;
			separator = false;
			break_ = false;
			bar_break = false;
			checked_ = false;
			radiocheck = false;
			enabled = true;
			showshortcut = true;
			visible = true;
			ownerdraw = false;
			menubar = false;
			menuheight = 0;
			xtab = 0;
			index = -1;
			mnemonic = '\0';
			menuid = -1;
			mergeorder = 0;
			mergetype = MenuMerge.Add;
			Text = text;	// Text can change separator status
			helper.Title = text;
		}
	}