robbremington
Member
- Joined
- Jan 6, 2003
- Messages
- 17
This sub draws a line on the panel
Code:
Private Sub Panel1_Paint(ByVal sender As System.Object,
ByVal e As System.Windows.Forms.PaintEventArgs)
Handles Panel1.Paint
Dim blackPen As New Pen(Color.Black, 3)
e.Graphics.DrawLine(blackPen, 50, 100, 150, 200)
End Sub
Private Sub Button1_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Button1.Click
What CODE do I put here to also draw a line on the
PANEL??????
End Sub
Last edited by a moderator: