[求助]在VB.net中如何在窗口中画线啊?
在VB6.0中可以在窗口中画线,但在中怎么画啊?
Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
Dim myGraphics As Graphics = e.Graphics
myGraphics.DrawLine(New Pen(Color.Blue), 10, 10, 100, 100)
End Sub