I am new to visual basic 2017. I have managed to programmatically draw a vertical rectangle / line:
Code:
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim myPen As Pen
myPen = New Pen(Drawing.Color.Blue, 5)
Dim myGraphics As Graphics = Me.CreateGraphics
myGraphics.DrawRectangle(myPen, 100, 100, 1, 50)
End Sub
End Class
---------------
Is it possible to change its height by a user with the help of the mouse during runtime?
Thanks!!!!
Last edited by 2kaud; November 19th, 2017 at 08:08 AM.
I am new to visual basic 2017. I have managed to programmatically draw a vertical rectangle / line:
Code:
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim myPen As Pen
myPen = New Pen(Drawing.Color.Blue, 5)
Dim myGraphics As Graphics = Me.CreateGraphics
myGraphics.DrawRectangle(myPen, 100, 100, 1, 50)
End Sub
End Class
---------------
Is it possible to change its height by a user with the help of the mouse during runtime?
Thanks!!!!
Sorry for the late reply, but here is a small small sample
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.