📄 游戏介绍.frm
字号:
VERSION 5.00
Begin VB.Form Form2
BackColor = &H0080FF80&
BorderStyle = 1 'Fixed Single
Caption = "游戏介绍"
ClientHeight = 4635
ClientLeft = 1965
ClientTop = 1695
ClientWidth = 7065
LinkTopic = "Form2"
MaxButton = 0 'False
ScaleHeight = 4635
ScaleWidth = 7065
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 = 10
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 = 615
Left = 360
Style = 1 'Graphical
TabIndex = 9
Top = 2640
Width = 1335
End
Begin VB.CommandButton Command6
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 = 8
Top = 1800
Width = 1335
End
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 = 5
Top = 3960
Width = 1215
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 = 495
Left = 1800
Style = 1 'Graphical
TabIndex = 4
Top = 3960
Width = 1215
End
Begin VB.TextBox Text1
ForeColor = &H00FF0000&
Height = 3375
Left = 1800
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 2
Top = 480
Width = 5175
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 = 960
Width = 1335
End
Begin VB.Label Label5
Caption = " "
Height = 1695
Left = 2040
TabIndex = 11
Top = 720
Width = 1335
End
Begin VB.Label Label4
Caption = $"游戏介绍.frx":0000
Height = 1695
Left = 3480
TabIndex = 7
Top = 720
Width = 1095
End
Begin VB.Label Label3
Caption = $"游戏介绍.frx":06E8
Height = 1695
Left = 4680
TabIndex = 6
Top = 720
Width = 1095
End
Begin VB.Label Label2
Caption = $"游戏介绍.frx":0D16
Height = 1695
Left = 5880
TabIndex = 3
Top = 720
Width = 1095
End
Begin VB.Label Label1
BackColor = &H0080FF80&
BeginProperty Font
Name = "楷体_GB2312"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 495
Left = 3720
TabIndex = 1
Top = 120
Width = 1335
End
End
Attribute VB_Name = "Form2"
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()
Label1.Caption = "背景故事"
Text1.Text = Label2.Caption
Clipboard.SetText Label5.Caption
End Sub
Private Sub Command2_Click()
Clipboard.SetText Text1.Text
End Sub
Private Sub Command3_Click()
Label1.Caption = "门派介绍"
Text1.Text = Label4.Caption
End Sub
Private Sub Command4_Click()
Label1.Caption = ""
Text1.Text = ""
End Sub
Private Sub Command5_Click()
Form1.Show
Form2.Hide
End Sub
Private Sub Command6_Click()
Label1.Caption = "游戏特色"
Text1.Text = Label3.Caption
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -