Use a partial class.

Signature
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com
Yep. I know that.
But the current code is all mixed up - programmers code with auto generated
code.
Is there a workaround to automatically remove the auto generated code or
regenerate it?
Thanks.
> Use a partial class.
>
[quoted text clipped - 8 lines]
>>
>> Thanks.
<ctacke/> - 13 Aug 2007 19:50 GMT
Make any change in the designer. It should completely wipe out the
InitializeComponent method (which is why you shouldn't put code in there in
the first place) and replace it with the designer-generated code.

Signature
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com
> Yep. I know that.
> But the current code is all mixed up - programmers code with auto
[quoted text clipped - 16 lines]
>>>
>>> Thanks.