VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "VB6 例10-2 当前坐标"
   ClientHeight    =   2130
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   3915
   LinkTopic       =   "Form1"
   ScaleHeight     =   2130
   ScaleWidth      =   3915
   StartUpPosition =   3  '窗口缺省
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Form_Click()
    Dim i As Integer
    Randomize
    For i = 1 To 100
        CurrentX = Form1.Width * Rnd
        CurrentY = Form1.Height * Rnd
        Print "★"
    Next i
End Sub
