예제 #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);
        }
예제 #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);
     }
 }
예제 #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;
		}
예제 #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;
			}
		}