📄 rulset.frm
字号:
VERSION 5.00
Begin VB.Form rulset
Caption = "编排规则设置"
ClientHeight = 2940
ClientLeft = 60
ClientTop = 600
ClientWidth = 4335
LinkTopic = "Form1"
ScaleHeight = 2940
ScaleWidth = 4335
StartUpPosition = 3 '窗口缺省
Begin VB.Frame Frame2
Caption = "结果显示方式"
Height = 1455
Left = 2280
TabIndex = 5
Top = 120
Width = 1815
Begin VB.OptionButton Option4
Caption = "图形方式"
Enabled = 0 'False
Height = 375
Left = 120
TabIndex = 7
Top = 840
Width = 1215
End
Begin VB.OptionButton Option3
Caption = "表格方式"
Height = 375
Left = 120
TabIndex = 6
Top = 240
Width = 1455
End
End
Begin VB.CommandButton Command1
Caption = "确定"
Height = 495
Left = 240
TabIndex = 4
Top = 2400
Width = 1455
End
Begin VB.TextBox Text1
Height = 495
Left = 2040
TabIndex = 3
Top = 1800
Width = 1695
End
Begin VB.Frame Frame1
Caption = "排列方式"
Height = 1695
Left = 240
TabIndex = 0
Top = 120
Width = 1695
Begin VB.OptionButton Option2
Caption = "随机排列"
Enabled = 0 'False
Height = 375
Left = 120
TabIndex = 8
Top = 960
Width = 1215
End
Begin VB.OptionButton Option1
Caption = "S型排列"
Height = 495
Left = 120
TabIndex = 1
Top = 360
Width = 975
End
End
Begin VB.Label Label1
Caption = "每列间隔空位数:"
Height = 375
Left = 240
TabIndex = 2
Top = 1920
Width = 1575
End
End
Attribute VB_Name = "rulset"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Option1.Value = True Then
ranktype = 0
Else
ranktype = 1
End If
If Option3.Value = True Then
restype = 0
Else
restype = 1
End If
emptyseat = Val(Text1.Text)
Unload Me
End Sub
Private Sub Form_Load()
If ranktype = 0 Then
Option1.Value = True
Else
Option2.Value = True
End If
If restype = 0 Then
Option3.Value = True
Else
Option4.Value = True
End If
Text1.Text = emptyseat
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -