Example #1
0
        public System.Windows.Forms.ToolStrip GetToolStrip(CommonToolStripsEnum toolStrip)
        {
            string name  = Enum.GetName(typeof(CommonToolStripsEnum), toolStrip);
            int    index = (int)toolStrip;

            return(GetToolStrip(name, index));
        }
Example #2
0
 public void AddToolStripSeparator(CommonToolStripsEnum toolStrip, CommonItemsEnum index)
 {
     AddToolStripSeparator(toolStrip, (int)index);
 }
Example #3
0
 public void AddToolStripSeparator(CommonToolStripsEnum toolStrip, int index)
 {
     AddToolStripButton(GetToolStrip(toolStrip), index, null, typeof(ToolStripSeparator));
 }
Example #4
0
 public ToolStripItem  AddToolStripButton(CommonToolStripsEnum toolStrip, CommonItemsEnum index, FreeCL.UI.Actions.Action action, Type buttonType)
 {
     return(AddToolStripButton(toolStrip, (int)index, action, buttonType));
 }
Example #5
0
 public ToolStripItem AddToolStripButton(CommonToolStripsEnum toolStrip, int index, FreeCL.UI.Actions.Action action, Type buttonType)
 {
     return(AddToolStripButton(GetToolStrip(toolStrip), index, action, buttonType));
 }
Example #6
0
 public System.Windows.Forms.ToolStrip GetToolStrip(CommonToolStripsEnum toolStrip)
 {
     string name = Enum.GetName(typeof(CommonToolStripsEnum), toolStrip);
     int index = (int)toolStrip;
     return GetToolStrip(name, index);
 }
Example #7
0
 public void AddToolStripSeparator(CommonToolStripsEnum toolStrip, CommonItemsEnum index)
 {
     AddToolStripSeparator(toolStrip, (int)index);
 }
Example #8
0
 public void AddToolStripSeparator(CommonToolStripsEnum toolStrip, int index)
 {
     AddToolStripButton(GetToolStrip(toolStrip), index, null, typeof(ToolStripSeparator));
 }
Example #9
0
 public ToolStripItem AddToolStripButton(CommonToolStripsEnum toolStrip, CommonItemsEnum index, FreeCL.UI.Actions.Action action, Type buttonType)
 {
     return AddToolStripButton(toolStrip, (int)index, action, buttonType);
 }
Example #10
0
 public ToolStripItem AddToolStripButton(CommonToolStripsEnum toolStrip, int index, FreeCL.UI.Actions.Action action, Type buttonType)
 {
     return AddToolStripButton(GetToolStrip(toolStrip), index, action, buttonType);
 }