📄 form1.frm
字号:
TabIndex = 22
Top = 1560
Width = 645
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "X个数:"
Height = 195
Left = 120
TabIndex = 19
Top = 1560
Width = 645
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "产品名称:"
Height = 195
Left = 120
TabIndex = 2
Top = 360
Width = 900
End
End
End
Begin MSComctlLib.ImageList ImageList1
Left = 8760
Top = 240
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 32
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 11
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":A81E
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":ACB0
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":B422
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":BB94
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":C366
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":CB38
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":D2AA
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":DA1C
Key = ""
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":E1EE
Key = ""
EndProperty
BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":E960
Key = ""
EndProperty
BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":F234
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.StatusBar Sta1
Align = 2 'Align Bottom
Height = 375
Left = 0
TabIndex = 5
Top = 8700
Width = 13440
_ExtentX = 23707
_ExtentY = 661
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 4
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 1
Object.Width = 15954
Picture = "Form1.frx":123A6
Text = " "
TextSave = " "
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 6
TextSave = "2006-2-17"
EndProperty
BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 5
TextSave = "17:12"
EndProperty
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "隶书"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin ComCtl3.CoolBar CoolBar1
Height = 885
Left = 0
TabIndex = 6
Top = 0
Width = 11415
_ExtentX = 20135
_ExtentY = 1561
BandCount = 2
BackColor = -2147483638
_CBWidth = 11415
_CBHeight = 885
_Version = "6.7.8988"
Child1 = "Toolbar1"
MinHeight1 = 825
Width1 = 12000
NewRow1 = 0 'False
MinHeight2 = 675
NewRow2 = 0 'False
Begin MSComctlLib.Toolbar Toolbar1
Height = 825
Left = 165
TabIndex = 8
Top = 30
Width = 10995
_ExtentX = 19394
_ExtentY = 1455
ButtonWidth = 1455
ButtonHeight = 1349
Appearance = 1
ImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 8
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "开始监视"
ImageIndex = 10
Style = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "数据保存"
ImageIndex = 3
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "参数设置"
ImageIndex = 6
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "查看数据"
ImageIndex = 4
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "保存路径"
ImageIndex = 9
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "通讯设置"
ImageIndex = 1
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "退出"
ImageIndex = 5
EndProperty
BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "帮助"
ImageIndex = 8
EndProperty
EndProperty
End
End
Begin VB.Menu mfile
Caption = "文件(&F)"
Begin VB.Menu mstart
Caption = "开始检测(&B)"
End
Begin VB.Menu mexit
Caption = "退出(&O)"
Shortcut = {F2}
End
End
Begin VB.Menu mview
Caption = "浏览(&V)"
End
Begin VB.Menu mcontrol1
Caption = "设置(&C)"
Begin VB.Menu mcontrol
Caption = "参数设置(&R)"
End
Begin VB.Menu mcom
Caption = "通讯设置(&C)"
End
Begin VB.Menu line12
Caption = "-"
End
Begin VB.Menu mlujin
Caption = "程序设置(&P)"
End
End
Begin VB.Menu mmprint
Caption = "报表(&T)"
Begin VB.Menu mout
Caption = "输出报表(&O)"
End
End
Begin VB.Menu msave
Caption = "保存(&S)"
Begin VB.Menu saveto
Caption = "保存到路径(&S)"
End
Begin VB.Menu msaveas
Caption = "另存为(&AS)"
End
Begin VB.Menu GRAPHLINE
Caption = "-"
End
Begin VB.Menu savegraph
Caption = "保存判定图案"
End
End
Begin VB.Menu mhelp
Caption = "帮助(&H)"
End
Begin VB.Menu f1book
Caption = "f1book"
Visible = 0 'False
Begin VB.Menu uu
Caption = "复制(&C)"
Index = 1
End
Begin VB.Menu uu
Caption = "粘贴(&P)"
Index = 2
End
Begin VB.Menu uu
Caption = "剪切(&T)"
Index = 3
End
Begin VB.Menu uu
Caption = "删除(&D)"
Index = 4
End
Begin VB.Menu uu
Caption = "-"
Index = 5
End
Begin VB.Menu uu
Caption = "另存为(&S)"
Index = 6
End
Begin VB.Menu uu
Caption = "清空数据(&C)"
Index = 7
End
Begin VB.Menu mshowbar
Caption = "显示输入框"
End
End
End
Attribute VB_Name = "frmmain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private dia1, dia2 As String
Dim pro As Integer
Const strCR As String = "CR" & vbCr '发送的 开始通讯字符串
Private Sub Check1_Click()
SaveSetting "myapp", "text1", "value", Text1.Text
SaveSetting "myapp", "text2", "value", Text2.Text
End Sub
Private Sub Check2_Click()
End Sub
Private Sub Command1_Click()
End Sub
Private Sub Command2_Click()
End Sub
Private Sub Command3_Click()
End Sub
Private Sub Command4_Click()
Dim sam
Dim fbkline, i, j, dmadd, ppoints, mearint, diamoth As Integer
Dim errstring, clearstring, instring As String
Timer1.Enabled = False
addtime (100)
On Error GoTo ErrHandler
With Dialog1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -