?? frm_tsinfocu.frm
字號(hào):
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_tsinfocu
BackColor = &H00FF8080&
Caption = "投訴信息"
ClientHeight = 6075
ClientLeft = 60
ClientTop = 450
ClientWidth = 8475
Icon = "Frm_tsinfocu.frx":0000
LinkTopic = "Form1"
ScaleHeight = 6075
ScaleWidth = 8475
StartUpPosition = 1 '所有者中心
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 1380
Top = 6480
Width = 3585
_ExtentX = 6324
_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:\畢業(yè)設(shè)計(jì)\TIZIANO.mdb;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\畢業(yè)設(shè)計(jì)\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 = 0
Top = 0
Width = 8475
Begin 工程1.GurhanCoolButton GurhanCoolButton1
Height = 495
Left = 2595
TabIndex = 1
Top = 45
Width = 855
_ExtentX = 1508
_ExtentY = 873
ButtonIcon = "Frm_tsinfocu.frx":1CCA
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 = 3750
TabIndex = 2
Top = 45
Width = 855
_ExtentX = 1508
_ExtentY = 873
ButtonIcon = "Frm_tsinfocu.frx":2250
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 = 4845
TabIndex = 3
Top = 45
Width = 855
_ExtentX = 1508
_ExtentY = 873
ButtonIcon = "Frm_tsinfocu.frx":26A6
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 = 5985
TabIndex = 4
Top = 45
Width = 855
_ExtentX = 1508
_ExtentY = 873
ButtonIcon = "Frm_tsinfocu.frx":2800
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 = 7110
TabIndex = 5
Top = 45
Width = 975
_ExtentX = 1720
_ExtentY = 873
ButtonIcon = "Frm_tsinfocu.frx":2CDA
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_tsinfocu.frx":316C
Height = 5475
Left = -30
TabIndex = 6
Top = 630
Width = 8535
_ExtentX = 15055
_ExtentY = 9657
_Version = 393216
AllowUpdate = 0 'False
BackColor = 65280
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_tsinfocu"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub DataGrid1_Click()
Adodc1.RecordSource = "select* from tab_投訴登記 where "
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_tsinfo.Show
Frm_tsinfo.Adodc1.Recordset.AddNew
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("確實(shí)要?jiǎng)h除此信息嗎?", vbExclamation + vbYesNo + vbDefaultButton2)
If res = vbYes Then
Adodc1.Recordset.Delete
Adodc1.Recordset.Update
End If
Adodc1.RecordSource = "select * from tab_投訴記錄"
Adodc1.Refresh
End Sub
Private Sub GurhanCoolButton4_CLICKED()
Frm_tsinfo.Adodc1.RecordSource = "select * from tab_投訴記錄 where 記錄號(hào) like '" & Frm_tsinfocu.Adodc1.Recordset.Fields(0) & "'"
Frm_tsinfo.Adodc1.Refresh
Frm_tsinfo.Show
End Sub
Private Sub GurhanCoolButton7_CLICKED()
Unload Me
End Sub
Private Sub Image1_Click()
Adodc1.RecordSource = "select * from tab_投訴記錄"
Adodc1.Refresh
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -