public override void ActivateItem () { byte[] blob = DataObject as byte[]; Gdk.Pixbuf pixbuf = null; try { pixbuf = new Gdk.Pixbuf (blob); } catch {} using (ShowImageDialog dlg = new ShowImageDialog (pixbuf)) dlg.Run (); }
public override void ActivateItem() { byte[] blob = DataObject as byte[]; Gdk.Pixbuf pixbuf = null; try { pixbuf = new Gdk.Pixbuf(blob); } catch {} using (ShowImageDialog dlg = new ShowImageDialog(pixbuf)) dlg.Run(); }