Hi. I'm new to VS2008, and I am finding something rather annoying. If I have a form, say Form1.cs, I wanted to make a textbox control on the form do something when double clicked. I double clicked the textbox in the design mode and it created a "textchanged" event... not what I wanted. So I figured I'd just add the eventhandler manually. I expanded Form1.cs in the solution explorer and right clicked Form1.Designer.cs and hit View Code. What I got though didn't have the control creation code. I thought OK, that's weird.
I went and deleted the textbox1_TextChanged function it created then did a build to cause it to trip a fault. When I double clicked the fault, it opened Form1.Designer.cs code and there was all the code I was looking for. I made the change, saved it, closed it. Right clicked it again, View Code, there it all is. Cool.
Now several minutes later I right clicked it, View Code, and I'm back to the basic short code list w/o the controls. WTF??? Augh this is annoying.