?? rest.frm
字號(hào):
VERSION 5.00
Begin VB.Form rest
BorderStyle = 1 'Fixed Single
Caption = "Well, human need rest,doesn't it?"
ClientHeight = 8205
ClientLeft = 45
ClientTop = 435
ClientWidth = 10515
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
Picture = "rest.frx":0000
ScaleHeight = 8623.181
ScaleMode = 0 'User
ScaleWidth = 10854.67
StartUpPosition = 1 '所有者中心
Visible = 0 'False
Begin VB.PictureBox p2
Height = 2010
Left = 8400
Picture = "rest.frx":1F0F8
ScaleHeight = 1950
ScaleWidth = 1950
TabIndex = 3
Top = 120
Width = 2010
End
Begin VB.PictureBox p1
Height = 2010
Left = 120
Picture = "rest.frx":209B9
ScaleHeight = 1950
ScaleWidth = 1950
TabIndex = 2
Top = 120
Width = 2010
End
Begin VB.PictureBox p3
Height = 2010
Left = 120
Picture = "rest.frx":2839B
ScaleHeight = 1950
ScaleWidth = 1950
TabIndex = 1
Top = 6120
Width = 2010
End
Begin VB.PictureBox p4
Height = 2010
Left = 8400
Picture = "rest.frx":29F71
ScaleHeight = 1950
ScaleWidth = 1950
TabIndex = 0
Top = 6120
Width = 2010
End
Begin VB.Image Rstop
Height = 750
Left = 5760
Picture = "rest.frx":2BAD3
Top = 7200
Width = 1650
End
Begin VB.Image Rgoon
Height = 750
Left = 3120
Picture = "rest.frx":30609
Top = 7200
Width = 1650
End
End
Attribute VB_Name = "rest"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Rgoon_Click()
welcome.MSComm1.Output = Chr$(&H1&)
rest.Hide
RunFlag = True
End Sub
Private Sub Rstop_Click()
welcome.MSComm1.Output = Chr$(&H2&)
rest.Hide
danger.Hide
safe.Hide
track.Hide
welcome.Show
RunFlag = False
End Sub
'下面的代碼是所有均是實(shí)現(xiàn)按鈕特效
Private Sub Rgoon_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Rgoon.Picture = LoadPicture("e:\pic\rgmd.jpg")
End Sub
Private Sub Rgoon_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Rgoon.Picture = LoadPicture("e:\pic\rgoon.jpg")
End Sub
Private Sub Rstop_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Rstop.Picture = LoadPicture("e:\pic\rsmd.jpg")
End Sub
Private Sub Rstop_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Rstop.Picture = LoadPicture("e:\pic\rstop.jpg")
End Sub
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -