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
greg.dearment
NA
1
0
using graphics in windows forms
Aug 1 2004 3:08 AM
I am new to GDI+ and the graphics class. I read the tutorial on the C# corner site. In it, you declear the graphics class instance as: Graphics g = e.Graphics; (e being the EventArgs variable passed into the paint function) if i want to draw something when the form is resized, i like the resize event to "resize_draw" but the eventsarg no longer contains Graphics. How would i use the graphics class in this function? or is it not possible? Hope that made sence.
Reply
Answers (
1
)
Using DirectDraw...
Screen capture code shows a black square from NT service