📄 frm_wxinfocu.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_wxinfocu
BackColor = &H00FF8080&
Caption = "报修信息"
ClientHeight = 8385
ClientLeft = 60
ClientTop = 450
ClientWidth = 9345
Icon = "Frm_wxinfocu.frx":0000
LinkTopic = "Form1"
ScaleHeight = 8385
ScaleWidth = 9345
StartUpPosition = 2 '屏幕中心
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 1080
Top = 8580
Width = 4740
_ExtentX = 8361
_ExtentY = 582
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 VB.Frame Frame1
Appearance = 0 'Flat
BackColor = &H00FF8080&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 630
Left = 0
TabIndex = 1
Top = 0
Width = 9525
Begin 工程1.GurhanCoolButton GurhanCoolButton1
Height = 495
Left = 3645
TabIndex = 2
Top = 75
Width = 855
_ExtentX = 1508
_ExtentY = 873
ButtonIcon = "Frm_wxinfocu.frx":0CCA
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 = 4770
TabIndex = 3
Top = 75
Width = 855
_ExtentX = 1508
_ExtentY = 873
ButtonIcon = "Frm_wxinfocu.frx":1250
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 = 5910
TabIndex = 4
Top = 75
Width = 855
_ExtentX = 1508
_ExtentY = 873
ButtonIcon = "Frm_wxinfocu.frx":16A6
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 = 7035
TabIndex = 5
Top = 75
Width = 855
_ExtentX = 1508
_ExtentY = 873
ButtonIcon = "Frm_wxinfocu.frx":1800
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 = 8160
TabIndex = 6
Top = 75
Width = 975
_ExtentX = 1720
_ExtentY = 873
ButtonIcon = "Frm_wxinfocu.frx":1CDA
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 MSDataGridLib.DataGrid DataGrid1
Bindings = "Frm_wxinfocu.frx":216C
Height = 7755
Left = 0
TabIndex = 0
Top = 660
Width = 9375
_ExtentX = 16536
_ExtentY = 13679
_Version = 393216
AllowUpdate = 0 'False
BackColor = 49152
ForeColor = 16711680
HeadLines = 1
RowHeight = 15
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
End
Attribute VB_Name = "Frm_wxinfocu"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
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_wxinfo.Show
Frm_wxinfo.Adodc1.Recordset.AddNew
Call wxinfo_clear
End Sub
Private Sub GurhanCoolButton1_GotFocus()
Adodc1.RecordSource = "select * from tab_报修登记表"
Adodc1.Refresh
End Sub
Private Sub GurhanCoolButton2_CLICKED()
Dim res As Integer
res = MsgBox("确实要删除此信息吗?", vbExclamation + vbYesNo + vbDefaultButton2)
If res = vbYes Then
Adodc1.Recordset.Delete
Adodc1.Refresh
End If
Adodc1.RecordSource = "select * from tab_报修登记表 "
Adodc1.Refresh
End Sub
Private Sub GurhanCoolButton4_CLICKED()
Frm_wxinfo.Adodc1.RecordSource = "select * from tab_报修登记表"
Frm_wxinfo.Adodc1.Refresh
Frm_wxinfo.Show
End Sub
Private Sub GurhanCoolButton7_CLICKED()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -