VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "VB6 例10-01a 改变坐标系统后产生的影响"
   ClientHeight    =   3195
   ClientLeft      =   2580
   ClientTop       =   1890
   ClientWidth     =   5505
   LinkTopic       =   "Form1"
   ScaleHeight     =   3195
   ScaleWidth      =   5505
   Begin VB.CommandButton Command2 
      Caption         =   "用户定义"
      Height          =   495
      Left            =   4140
      TabIndex        =   1
      Top             =   2100
      Width           =   1215
   End
   Begin VB.CommandButton Command1 
      Caption         =   "缺省坐标"
      Height          =   495
      Left            =   4140
      TabIndex        =   0
      Top             =   1560
      Width           =   1215
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Command1_Click()
    Cls
    Scale                                   ' 采用缺省坐标系
    Line (0, 0)-(1000, 1000)
End Sub

Private Sub Command2_Click()
    Cls
    Form1.Scale (0, 1000)-(1000, 0)        ' 定义用户坐标系
    Line (0, 0)-(1000, 1000)
End Sub


