|
-
Feb 3rd, 2009, 04:52 AM
#1
Thread Starter
Member
[RESOLVED] rectangle
Hi,
Anyone know how to create a rectangle using VB code....?
I tried the coding below but the rectangle does not appear:
Dim testRect As New Rectangle
Dim testCanvas As New Canvas
Dim testGrid As New Grid
testGrid.Children.Add(testCanvas)
testCanvas.Children.Add(testRect)
testRect.RadiusX = 3
testRect.RadiusY = 3
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|