So I am a beginner with .NET, Visual Studio, C#, etc. But I am wondering something about the code behind a form and a difference I am seeing in 2008 versus 2005.
So lets say I have a simple Windows Form app, C#, and I throw a couple controls on it. Then I add some MessageBox.Show event handlers for the default events….in 2005 there is that little section within the code that is hidden that basically contains the code that ‘registers’ the controls with the system….I think. That may be a bad definition?? Basically I think that automatic code generated here just basically associates the event to the event handling code….anyway.
I can see this is 2005 (once I click the like gray box), but it does not appear anywhere in 2008. So this has to exist somewhere, and I just wanted to ask to be familiar with what is going on since I am new to this. I still have to figure out how to turn on the code line numbering in 2008, but I can google it.
Thanks for the help!
Justin
It’s in a separate
FormName.Designer.csfile using partial class: