ugp

ugp

  • NA
  • 11
  • 0

Resize a Rectangle at runtime

May 25 2007 10:44 AM
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)