designer deletes controls

  • Thread starter Thread starter Al
  • Start date Start date
A

Al

Hi!

Can anyone give me some advice on how to prevent studio
designer from surprising deletion of the custom controls
from main form.
 
1. Try to modify Your object to avoid Designer errors (rather difficult)
2. Don't use Designer and ViewCode while modyfing object (in VS 2003)
3. Don't use Designer at all ...
Hi, AW
 
Make sure that the form is the first class declared in the .cs file.
I've read some posts saying that the designer does strange things
(including deleting controls) if you put another type declaration before
the form declaration.
 
Back
Top