public static Gtk.ToolItem ToGtk(this LVV.IToolbarItemBackend backend) { var vb = backend as IGtkBackend; if (vb != null) { return((Gtk.ToolItem)vb.Widget); } return(backend as Gtk.ToolItem); }
public static SWF.ToolStripItem ToSwf(this LVV.IToolbarItemBackend backend) { var swfBackend = backend as ISwfToolStripItemBackend; if (swfBackend != null) { return(swfBackend.Control); } return(backend as SWF.ToolStripItem); }