-
January 10th, 2008, 05:10 AM
#1
Junior Member
-
January 11th, 2008, 01:24 AM
#2
Firstly does it compile? (I suspect the answer is yes if you can view the designer at all). The solution explorer in the new image looks fine...have you maybe got the two images mixed up?
How did you copy the old code? Did you just copy the MainForm.cs file, or did you copy both MainForm.cs and MainForm.Designer.cs?
In case you don't understand the way it works, MainForm is declared as a partial class. This means that its code is split across multiple files. One of the advantages of this is that it means that the Designer can generate code into MainForm.Designer.cs without affecting your logic in MainForm.cs and vice-versa. When you view the Designer it actually compiles and instantiates your code (I think), which means that if you can't see the controls they're either not there or are not visible.
If you go to the properties window when you are in the Designer, you should be able to click the combo box at the top of it to get a list of the controls that are present - a better way is to look at the outline view of your control (which shows stuff like how the controls are layered, etc).
Hope that helps,
ac
Similar Threads
-
By HTRegz in forum Site Feedback/Questions/Suggestions
Replies: 2
Last Post: July 13th, 2004, 02:00 PM
-
By allenb1963 in forum Miscellaneous Security Discussions
Replies: 13
Last Post: July 10th, 2004, 05:15 AM
-
By SDK in forum Miscellaneous Security Discussions
Replies: 0
Last Post: March 8th, 2004, 04:52 PM
-
Replies: 1
Last Post: July 15th, 2002, 03:46 AM
-
By blayde in forum Web Development
Replies: 11
Last Post: November 25th, 2001, 05:03 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|