vb.net graphic 简单的画图程序
Dim g As Graphics = Me.CreateGraphics需要局部定义 每次实用需要定义--不能定义成全局 Public Class Form1 Dim DrawState As Boolean Dim PreX As Single Dim PreY As Single Dim eP As New Pen(Color.Black