Browse Source

Set ShowInTaskbar = true for assertions

pull/1012/head
Siegfried Pammer 8 years ago
parent
commit
6260647a77
  1. 1
      ILSpy/ILSpyTraceListener.cs

1
ILSpy/ILSpyTraceListener.cs

@ -95,6 +95,7 @@ namespace ICSharpCode.ILSpy @@ -95,6 +95,7 @@ namespace ICSharpCode.ILSpy
string[] buttonTexts = { "Throw", "Debug", "Ignore", "Ignore All" };
CustomDialog inputBox = new CustomDialog("Assertion Failed", message.TakeStartEllipsis(750), -1, 2, buttonTexts);
inputBox.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
inputBox.ShowInTaskbar = true; // make this window more visible, because it effectively interrupts the decompilation process.
try {
inputBox.ShowDialog();
return inputBox.Result;

Loading…
Cancel
Save