1
Reply

Resize a Rectangle at runtime

ugp

ugp

May 25 2007 10:44 AM
7.2k
I need to resize a Rectangle at runtime. I draw the Retangle on the Form1_Paint(), but unable to resize itt.. Graphics graph = this.CreateGraphics(); Pen penCurrent = new Pen(Color.Red); Rect = new Rectangle(300, 50, 150, 75); graph.DrawRectangle(penCurrent, Rect); need some help!

Answers (1)