Question Code Window

Deepakkumar D

New member
Joined
Feb 1, 2009
Messages
4
Programming Experience
1-3
Hi,

I am new to .net. In java we write code to create a button, since vb.net is an IDE, we just drag and drop the control that we require. But there should be some code which generates automatically, whenever we drop a control on the form. How could we view those codes? , When i press F7 , the code window is diaplayed but it does not contains any code for the creation of controls that i have dropped on the form. Could anyone assist me how we view those codes?:confused:

Thanks,

Deepakkumar Devarajan.
 
Last edited by a moderator:
The designer-generated code is defined in a separate partial class, in a separate file. To view this file you can open the Solution Explorer and click the Show All Files button, expand the node for your form and then double-click the designer.vb file.

N.B. Do NOT edit this file if you are not absolutely sure of what you're doing. You may cause your form to stop working or prevent it opening in the designer.
 
By the way, I changed your thread title prefix from "FYI" to "Question". "FYI" stands for "For Your Information" and should be used only when you're providing information for others. If you're asking a question then the logical prefix should be "Question".
 
it happenned wiotout my knowledge

Sorry buddy,
I was dashing while submitting the thread, it happened jsut by mistake.

By the way, I changed your thread title prefix from "FYI" to "Question". "FYI" stands for "For Your Information" and should be used only when you're providing information for others. If you're asking a question then the logical prefix should be "Question".
 
Back
Top