public System.Windows.Forms.ToolStrip GetToolStrip(CommonToolStripsEnum toolStrip) { string name = Enum.GetName(typeof(CommonToolStripsEnum), toolStrip); int index = (int)toolStrip; return(GetToolStrip(name, index)); }
public void AddToolStripSeparator(CommonToolStripsEnum toolStrip, CommonItemsEnum index) { AddToolStripSeparator(toolStrip, (int)index); }
public void AddToolStripSeparator(CommonToolStripsEnum toolStrip, int index) { AddToolStripButton(GetToolStrip(toolStrip), index, null, typeof(ToolStripSeparator)); }
public ToolStripItem AddToolStripButton(CommonToolStripsEnum toolStrip, CommonItemsEnum index, FreeCL.UI.Actions.Action action, Type buttonType) { return(AddToolStripButton(toolStrip, (int)index, action, buttonType)); }
public ToolStripItem AddToolStripButton(CommonToolStripsEnum toolStrip, int index, FreeCL.UI.Actions.Action action, Type buttonType) { return(AddToolStripButton(GetToolStrip(toolStrip), index, action, buttonType)); }
public System.Windows.Forms.ToolStrip GetToolStrip(CommonToolStripsEnum toolStrip) { string name = Enum.GetName(typeof(CommonToolStripsEnum), toolStrip); int index = (int)toolStrip; return GetToolStrip(name, index); }
public ToolStripItem AddToolStripButton(CommonToolStripsEnum toolStrip, CommonItemsEnum index, FreeCL.UI.Actions.Action action, Type buttonType) { return AddToolStripButton(toolStrip, (int)index, action, buttonType); }
public ToolStripItem AddToolStripButton(CommonToolStripsEnum toolStrip, int index, FreeCL.UI.Actions.Action action, Type buttonType) { return AddToolStripButton(GetToolStrip(toolStrip), index, action, buttonType); }