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.

Answers (1)