📄 情书生成器7.frm
字号:
VERSION 5.00
Begin VB.Form Form7
BorderStyle = 1 'Fixed Single
Caption = "情书生成器"
ClientHeight = 2265
ClientLeft = 4560
ClientTop = 2625
ClientWidth = 3165
Icon = "情书生成器7.frx":0000
LinkTopic = "Form7"
MaxButton = 0 'False
MinButton = 0 'False
Picture = "情书生成器7.frx":030A
ScaleHeight = 2265
ScaleWidth = 3165
StartUpPosition = 2 'CenterScreen
Begin VB.OptionButton Option2
BackColor = &H00E7BB7A&
Height = 180
Left = 540
TabIndex = 1
Top = 1125
Width = 195
End
Begin VB.OptionButton Option1
BackColor = &H00E7BB7A&
Height = 180
Left = 540
TabIndex = 0
Top = 630
Width = 195
End
Begin VB.CommandButton Command1
Caption = "下一步"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Index = 1
Left = 2115
TabIndex = 2
Top = 1890
Width = 855
End
Begin VB.CommandButton Command1
Caption = "上一步"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Index = 0
Left = 270
TabIndex = 3
Top = 1890
Width = 855
End
Begin VB.Line Line5
BorderColor = &H00FFFFFF&
X1 = 270
X2 = 3015
Y1 = 1620
Y2 = 1620
End
Begin VB.Line Line4
BorderColor = &H00FFFFFF&
X1 = 3015
X2 = 3015
Y1 = 270
Y2 = 1620
End
Begin VB.Line Line3
BorderColor = &H00FFFFFF&
X1 = 270
X2 = 270
Y1 = 225
Y2 = 1620
End
Begin VB.Line Line2
BorderColor = &H00FFFFFF&
X1 = 1890
X2 = 3015
Y1 = 270
Y2 = 270
End
Begin VB.Line Line1
BorderColor = &H00FFFFFF&
X1 = 270
X2 = 450
Y1 = 225
Y2 = 225
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "是否要生成日期"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 450
TabIndex = 6
Top = 180
Width = 1470
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "我不需要日期生成"
BeginProperty Font
Name = "楷体_GB2312"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 810
TabIndex = 5
Top = 1080
Width = 1920
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "我需要有日期生成"
BeginProperty Font
Name = "楷体_GB2312"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 810
TabIndex = 4
Top = 615
Width = 1920
End
Begin VB.Menu mnuabout
Caption = "a"
Visible = 0 'False
Begin VB.Menu mnuabout1
Caption = "关于(&A)..."
End
End
End
Attribute VB_Name = "Form7"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim exitnext As Boolean
Private Sub Command1_Click(Index As Integer)
exitnext = False
LoadFrom9 = True
commandG = 1
If Option1.Value = True Then
textG = True
Else
textG = False
End If
Unload Me
If Index = 1 Then
If Option1.Value = True Then
Form8.Show
Else
Form9.Show
LoadStop1 = True
loadDay = False
End If
Else
Form6.Show
End If
End Sub
Private Sub Command2_Click()
loadDay = False
exitnext = False
Unload Me
Form9.Show
End Sub
Private Sub Command1_MouseMove(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
If Index = 1 Then
Command1(1).FontBold = True
Else
Command1(0).FontBold = True
End If
End Sub
Private Sub Form_Load()
If commandG = 1 Then
If textG = True Then
Option1.Value = True
Else
Option2.Value = True
End If
End If
End Sub
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then
PopupMenu mnuAbout, vbPopupMenuRightButton
End If
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Form7.Show
Label1.FontBold = False
label2.FontBold = False
label3.FontBold = False
Command1(0).FontBold = False
Command1(1).FontBold = False
End Sub
Private Sub Form_Unload(Cancel As Integer)
If exitnext = True Then
Dim msg As Integer
msg = MsgBox("您确定要退出本程序吗?", 1 + 32, "确认")
If msg = 1 Then
Cancel = 0
Else
Cancel = 1
End If
Else
End If
End Sub
Private Sub Label1_Click()
Option1.Value = True
End Sub
Private Sub Label1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label1.FontBold = True
End Sub
Private Sub Label2_Click()
Option2.Value = True
End Sub
Private Sub Label2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
label2.FontBold = True
End Sub
Private Sub mnuAbout1_Click()
frmAbout.Show
End Sub
Private Sub Option1_Click()
Command1(1).Caption = "下一步"
End Sub
Private Sub Option1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
label3.FontBold = True
End Sub
Private Sub Option2_Click()
Command1(1).Caption = "最后步"
End Sub
Private Sub Option2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
label3.FontBold = True
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -