📄 游戏前提.frm
字号:
VERSION 5.00
Begin VB.Form Form3
BackColor = &H0080FF80&
BorderStyle = 1 'Fixed Single
Caption = "游戏前提"
ClientHeight = 4620
ClientLeft = 45
ClientTop = 435
ClientWidth = 7080
LinkTopic = "Form3"
MaxButton = 0 'False
ScaleHeight = 4620
ScaleWidth = 7080
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command5
BackColor = &H0080FF80&
Caption = "退出"
BeginProperty Font
Name = "楷体_GB2312"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 5640
Style = 1 'Graphical
TabIndex = 8
Top = 3960
Width = 1215
End
Begin VB.CommandButton Command4
BackColor = &H0080FF80&
Caption = "清除"
BeginProperty Font
Name = "楷体_GB2312"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3720
Style = 1 'Graphical
TabIndex = 7
Top = 3960
Width = 1215
End
Begin VB.CommandButton Command3
BackColor = &H0080FF80&
Caption = "复制"
BeginProperty Font
Name = "楷体_GB2312"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1800
Style = 1 'Graphical
TabIndex = 6
Top = 3960
Width = 1215
End
Begin VB.TextBox Text1
Height = 3375
Left = 1800
Locked = -1 'True
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 2
Top = 480
Width = 5175
End
Begin VB.CommandButton Command2
BackColor = &H0080FF80&
Caption = "玩家守则"
BeginProperty Font
Name = "楷体_GB2312"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 360
Style = 1 'Graphical
TabIndex = 1
Top = 2520
Width = 1335
End
Begin VB.CommandButton Command1
BackColor = &H0080FF80&
Caption = "配置要求"
BeginProperty Font
Name = "楷体_GB2312"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 360
Style = 1 'Graphical
TabIndex = 0
Top = 1080
Width = 1335
End
Begin VB.Label Label3
Caption = $"游戏前提.frx":0000
Height = 1815
Left = 5160
TabIndex = 5
Top = 1080
Width = 1335
End
Begin VB.Label Label2
Caption = $"游戏前提.frx":48FB
Height = 1815
Left = 3480
TabIndex = 4
Top = 1080
Width = 1335
End
Begin VB.Label Label1
BackColor = &H0080FF80&
BeginProperty Font
Name = "楷体_GB2312"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 615
Left = 3600
TabIndex = 3
Top = 0
Width = 1455
End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Function GetSystemMenu Lib "user32" (ByVal hwnd As Long, ByVal bRevert As Long) As Long
Private Declare Function GetMenuItemCount Lib "user32" (ByVal hMenu As Long) As Long
Private Declare Function RemoveMenu Lib "user32" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFlags As Long) As Long
Private Declare Function DrawMenuBar Lib "user32" (ByVal hwnd As Long) As Long
Private Const MF_BYPOSITION = &H400&
Private Const MF_DISABLED = &H2&
Public Sub DisableX(Frm As Form)
Dim hMenu As Long, nCount As Long
hMenu = GetSystemMenu(Frm.hwnd, 0)
nCount = GetMenuItemCount(hMenu)
Call RemoveMenu(hMenu, nCount - 1, MF_DISABLED Or MF_BYPOSITION)
DrawMenuBar Frm.hwnd
End Sub
Private Sub Form_Load()
DisableX Me
End Sub
Private Sub Command1_Click()
Text1.Text = Label2.Caption
Label1.Caption = "配置要求"
End Sub
Private Sub Command2_Click()
Text1.Text = Label3.Caption
Label1.Caption = "玩家守则"
End Sub
Private Sub Command3_Click()
Clipboard.SetText Text1.SelText
End Sub
Private Sub Command4_Click()
Label1.Caption = ""
Text1.Text = ""
End Sub
Private Sub Command5_Click()
Form3.Hide
Form1.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -