c sharp user control
-
I have one Form with panel added to it. I have separate user control which display the rectangle.Now I have to add this user control to the form panel.I added it, but it not showing the rectangle.
-
I have one Form with panel added to it. I have separate user control which display the rectangle.Now I have to add this user control to the form panel.I added it, but it not showing the rectangle.
How are you drawing the rectangle? Without seeing the code in the user control it's just about impossible to tell you anything useful.
A guide to posting questions on CodeProject
Click this: Asking questions is a skill. Seriously, do it.
Dave Kreskowiak -
I have one Form with panel added to it. I have separate user control which display the rectangle.Now I have to add this user control to the form panel.I added it, but it not showing the rectangle.
This is either a Windows Forms or WPF issue. Not really C# Please use the correct forum.
A positive attitude may not solve every problem, but it will annoy enough people to be worth the effort.
-
I have one Form with panel added to it. I have separate user control which display the rectangle.Now I have to add this user control to the form panel.I added it, but it not showing the rectangle.
To make sense of this, we need to know what you mean by "the rectangle:" is that created by your use of the Paint Event in the UserControl ? If you place the UserControl on a Form do you see the "rectangle:" have you ever observed the "rectangle" being drawn as you would like it drawn ?
«To kill an error's as good a service, sometimes better than, establishing new truth or fact.» Charles Darwin in "Prospero's Precepts"
-
This does not make any sense.
There are only 10 types of people in the world, those who understand binary and those who don't.
Your reply is perfect. Especially the joke about the 10 types of people. :laugh: