Fixed (hopefully) resource issues when changing something in the Designer

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1734 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-04-01 10:56:25 +00:00
commit c559fc3447
39 changed files with 284 additions and 302 deletions

View file

@ -67,8 +67,7 @@ namespace Greenshot.Destinations {
isOutlookUsed = true;
}
// Use default email icon
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ImageEditorForm));
mailIcon = ((System.Drawing.Image)(resources.GetObject("btnEmail.Image")));
mailIcon = GreenshotPlugin.Core.GreenshotResources.getImage("Email.Image");
if (isOutlookUsed) {
exePath = GetExePath("OUTLOOK.EXE");