Christof Nordiek wrote:
Hi all,
is there a way to conditinally compile or exclude a Form.
If all the code of a class is from me, i could simply put the conditional
compilition
dirctive around the hole class, but this doesn't work, if the Designer part
is in a file
for itself like in VS2005
thanks
Just open the designer generated file and put the conditional
compilation symbols around that.
i.e. press the + button on the form and double click the
MyForm.designer.cs file, add your conditional compilation symbols round
that class and the normal MyForm.cs file.
The designer will leave those alone when rebuilding the class.