Beispiel #1
0
        public void InsertItem(int index, IToolbarItemBackend item)
        {
            var control = item.ToSwf() as SWF.ToolStripItem;

            control.Font = Control.Font;
            Control.Items.Insert(index, control);
        }
Beispiel #2
0
        public void RemoveItem(IToolbarItemBackend item)
        {
            var control = item.ToSwf() as SWF.ToolStripItem;

            Control.Items.Remove(control);
        }
 public void RemoveItem(IToolbarItemBackend backend)
 {
     Control.DropDownItems.Remove(backend.ToSwf());
 }
 public void InsertItem(int index, IToolbarItemBackend backend)
 {
     Control.DropDownItems.Insert(index, backend.ToSwf());
 }