Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 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);
     }
 }
Ejemplo n.º 3
0
		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;
		}
Ejemplo n.º 4
0
		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;
			}
		}