|
-
Aug 17th, 2004, 09:24 AM
#1
Thread Starter
Addicted Member
Disappearing controls
Has anyone ever had a problem with controls disappearing off of forms when you compile the project? Mine is doing the same, for some reason.
The initialisation code is still in InitializeComponent, but for some reason the code that adds the control to the form is getting removed.
Any know what the problem could be? I'm using VS .NET 2003.
Using Visual Studio .NET 2005
-
Aug 17th, 2004, 10:17 AM
#2
Addicted Member
i've had similar. After deleting controls from the designer i still get the code to wire up events etc. left behind and i have to tidy it up manually.
guess its just 'one of those things'
-
Aug 18th, 2004, 06:10 AM
#3
Thread Starter
Addicted Member
Thanks for your reply, but this is different to what you describe. The compile is actually removing the controls from the form, it seems to be removing the code in the InitializeComponent function that adds the controls to the form (this.Controls.Add (..)). All the other code is left behind, and I can't work out why it is happening.
Using Visual Studio .NET 2005
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
|
Click Here to Expand Forum to Full Width
|