No component code ?

  • Thread starter Thread starter Hemang Shah
  • Start date Start date
H

Hemang Shah

I'm creating a new form in visual studio 2005

I'm adding a component to it and when I go inside the form's code, there is
no code for that component

Is that feature changed ?

Where is the code now.
 
Hemang Shah said:
I'm creating a new form in visual studio 2005
I'm adding a component to it and when I go inside the
form's code, there is no code for that component
Is that feature changed ?
Where is the code now.

..NET 2.0 supports one class split across several files (with "partial"
keyword), and that's what is happening here.

Expand the form in Solution Explorer by clicking the [+] button. VS
2005 puts the Designer-generated code in a separate file to keep it
out of the way.

Eq.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top