This code will Draw a Rectangle on a form
This code will Draw a Rectangle on a form
API Declarations
Dim myRectangle as Rectangle
Dim myPen as new pen(color.Blue) 'pen color
Rate This code will Draw a Rectangle on a form
(1(1 Vote))
myGraphics=Graphics.fFormhwnd(Panel1.Handle)
myRectangle=new Ractange(x:=5, y:=5, width:=10,height:=40)
myGraphics.DrawRectangle(pen:=myPen, rect:=myRectangle)
This code will Draw a Rectangle on a form Comments
No comments yet — be the first to post one!
Post a Comment