URGENT: Bug in VS.NET 2003

  • Thread starter Thread starter Tamir Khason
  • Start date Start date
T

Tamir Khason

Please help.
I know that there are a lot of developers suffer from this bug in VS.NET. I
know to ho reproduce it quickly!!!
BUG: Code disappear when moving from code to design time and compiling
REPRODUCTION:
1.- Create a windows forms application (I've just tested C#)
2.- Create a new usercontrol and compile
3.- Create an inherited usercontrol from the first one
4.- put a panel into the usercontrol2
5.- put a button into the panel
6.- now, without hiding the usercontrol2 design window do a build

MSFT + MVP PLEASE HELP !!!
I'll open MSDN issue as well
 
Tamir:

I just did it with VS 2003 and I created both controls within the same
project following your instructions exactly, one where I created
Usercontrol1 externally and built the inherited control inside project one.
At each step of the way I put the exact same code
"MessageBox.Show("Something")" in the form's load event, in the
usercontrol's constuctor, in the button's click event and in the panel's
paint event. I tried every way i could to recreate this and I can't get it
to happen, none of my code is disappearing.

Anyone else?
 
Back
Top