Hey!
I wanted to create a windows forms application that I can compile in a standard version and light version if a conditional compilation symbol is set. So first I created the standard version, then I created the light version using preprocessor directives
inside the frmMain.Designer.cs, unfortunately Visual Studio likes to automatically overwrite this file, and I lost my code that defined the GUI objects on the standard version.<br/>
<br/>
I was wondering whats the best/simplest way to change the GUI based on preprocessor symbols?
View the full article
I wanted to create a windows forms application that I can compile in a standard version and light version if a conditional compilation symbol is set. So first I created the standard version, then I created the light version using preprocessor directives
inside the frmMain.Designer.cs, unfortunately Visual Studio likes to automatically overwrite this file, and I lost my code that defined the GUI objects on the standard version.<br/>
<br/>
I was wondering whats the best/simplest way to change the GUI based on preprocessor symbols?
View the full article