Browse Source

Fixed typo - use MessageService.ShowError instead of non-existent MessageService.Show method.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@962 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Matt Ward 20 years ago
parent
commit
d6b8a0e642
  1. 4
      src/AddIns/Misc/RegExpTk/Project/Src/Dialogs/MainWindow.cs

4
src/AddIns/Misc/RegExpTk/Project/Src/Dialogs/MainWindow.cs

@ -225,7 +225,7 @@ namespace Plugins.RegExpTk { @@ -225,7 +225,7 @@ namespace Plugins.RegExpTk {
try {
Regex re = new Regex(((TextBox)ControlDictionary["RegularExpressionCompileTextBox"]).Text, options);
} catch (ArgumentException ae) {
MessageService.Show(ResourceService.GetString("RegExpTk.Messages.CreationError") + " " + ae.Message);
MessageService.ShowError(ResourceService.GetString("RegExpTk.Messages.CreationError") + " " + ae.Message);
return;
}
@ -243,7 +243,7 @@ namespace Plugins.RegExpTk { @@ -243,7 +243,7 @@ namespace Plugins.RegExpTk {
try {
Regex.CompileToAssembly(rciArray, asmName);
} catch (ArgumentException ae) {
MessageService.Show(ResourceService.GetString("RegExpTk.Messages.CompilationError") + " " + ae.Message);
MessageService.ShowError(ResourceService.GetString("RegExpTk.Messages.CompilationError") + " " + ae.Message);
}
string aboluteFileName = Path.GetFullPath(((TextBox)ControlDictionary["AssemblyFileCompileFileTextBox"]).Text);

Loading…
Cancel
Save