?? instruct.frm
字號:
VERSION 4.00
Begin VB.Form frmInstructBox
BorderStyle = 3 'Fixed Dialog
Caption = "Playing Instructions"
ClientHeight = 6030
ClientLeft = 3585
ClientTop = 3030
ClientWidth = 5550
Height = 6435
Left = 3525
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 6030
ScaleWidth = 5550
ShowInTaskbar = 0 'False
Top = 2685
Width = 5670
Begin VB.CommandButton cmdOK
Cancel = -1 'True
Caption = "OK"
BeginProperty Font
name = "MS Sans Serif"
charset = 0
weight = 700
size = 8.25
underline = 0 'False
italic = 0 'False
strikethrough = 0 'False
EndProperty
Height = 525
Left = 2190
TabIndex = 0
Top = 5280
Width = 1245
End
Begin VB.TextBox txtInstruct
Alignment = 2 'Center
BackColor = &H00C0C0C0&
BeginProperty Font
name = "MS Sans Serif"
charset = 0
weight = 700
size = 9.75
underline = 0 'False
italic = 0 'False
strikethrough = 0 'False
EndProperty
Height = 6015
Left = 0
MultiLine = -1 'True
TabIndex = 1
Top = 0
Width = 5535
End
End
Attribute VB_Name = "frmInstructBox"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Private Sub cmdOK_Click()
Unload Me
End Sub
Private Sub Form_Load()
Dim CRLF As String
CRLF = Chr$(13) & Chr$(10)
Dim Msg As String
Msg = CRLF & "Press F2 To Start a New Game." & CRLF & CRLF
Msg = Msg & "The object of the game is to mark all squares that contain mines. "
Msg = Msg & "This can be done by opening squares at random initially and then deducing if the surrounding squares could have potential mines. "
Msg = Msg & "If you open a square that contains a mine, you lose and the game ends. "
Msg = Msg & "If you open a square that displays a number, it indicates that there are so many mines in the 8 squares surrounding it. "
Msg = Msg & "To mark a mine, click on a square with the right mouse button. "
Msg = Msg & "To unmark the mine, clicking again on a marked square with the right mouse button, will display a ?, and yet again will diplay the original square. "
Msg = Msg & "This is helpful, if you are unsure about a particular square and wish to come back to it later. "
Msg = Msg & "You could then click the right mouse button twice on that square. This will display a ? on it. "
Msg = Msg & "To open a square, click on a square with the left mouse button."
txtInstruct = Msg
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -