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

@ -96,7 +96,7 @@ namespace Greenshot {
this.Icon = GreenshotPlugin.Core.GreenshotResources.getGreenshotIcon();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ImageEditorForm));
Image backgroundForTransparency = (Image)resources.GetObject("checkerboard.Image");
Image backgroundForTransparency = GreenshotPlugin.Core.GreenshotResources.getImage("Checkerboard.Image");
surface.TransparencyBackgroundBrush = new TextureBrush(backgroundForTransparency, WrapMode.Tile);
// Make sure Double-buffer is enabled
SetStyle(ControlStyles.DoubleBuffer | ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint, true);