M
Mark Poppers
Assume the following sequence of user actions starting with a Form and an e.g. StatusStrip:
1.) User doubleclicks on the StatusStrip
2.) VisualStudio jumps to the new generated source code
mystatusstrip_itemClicked() { ..... }
3.) The user deletes this function from source code (because he decide not to add such an event)
4.) "Rebuild of source code"
5.) An error appears:
mynamespace.Form1 does not contain a defintion for "mystatsustrip_itemClicked"
Obvisouly the DoubleClick inserts not only a function in the user source code but also
a reference in the Form1.Designer code.
How do I let VS 2005 automatically remove (resp. synchronize) not existing
function calls in Form1.Designer code ?
Mark
1.) User doubleclicks on the StatusStrip
2.) VisualStudio jumps to the new generated source code
mystatusstrip_itemClicked() { ..... }
3.) The user deletes this function from source code (because he decide not to add such an event)
4.) "Rebuild of source code"
5.) An error appears:
mynamespace.Form1 does not contain a defintion for "mystatsustrip_itemClicked"
Obvisouly the DoubleClick inserts not only a function in the user source code but also
a reference in the Form1.Designer code.
How do I let VS 2005 automatically remove (resp. synchronize) not existing
function calls in Form1.Designer code ?
Mark