VB.NET Draw On Form Outside form1_paint() Function

In Visual Studio VB.net Form project you can draw on the form simple by doing this is the Form1_Paint function and then using the e As System.Windows.Forms.PaintEventArgs like this: Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint e.DrawImage(Image.FromFile(“background.png”), New PointF(0, 0))  End Sub To draw on the form outside of the form1_paint,

Read More