📄 frm_sbinfocu.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Begin VB.Form Frm_sbinfocu
Caption = "设备管理"
ClientHeight = 8595
ClientLeft = 60
ClientTop = 450
ClientWidth = 9660
Icon = "Frm_sbinfocu.frx":0000
LinkTopic = "Form1"
ScaleHeight = 8595
ScaleWidth = 9660
StartUpPosition = 2 '屏幕中心
Begin MSAdodcLib.Adodc Adodc1
Height = 465
Left = 2670
Top = 8790
Width = 4185
_ExtentX = 7382
_ExtentY = 820
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 1
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\毕业设计\TIZIANO.mdb;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\毕业设计\TIZIANO.mdb;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * from tab_设备"
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin MSDataGridLib.DataGrid DataGrid1
Bindings = "Frm_sbinfocu.frx":0CCA
Height = 7935
Left = 0
TabIndex = 7
Top = 660
Width = 9675
_ExtentX = 17066
_ExtentY = 13996
_Version = 393216
BackColor = 65280
ForeColor = 16711680
HeadLines = 1
RowHeight = 15
AllowDelete = -1 'True
BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ColumnCount = 2
BeginProperty Column00
DataField = ""
Caption = ""
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column01
DataField = ""
Caption = ""
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
SplitCount = 1
BeginProperty Split0
BeginProperty Column00
EndProperty
BeginProperty Column01
EndProperty
EndProperty
End
Begin VB.Frame Frame1
Appearance = 0 'Flat
BackColor = &H00FF8080&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 630
Left = 0
TabIndex = 0
Top = 0
Width = 9630
Begin 工程1.GurhanCoolButton GurhanCoolButton1
Height = 495
Left = 2580
TabIndex = 1
Top = 60
Width = 1065
_ExtentX = 1879
_ExtentY = 873
ButtonIcon = "Frm_sbinfocu.frx":0CDF
CaptionTitle = "添 加 "
ButtonBackColor = 16744576
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty FONT {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin 工程1.GurhanCoolButton GurhanCoolButton2
Height = 495
Left = 3990
TabIndex = 2
Top = 60
Width = 1065
_ExtentX = 1879
_ExtentY = 873
ButtonIcon = "Frm_sbinfocu.frx":1265
CaptionTitle = "删 除 "
ButtonBackColor = 16744576
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty FONT {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin 工程1.GurhanCoolButton GurhanCoolButton6
Height = 495
Left = 6840
TabIndex = 3
Top = 60
Width = 1065
_ExtentX = 1879
_ExtentY = 873
ButtonIcon = "Frm_sbinfocu.frx":16BB
CaptionTitle = "打 印 "
ButtonBackColor = 16744576
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty FONT {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin 工程1.GurhanCoolButton GurhanCoolButton7
Height = 495
Left = 8190
TabIndex = 4
Top = 45
Width = 1065
_ExtentX = 1879
_ExtentY = 873
ButtonIcon = "Frm_sbinfocu.frx":1B95
CaptionTitle = "退 出 "
ButtonBackColor = 16744576
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty FONT {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin 工程1.GurhanCoolButton GurhanCoolButton4
Height = 495
Left = 5430
TabIndex = 6
Top = 60
Width = 1065
_ExtentX = 1879
_ExtentY = 873
ButtonIcon = "Frm_sbinfocu.frx":2027
CaptionTitle = "修 改 "
ButtonBackColor = 16744576
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty FONT {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Image Image1
Height = 435
Left = 210
Top = 105
Width = 1590
End
End
Begin VB.TextBox Text1
Height = 330
Left = 600
TabIndex = 5
Text = "Text1"
Top = 750
Width = 1065
End
End
Attribute VB_Name = "Frm_sbinfocu"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub DataGrid1_Click()
Text1.Text = DataGrid1.Text
End Sub
Private Sub Form_Load()
If Frm_load.group = "3" Then
GurhanCoolButton1.Visible = False
GurhanCoolButton2.Visible = False
GurhanCoolButton4.Visible = False
End If
End Sub
Private Sub GurhanCoolButton1_CLICKED()
Frm_sbinfo.Show
Frm_sbinfo.Adodc1.Recordset.AddNew
End Sub
Private Sub GurhanCoolButton1_GotFocus()
Adodc1.RecordSource = "select * from tab_设备"
Adodc1.Refresh
End Sub
Private Sub GurhanCoolButton2_CLICKED()
Adodc1.Recordset.Delete
Adodc1.Refresh
Adodc1.RecordSource = "select * from tab_设备"
Adodc1.Refresh
End Sub
Private Sub GurhanCoolButton4_CLICKED()
Frm_sbinfo.Adodc1.RecordSource = "select * from tab_设备 where 设备编码 like '" & Frm_sbinfocu.Adodc1.Recordset.Fields(0) & "'"
Frm_sbinfo.Adodc1.Refresh
Frm_sbinfo.Show
End Sub
Private Sub GurhanCoolButton7_CLICKED()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -