|
-
Jul 27th, 2004, 10:08 AM
#1
Thread Starter
Addicted Member
User Control designer disappeared?!
I've been creating a nice little User Control all day. I've just loaded the project back up and my new little control has... ... well, it's gone.
The .cs file is there, including all of the code. But when I go to the designer, the user control's 'canvas' (if that's the appropriate term) has disappeared, and the controls (labels, picture boxes, and such) are all just listed out!
If there any way I can fix this? Please, if you're not sure what I mean then ask and I'll elaborate
Last edited by Barguast; Jul 27th, 2004 at 03:54 PM.
Using Visual Studio .NET 2005
-
Jul 27th, 2004, 04:37 PM
#2
Sleep mode
I remember this happened once for me . What I did was something like this :
Changed inheriting from UserControl to something else (I think Label) . So did you make any change of this sort ?
-
Jul 27th, 2004, 05:48 PM
#3
Thread Starter
Addicted Member
Yes, it inherits from ContainerControl - changing it to UserControl does make it work, but it needs to be a container. Is this fixable? Incidently, the control does show up correctly in the test project, but I can't edit the control any further until this problem is fixed...
EDIT: I am doing this right, aren't I? If I want to place controls inside my control, it has to be derived from ContainerControl, doesn't it?
Last edited by Barguast; Jul 27th, 2004 at 07:11 PM.
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
|