TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kikx
NA
9
12.3k
Panel size problem
Aug 22 2012 2:49 PM
Hello
I am creating a paint project in C#/GDI+ as a college project. I have managed the most part of it, it is able to draw using a pen or draw different shapes on a panel using the MouseUp/Down/Move events.
The issue is that when the program starts running the form is approx. 800x400 pixels and the panel is docked in it and I can properly paint on all of the panel. When I maximize the form however, the panel is also resized but I can only draw on an area of the panel which would seem to be the same size as it was when the program originally was started.
Is there a way to ensure that I can draw on the whole panel after being maximized?
Thanks in advance!
Reply
Answers (
0
)
refresh the page in onclick event
Polygon fill not working properly