Visual Basic Powerpacks Vs -
Take the weekend to refactor. Your future self (and your users on 4K monitors) will thank you. What are your experiences migrating off legacy WinForms controls? Let me know in the comments below.
Private Sub Form1_Paint(sender As Object, e As PaintEventArgs) Handles MyBase.Paint Using pen As New Pen(Color.Red, 2) e.Graphics.DrawRectangle(pen, New Rectangle(10, 10, 100, 50)) End Using End Sub Stop using Visual Basic PowerPacks. visual basic powerpacks vs
' Requires dragging a RectangleShape from the toolbox. RectangleShape1.BorderColor = Color.Red RectangleShape1.Size = New Size(100, 50) Take the weekend to refactor