public static bool ShowBreakpointProperties(Breakpoint bp, bool editNew) { var dlg = new BreakpointPropertiesDialog(bp, editNew); if (MessageService.ShowCustomDialog(dlg) == (int)Gtk.ResponseType.Ok) { return(true); } return(false); }
public static bool ShowBreakpointProperties(ref BreakEvent bp, BreakpointType breakpointType = BreakpointType.Location) { using (var dlg = new BreakpointPropertiesDialog(bp, breakpointType)) { Xwt.Command response = dlg.Run(); if (bp == null) { bp = dlg.GetBreakEvent(); } return(response == Xwt.Command.Ok); } }
public static bool ShowBreakpointProperties (Breakpoint bp, bool editNew) { var dlg = new BreakpointPropertiesDialog (bp, editNew); if (MessageService.ShowCustomDialog (dlg) == (int) Gtk.ResponseType.Ok) return true; return false; }
public static bool ShowBreakpointProperties (ref BreakEvent bp, BreakpointType breakpointType = BreakpointType.Location) { using (var dlg = new BreakpointPropertiesDialog (bp, breakpointType)) { Xwt.Command response = dlg.Run (); if (bp == null) bp = dlg.GetBreakEvent (); return response == Xwt.Command.Ok; } }