📄 setup.frm
字号:
VERSION 5.00
Begin VB.Form Ymsetup
Caption = "setup"
ClientHeight = 4080
ClientLeft = 60
ClientTop = 345
ClientWidth = 4050
Icon = "setup.frx":0000
LinkTopic = "Form1"
ScaleHeight = 4080
ScaleWidth = 4050
StartUpPosition = 1 '所有者中心
Begin VB.CommandButton Command2
Caption = "退出"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2160
TabIndex = 11
Top = 3600
Width = 1095
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 = 375
Left = 330
TabIndex = 10
Top = 3585
Width = 1095
End
Begin VB.Frame Frame2
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 3495
Left = 0
TabIndex = 0
Top = 0
Width = 3975
Begin VB.TextBox Text2
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 390
Left = 720
TabIndex = 9
Top = 1485
Width = 1695
End
Begin VB.TextBox Text4
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 390
Left = 720
TabIndex = 8
Top = 2520
Width = 1695
End
Begin VB.TextBox Text3
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 390
Left = 720
TabIndex = 7
Top = 1995
Width = 1695
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 390
Left = 720
TabIndex = 3
Top = 960
Width = 1695
End
Begin VB.Label Label4
Caption = "(毫米)"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2640
TabIndex = 15
Top = 2520
Width = 1095
End
Begin VB.Label Label3
Caption = "(毫米)"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2640
TabIndex = 14
Top = 2040
Width = 1095
End
Begin VB.Label Label2
Caption = "(毫米)"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2640
TabIndex = 13
Top = 1440
Width = 1095
End
Begin VB.Label Label1
Caption = "(毫米)"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2640
TabIndex = 12
Top = 960
Width = 1095
End
Begin VB.Label Label9
Caption = "右"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 240
TabIndex = 6
Top = 2520
Width = 375
End
Begin VB.Label Label8
Caption = "左"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 240
TabIndex = 5
Top = 2040
Width = 375
End
Begin VB.Label Label7
Caption = "下"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 240
TabIndex = 4
Top = 1560
Width = 375
End
Begin VB.Label Label6
Caption = "上"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 240
TabIndex = 2
Top = 960
Width = 375
End
Begin VB.Label Label5
Caption = "页边距"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 1080
TabIndex = 1
Top = 360
Width = 1455
End
End
End
Attribute VB_Name = "Ymsetup"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If IsNumeric(Text1) Then
P_T = Text1 * 56
End If
If IsNumeric(Text2) Then
P_B = Text2 * 56
End If
If IsNumeric(Text3) Then
P_l = Text3 * 56
End If
If IsNumeric(Text4) Then
P_R = Text4 * 56
End If
P_page = 0
If P_N = "Bb1" Then
Call paper.printing(Bb1.MSHFlexGrid1)
End If
If P_N = "Bb2" Then
Call paper.printing(Bb2.Grid)
End If
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -