📄 form数据管理.frm
字号:
VERSION 5.00
Begin VB.Form Form数据管理
BackColor = &H80000005&
Caption = "Data参数"
ClientHeight = 3585
ClientLeft = 6165
ClientTop = 6090
ClientWidth = 5535
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 3585
ScaleWidth = 5535
Begin VB.TextBox Text面数2
DataField = "面数"
DataSource = "Data参数"
Height = 270
Left = 1680
TabIndex = 14
Text = "Text1"
Top = 480
Width = 1215
End
Begin VB.Data Data参数
Caption = "Data1"
Connect = "Access"
DatabaseName = "F:\VB\vb练习\shuijing\生产数据.mdb"
DefaultCursorType= 0 '缺省游标
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 375
Left = 3360
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = "生产参数"
Top = 2760
Width = 1935
End
Begin VB.TextBox Text带数2
DataField = "带数"
DataSource = "Data参数"
Height = 270
Left = 1680
TabIndex = 6
Text = "Text1"
Top = 942
Width = 1215
End
Begin VB.TextBox Text打磨时间2
DataField = "打磨时间"
DataSource = "Data参数"
Height = 270
Left = 1680
TabIndex = 5
Text = "Text1"
Top = 1404
Width = 1215
End
Begin VB.TextBox Text等待时间2
DataField = "等待时间"
DataSource = "Data参数"
Height = 270
Left = 1680
TabIndex = 4
Text = "Text1"
Top = 1866
Width = 1215
End
Begin VB.TextBox Text工作半径2
DataField = "工件半径"
DataSource = "Data参数"
Height = 270
Left = 1680
TabIndex = 3
Text = "Text1"
Top = 2328
Width = 1215
End
Begin VB.TextBox Text夹杆长度2
DataField = "夹具长度"
DataSource = "Data参数"
Height = 270
Left = 1680
TabIndex = 2
Text = "Text1"
Top = 2790
Width = 1215
End
Begin VB.Label Lab返回
Alignment = 2 'Center
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "返 回"
BeginProperty Font
Name = "黑体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000002&
Height = 255
Left = 3720
TabIndex = 13
Top = 2010
Width = 1215
End
Begin VB.Image Imag返回Up
Appearance = 0 'Flat
Height = 375
Left = 3720
Picture = "Form数据管理.frx":0000
Top = 1920
Width = 1170
End
Begin VB.Image Image4
Appearance = 0 'Flat
Height = 375
Left = 3720
Picture = "Form数据管理.frx":1750
Top = 1920
Width = 1170
End
Begin VB.Label Lbl等待时间
AutoSize = -1 'True
BackColor = &H80000018&
BackStyle = 0 'Transparent
Caption = "等待时间"
ForeColor = &H00000000&
Height = 180
Left = 600
TabIndex = 12
Top = 1920
Width = 720
End
Begin VB.Label Lbl打磨时间
AutoSize = -1 'True
BackColor = &H80000018&
BackStyle = 0 'Transparent
Caption = "打磨时间"
ForeColor = &H00000000&
Height = 180
Left = 600
TabIndex = 11
Top = 1440
Width = 720
End
Begin VB.Label Lbl带数
AutoSize = -1 'True
BackColor = &H80000018&
BackStyle = 0 'Transparent
Caption = "带 数"
ForeColor = &H00000000&
Height = 180
Left = 600
TabIndex = 10
Top = 960
Width = 720
End
Begin VB.Label Lbl面数
AutoSize = -1 'True
BackColor = &H80000018&
BackStyle = 0 'Transparent
Caption = "面 数"
ForeColor = &H00000000&
Height = 180
Left = 600
TabIndex = 9
Top = 480
Width = 720
End
Begin VB.Label Lbl半径
AutoSize = -1 'True
BackColor = &H80000018&
BackStyle = 0 'Transparent
Caption = "工件半径"
ForeColor = &H00000000&
Height = 180
Left = 600
TabIndex = 8
Top = 2400
Width = 720
End
Begin VB.Label Lbl夹杆长度
AutoSize = -1 'True
BackColor = &H80000018&
BackStyle = 0 'Transparent
Caption = "夹杆长度"
ForeColor = &H00000000&
Height = 180
Left = 600
TabIndex = 7
Top = 2880
Width = 720
End
Begin VB.Label Lab导出参数
Alignment = 2 'Center
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "导出参数"
BeginProperty Font
Name = "黑体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000002&
Height = 255
Left = 3720
TabIndex = 1
Top = 1310
Width = 1215
End
Begin VB.Label Lab导入参数
Alignment = 2 'Center
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "导入参数"
BeginProperty Font
Name = "黑体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000002&
Height = 255
Left = 3720
TabIndex = 0
Top = 590
Width = 1215
End
Begin VB.Image Imag参数Up
Appearance = 0 'Flat
Height = 375
Left = 3720
Picture = "Form数据管理.frx":2EA0
Top = 480
Width = 1170
End
Begin VB.Image ImagDataDown
Appearance = 0 'Flat
Height = 375
Left = 3720
Picture = "Form数据管理.frx":45F0
Top = 480
Width = 1170
End
Begin VB.Image Imag出参数Up
Appearance = 0 'Flat
Height = 375
Left = 3720
Picture = "Form数据管理.frx":5D40
Top = 1200
Width = 1170
End
Begin VB.Image Image2
Appearance = 0 'Flat
Height = 375
Left = 3720
Picture = "Form数据管理.frx":7490
Top = 1200
Width = 1170
End
End
Attribute VB_Name = "Form数据管理"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Lab导出参数.ForeColor = &HFF6020
Lab导入参数.ForeColor = &HFF6020
Lab返回.ForeColor = &HFF6020
End Sub
Private Sub Lab导出参数_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Imag出参数Up.Visible = False
Lab导出参数.ForeColor = &HE0E0E0
End Sub
Private Sub Lab导出参数_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Imag出参数Up.Visible = True
Lab导出参数.ForeColor = &HFF6020
End Sub
Private Sub Lab导入参数_Click()
Text面数2.Text = 90
mmm = 100
End Sub
Private Sub Lab导入参数_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Imag参数Up.Visible = False
Lab导入参数.ForeColor = &HE0E0E0
End Sub
Private Sub Lab导入参数_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Imag参数Up.Visible = True
Lab导入参数.ForeColor = &HFF6020
End Sub
Private Sub Lab返回_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Imag返回Up.Visible = False
Lab返回.ForeColor = &HE0E0E0
End Sub
Private Sub Lab返回_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Imag返回Up.Visible = True
Lab返回.ForeColor = &HFF6020
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -