Private Sub Form_Load()
left_c = 0
End Sub
Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 1 Then
left_c = 0
Else
If left_c = 0 Then
x1 = X
y1 = Y
left_c = 1
Else
x2 = X
y2 = Y
Picture1.Line (x1, y1)-(x2, y2)
End If
End If
End Sub作者:
12qw12qw 时间: 2008-10-7 11:20 标题: 运行可以但是没显示