Esempio 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);
        }
Esempio 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);
     }
 }
Esempio 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;
		}
Esempio 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;
			}
		}