SidebarLibrary.Menus.DrawCommand.DrawCommand C# (CSharp) Метод

DrawCommand() публичный Метод

public DrawCommand ( Rectangle drawRect, bool expansion ) : System
drawRect System.Drawing.Rectangle
expansion bool
Результат System
		public DrawCommand(Rectangle drawRect, bool expansion)
		{
			_row = -1;
			_col = -1;
			_mnemonic = '0';
			_enabled = true;
			_subMenu = false;
			_expansion = expansion;
			_separator = !expansion;
			_vertSeparator = !expansion;
			_chevron = false;
			_drawRect = drawRect;
			_command = null;
		}

Same methods

DrawCommand::DrawCommand ( MenuCommand command, Rectangle drawRect ) : System
DrawCommand::DrawCommand ( MenuCommand command, Rectangle drawRect, int row, int col ) : System
DrawCommand::DrawCommand ( Rectangle drawRect ) : System