public ExceptionCaughtMiniButton(ExceptionCaughtMessage dlg, FilePath file, int line) { this.dlg = dlg; OffsetX = 6; File = file; Line = line; }
public static void ShowExceptionCaughtDialog() { var ops = session.EvaluationOptions.Clone(); ops.MemberEvaluationTimeout = 0; ops.EvaluationTimeout = 0; ops.EllipsizeStrings = false; var val = CurrentFrame.GetException(ops); if (val != null) { HideExceptionCaughtDialog(); exceptionDialog = new ExceptionCaughtMessage(val, CurrentFrame.SourceLocation.FileName, CurrentFrame.SourceLocation.Line, CurrentFrame.SourceLocation.Column); if (CurrentFrame.SourceLocation.FileName != null) { exceptionDialog.ShowButton(); } else { exceptionDialog.ShowDialog(); } exceptionDialog.Closed += (o, args) => exceptionDialog = null; } }
public ExceptionCaughtDialog(ExceptionInfo val, ExceptionCaughtMessage msg) { Title = GettextCatalog.GetString("Exception Caught"); ex = val; widget = new ExceptionCaughtWidget(val); this.msg = msg; VBox box = new VBox(); box.Spacing = 6; box.PackStart(widget, true, true, 0); HButtonBox buttonBox = new HButtonBox(); buttonBox.BorderWidth = 6; var copy = new Gtk.Button(GettextCatalog.GetString("Copy to Clipboard")); buttonBox.PackStart(copy, false, false, 0); copy.Clicked += HandleCopyClicked; var close = new Gtk.Button(GettextCatalog.GetString("Close")); buttonBox.PackStart(close, false, false, 0); close.Clicked += (sender, e) => msg.Close(); close.Activated += (sender, e) => msg.Close(); box.PackStart(buttonBox, false, false, 0); VBox.Add(box); DefaultWidth = 500; DefaultHeight = 350; box.ShowAll(); ActionArea.Hide(); }
public ExceptionCaughtButton(ExceptionInfo val, ExceptionCaughtMessage dlg) { this.exception = val; this.dlg = dlg; OffsetX = 6; closeSelImage = Gdk.Pixbuf.LoadFromResource("MonoDevelop.Close.Selected.png"); closeSelOverImage = Gdk.Pixbuf.LoadFromResource("MonoDevelop.Close.Selected.Over.png"); }
static void HideExceptionCaughtDialog() { if (exceptionDialog != null) { exceptionDialog.Dispose(); exceptionDialog = null; } }
public ExceptionCaughtButton(ExceptionInfo val, ExceptionCaughtMessage dlg, FilePath file, int line) { this.exception = val; this.dlg = dlg; OffsetX = 6; File = file; Line = line; closeSelImage = ImageService.GetIcon("md-popup-close", IconSize.Menu); closeSelOverImage = ImageService.GetIcon("md-popup-close-hover", IconSize.Menu); }
public ExceptionCaughtDialog (ExceptionInfo ex, ExceptionCaughtMessage msg) { exception = ex; message = msg; Build (); UpdateDisplay (); exception.Changed += ExceptionChanged; }
public ExceptionCaughtDialog(ExceptionInfo ex, ExceptionCaughtMessage msg) { selected = exception = ex; message = msg; Build(); UpdateDisplay(); exception.Changed += ExceptionChanged; }
public ExceptionCaughtDialog (ExceptionInfo ex, ExceptionCaughtMessage msg) { this.ApplyTheme (); selected = exception = ex; message = msg; Build (); UpdateDisplay (); exception.Changed += ExceptionChanged; }
public ExceptionCaughtDialog (ExceptionInfo ex, ExceptionCaughtMessage msg) : base (WindowType.Toplevel) { this.Child = VBox = new VBox (); VBox.Show (); this.Name = "wizard_dialog"; this.ApplyTheme (); selected = exception = ex; message = msg; Build (); UpdateDisplay (); exception.Changed += ExceptionChanged; }
public ExceptionCaughtDialog(ExceptionInfo ex, ExceptionCaughtMessage msg) : base(WindowType.Toplevel) { this.Child = VBox = new VBox(); VBox.Show(); this.Name = "wizard_dialog"; this.ApplyTheme(); selected = exception = ex; message = msg; Build(); UpdateDisplay(); exception.Changed += ExceptionChanged; }
public ExceptionCaughtButton (ExceptionInfo val, ExceptionCaughtMessage dlg, FilePath file, int line) { this.exception = val; this.dlg = dlg; OffsetX = 6; File = file; Line = line; closeSelImage = ImageService.GetIcon ("md-popup-close", IconSize.Menu); closeSelOverImage = ImageService.GetIcon ("md-popup-close-hover", IconSize.Menu); }
public ExceptionCaughtDialog (ExceptionInfo val, ExceptionCaughtMessage msg) { Title = GettextCatalog.GetString ("Exception Caught"); ex = val; widget = new ExceptionCaughtWidget (val); this.msg = msg; VBox box = new VBox (); box.Spacing = 6; box.PackStart (widget, true, true, 0); HButtonBox buttonBox = new HButtonBox (); buttonBox.BorderWidth = 6; var copy = new Gtk.Button (GettextCatalog.GetString ("Copy to Clipboard")); buttonBox.PackStart (copy, false, false, 0); copy.Clicked += HandleCopyClicked; var close = new Gtk.Button (GettextCatalog.GetString ("Close")); buttonBox.PackStart (close, false, false, 0); close.Clicked += (sender, e) => msg.Close (); close.Activated += (sender, e) => msg.Close (); box.PackStart (buttonBox, false, false, 0); VBox.Add (box); DefaultWidth = 500; DefaultHeight = 350; box.ShowAll (); ActionArea.Hide (); }
public ExceptionCaughtMiniButton (ExceptionCaughtMessage dlg) { this.dlg = dlg; OffsetX = 6; }
public ExceptionCaughtMiniButton(ExceptionCaughtMessage dlg) { this.dlg = dlg; OffsetX = 6; }
public ExceptionCaughtButton (ExceptionInfo val, ExceptionCaughtMessage dlg, FilePath file, int line) { this.exception = val; this.dlg = dlg; OffsetX = 6; File = file; Line = line; closeSelImage = Gdk.Pixbuf.LoadFromResource ("MonoDevelop.Close.Selected.png"); closeSelOverImage = Gdk.Pixbuf.LoadFromResource ("MonoDevelop.Close.Selected.Over.png"); }
public static void ShowExceptionCaughtDialog () { var ops = session.EvaluationOptions.Clone (); ops.MemberEvaluationTimeout = 0; ops.EvaluationTimeout = 0; ops.EllipsizeStrings = false; var val = CurrentFrame.GetException (ops); if (val != null) { HideExceptionCaughtDialog (); exceptionDialog = new ExceptionCaughtMessage (val, CurrentFrame.SourceLocation.FileName, CurrentFrame.SourceLocation.Line, CurrentFrame.SourceLocation.Column); exceptionDialog.ShowButton (); exceptionDialog.Closed += (o, args) => exceptionDialog = null; } }
public ExceptionCaughtMiniButton (ExceptionCaughtMessage dlg, FilePath file, int line) { this.dlg = dlg; OffsetX = 6; File = file; Line = line; }
static void HideExceptionCaughtDialog () { if (exceptionDialog != null) { exceptionDialog.Dispose (); exceptionDialog = null; } }