mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 21:43:24 -07:00
Added a link to a Microsoft support link for Bug [#1420] in the exception, might still be good if we can change the bug for so it is more clear what can be done...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2465 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
351e4f96d4
commit
190578953c
2 changed files with 8 additions and 2 deletions
|
@ -325,7 +325,13 @@ namespace Greenshot {
|
||||||
//
|
//
|
||||||
// The InitializeComponent() call is required for Windows Forms designer support.
|
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||||
//
|
//
|
||||||
|
try {
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
} catch (ArgumentException ex) {
|
||||||
|
// Added for Bug #1420, this doesn't solve the issue but maybe the user can do something with it.
|
||||||
|
ex.Data.Add("more information here", "http://support.microsoft.com/kb/943140");
|
||||||
|
throw ex;
|
||||||
|
}
|
||||||
this.notifyIcon.Icon = GreenshotPlugin.Core.GreenshotResources.getGreenshotIcon();
|
this.notifyIcon.Icon = GreenshotPlugin.Core.GreenshotResources.getGreenshotIcon();
|
||||||
this.Icon = GreenshotPlugin.Core.GreenshotResources.getGreenshotIcon();
|
this.Icon = GreenshotPlugin.Core.GreenshotResources.getGreenshotIcon();
|
||||||
|
|
||||||
|
|
|
@ -130,7 +130,7 @@ namespace Greenshot.Helpers {
|
||||||
foreach (object key in ex.Data.Keys) {
|
foreach (object key in ex.Data.Keys) {
|
||||||
object data = ex.Data[key];
|
object data = ex.Data[key];
|
||||||
if (data != null) {
|
if (data != null) {
|
||||||
report.AppendLine(key + " = " + data);
|
report.AppendLine(key + " : " + data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue