title: Graphically template a .NET winforms application
body: <p>I created a pretty fancy winforms app for my company.  We had a graphic designer create the GUI, which was a pain to implement, all graphical buttons, lots of layered backgrounds and logos, animations, etc.</p>
  
  <p>But now my company wants to resell it under different brands.  But since I <em>mostly</em> coded it well, I told my higher ups I could have a totally rebranded version done in under a week.  Basically all I would do is change a bunch of settings in an xml settings file, swap out the graphics with a new set, and build.</p>
  
  <p>Problem is if they want 5 or 6 different brands, I'd have 5 different builds to support (I really should be supporting 1, with diff templates)</p>
  
  <p>The problem is its not easy (as far as I know) to swap out the images in a winforms app.  I have all the graphical resources in a single folder, but once each file is entered into its respective image list or container in visual studio, the only way to get it to update is to remove it and re-add it, changing the source folder doesnt cause the embedded image to refresh.  This would be incredibly tedious for each build, there has got to be an easier way.</p>
  
  <p><strong>Add On:</strong><br>
  So after some further investigation, I am leaning torwards some sort of resx file editor.  However the ones I have seen so far are more focused on translating strings to various languages, and are either very weak, or can not at all edit binary resources like bitmaps/png's.  Though if you open a resx file in an xml viewer (I use notepad 2 with .resx set to use xml sytax highlighting) MS is kind enough to tell you exactly how each type is compiled (mostly variations of base 64)</p>