?? form4.frm
字號:
VERSION 5.00
Begin VB.Form Form4
BackColor = &H80000008&
BorderStyle = 1 'Fixed Single
ClientHeight = 8910
ClientLeft = 45
ClientTop = 435
ClientWidth = 11325
LinkTopic = "Form4"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 8910
ScaleWidth = 11325
StartUpPosition = 3 'Windows Default
Begin VB.Timer Timer6
Left = 360
Top = 720
End
Begin VB.Timer Timer5
Interval = 100
Left = 1560
Top = 2280
End
Begin VB.Timer Timer4
Interval = 100
Left = 1200
Top = 2280
End
Begin VB.Timer Timer3
Interval = 100
Left = 840
Top = 2280
End
Begin VB.Timer Timer2
Interval = 100
Left = 480
Top = 2280
End
Begin VB.Timer Timer1
Interval = 100
Left = 120
Top = 2280
End
Begin VB.Frame Frame5
BackColor = &H00C0C0C0&
Caption = "Stop"
BeginProperty Font
Name = "Arial Black"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 1335
Left = 3600
TabIndex = 9
Top = 2280
Width = 3495
Begin VB.Label Label1
Alignment = 2 'Center
BackColor = &H00C0C0C0&
Caption = "STOP"
BeginProperty Font
Name = "Arial Black"
Size = 21.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 495
Left = 600
TabIndex = 10
Top = 480
Width = 1935
End
End
Begin VB.Frame Frame4
BackColor = &H00C0C0C0&
Caption = "Reverse"
BeginProperty Font
Name = "Arial Black"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 2895
Left = 4680
TabIndex = 8
Top = 840
Width = 1575
Begin VB.Line Line9
BorderColor = &H0000C000&
BorderWidth = 15
X1 = 840
X2 = 1200
Y1 = 600
Y2 = 960
End
Begin VB.Line Line8
BorderColor = &H0000C000&
BorderWidth = 15
X1 = 480
X2 = 855
Y1 = 960
Y2 = 600
End
Begin VB.Line Line7
BorderColor = &H0000C000&
BorderWidth = 15
X1 = 840
X2 = 840
Y1 = 600
Y2 = 2400
End
End
Begin VB.Frame Frame3
BackColor = &H00C0C0C0&
Caption = "Forward"
BeginProperty Font
Name = "Arial Black"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 2895
Left = 4680
TabIndex = 7
Top = 6360
Width = 1575
Begin VB.Line Line6
BorderColor = &H0000C000&
BorderWidth = 15
X1 = 960
X2 = 720
Y1 = 2160
Y2 = 2400
End
Begin VB.Line Line5
BorderColor = &H0000C000&
BorderWidth = 15
X1 = 480
X2 = 720
Y1 = 2160
Y2 = 2400
End
Begin VB.Line Line4
BorderColor = &H0000C000&
BorderWidth = 15
X1 = 720
X2 = 720
Y1 = 720
Y2 = 2400
End
End
Begin VB.Frame Frame2
BackColor = &H00C0C0C0&
Caption = "Head Movement"
BeginProperty Font
Name = "Arial Black"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 1335
Left = 6960
TabIndex = 6
Top = 4440
Width = 3255
Begin VB.Label Label2
BackColor = &H00C0C0C0&
Caption = "Head Movement"
BeginProperty Font
Name = "Arial Black"
Size = 15.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 615
Left = 240
TabIndex = 11
Top = 600
Width = 3015
End
End
Begin VB.Frame Frame1
BackColor = &H00C0C0C0&
Caption = "Left"
BeginProperty Font
Name = "Arial Black"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 1335
Left = 720
TabIndex = 5
Top = 4320
Width = 3255
Begin VB.Line Line3
BorderColor = &H0000C000&
BorderWidth = 15
X1 = 720
X2 = 960
Y1 = 720
Y2 = 960
End
Begin VB.Line Line2
BorderColor = &H0000C000&
BorderWidth = 15
X1 = 720
X2 = 960
Y1 = 720
Y2 = 480
End
Begin VB.Line Line1
BorderColor = &H0000C000&
BorderWidth = 15
X1 = 720
X2 = 2520
Y1 = 720
Y2 = 720
End
End
Begin VB.CommandButton Command5
Caption = "STOP"
BeginProperty Font
Name = "Arial Black"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 4680
TabIndex = 4
Top = 4800
Width = 1575
End
Begin VB.CommandButton Command4
Caption = "Left"
BeginProperty Font
Name = "Arial Black"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 1455
Left = 4200
TabIndex = 3
Top = 4320
Width = 495
End
Begin VB.CommandButton Command3
Caption = "Head Mnt"
BeginProperty Font
Name = "Arial Black"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 1455
Left = 6240
TabIndex = 2
Top = 4320
Width = 615
End
Begin VB.CommandButton Command2
Caption = "Reverse"
BeginProperty Font
Name = "Arial Black"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 4680
TabIndex = 1
Top = 3840
Width = 1575
End
Begin VB.CommandButton Command1
Caption = "Forward"
BeginProperty Font
Name = "Arial Black"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 4680
TabIndex = 0
Top = 5760
Width = 1575
End
End
Attribute VB_Name = "Form4"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Timer1.Enabled = True
Timer2.Enabled = False
Timer3.Enabled = False
Timer4.Enabled = False
Timer5.Enabled = False
End Sub
Private Sub Command2_Click()
Timer1.Enabled = False
Timer2.Enabled = True
Timer3.Enabled = False
Timer4.Enabled = False
Timer5.Enabled = False
End Sub
Private Sub Command3_Click()
Timer1.Enabled = False
Timer2.Enabled = False
Timer3.Enabled = True
Timer4.Enabled = False
Timer5.Enabled = False
End Sub
Private Sub Command4_Click()
Timer1.Enabled = False
Timer2.Enabled = False
Timer3.Enabled = False
Timer4.Enabled = True
Timer5.Enabled = False
End Sub
Private Sub Command5_Click()
Timer1.Enabled = False
Timer2.Enabled = False
Timer3.Enabled = False
Timer4.Enabled = False
Timer5.Enabled = True
End Sub
Private Sub Form_Load()
Frame1.Visible = False
Frame2.Visible = False
Frame3.Visible = False
Frame4.Visible = False
Frame5.Visible = False
Timer1.Enabled = False
Timer2.Enabled = False
Timer3.Enabled = False
Timer4.Enabled = False
Timer5.Enabled = False
End Sub
Private Sub Form_Unload(Cancel As Integer)
Form1.MSComm1.Output = "{5B00}"
Timer1.Enabled = False
Timer2.Enabled = False
Timer3.Enabled = False
Timer4.Enabled = False
Timer5.Enabled = False
End Sub
Private Sub Timer1_Timer()
Form1.MSComm1.Output = "{5B01}"
Frame3.Visible = True
Frame1.Visible = False
Frame2.Visible = False
Frame4.Visible = False
Frame5.Visible = False
End Sub
Private Sub Timer2_Timer()
Form1.MSComm1.Output = "{5B02}"
Frame4.Visible = True
Frame1.Visible = False
Frame2.Visible = False
Frame3.Visible = False
Frame5.Visible = False
End Sub
Private Sub Timer3_Timer()
Form1.MSComm1.Output = "{5B04}"
Frame2.Visible = True
Frame1.Visible = False
Frame3.Visible = False
Frame4.Visible = False
Frame5.Visible = False
End Sub
Private Sub Timer4_Timer()
Form1.MSComm1.Output = "{5B08}"
Frame1.Visible = True
Frame2.Visible = False
Frame3.Visible = False
Frame4.Visible = False
Frame5.Visible = False
End Sub
Private Sub Timer5_Timer()
Form1.MSComm1.Output = "{5B00}"
Frame5.Enabled = True
Frame1.Visible = False
Frame2.Visible = False
Frame3.Visible = False
Frame4.Visible = False
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -