Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
Scaling problem with user control at runtime
Chasse Court
Jun 27 2013 9:35 PM
1.1k
Reply
Hi,
I am new to c# and as a project decided to create a colour picker control, to test my code I wrote it in a vanilla form first and then copied the code into the control when I was sure it was working.
This results in a control that in design view shows absolutely nothing thus far but when the control is compiled you see a visual representation of the final result.
Here is the rub however; as I said the compiled control looks perfect when I place it on a form in the designer - but when I run the program the control on the form looks about 25% larger and due to this its right and bottom edges are clipped.
Now I have no idea why this is happening, can anyone tell me why and how to fix it?
Attachment:
code.zip
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
how to create a c# windows form setup with product key
how to implemnet scrolling news from xml in to asp.net page