public void InsertItem(int index, IToolbarItemBackend item) { var control = item.ToSwf() as SWF.ToolStripItem; control.Font = Control.Font; Control.Items.Insert(index, control); }
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()); }