vb实现矩形代码
(2011-09-23 16:35:43)
标签:
杂谈 |
Option Explicit
Dim xx As
Integer
Dim yy As
Integer
Private Sub
Form_MouseDown(Button As
Integer, Shift
As Integer,
X As
Single, Y As
Single)
xx = X
yy = Y
End Sub
Private Sub
Form_MouseUp(Button As
Integer, Shift
As Integer,
X As
Single, Y As
Single)
Line (xx,
yy)-(X, Y), ,
B
End Sub
二,
Option Explicit
Dim xx As
Integer
Dim yy As
Integer
Private Sub
Form_MouseMove(Button As
Integer, Shift
As Integer,
X As
Single, Y As
Single)
Line (xx,
yy)-(X, Y), ,
B
End Sub
后一篇:vb 远程获取对方的硬盘信息