📄 frm_zwgk.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_zwgk
BorderStyle = 0 'None
Caption = "Form1"
ClientHeight = 9015
ClientLeft = 60
ClientTop = 345
ClientWidth = 12000
LinkTopic = "Form1"
Picture = "frm_zwgk.frx":0000
ScaleHeight = 9015
ScaleWidth = 12000
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
WindowState = 2 'Maximized
Begin VB.TextBox Text1
DataField = "项目名称"
DataSource = "Adodc1"
Height = 375
Left = 360
TabIndex = 3
Text = "Text1"
Top = 0
Visible = 0 'False
Width = 2175
End
Begin MSDataGridLib.DataGrid DataGrid1
Bindings = "frm_zwgk.frx":A1B7
Height = 6975
Left = 240
TabIndex = 1
Top = 840
Width = 11385
_ExtentX = 20082
_ExtentY = 12303
_Version = 393216
AllowUpdate = 0 'False
AllowArrows = 0 'False
ForeColor = 8388736
HeadLines = 1
RowHeight = 23
FormatLocked = -1 'True
BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "楷体_GB2312"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ColumnCount = 5
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
BeginProperty Column02
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 Column03
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 Column04
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
ColumnWidth = 2429.858
EndProperty
BeginProperty Column01
Object.Visible = 0 'False
ColumnWidth = 2429.858
EndProperty
BeginProperty Column02
Object.Visible = 0 'False
ColumnWidth = 2429.858
EndProperty
BeginProperty Column03
Object.Visible = 0 'False
ColumnWidth = 2429.858
EndProperty
BeginProperty Column04
Object.Visible = 0 'False
ColumnWidth = 2429.858
EndProperty
EndProperty
End
Begin MSAdodcLib.Adodc Adodc1
Height = 375
Left = 360
Top = 360
Visible = 0 'False
Width = 2175
_ExtentX = 3836
_ExtentY = 661
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=DS.MDB;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=DS.MDB;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * from bscx"
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.Label Label2
BackStyle = 0 'Transparent
Height = 615
Left = 8700
TabIndex = 2
Top = 7930
Width = 2895
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "市财政局政务公开项目"
BeginProperty Font
Name = "楷体_GB2312"
Size = 24
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00808000&
Height = 615
Left = 3240
TabIndex = 0
Top = 240
Width = 6135
End
End
Attribute VB_Name = "frm_zwgk"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub DataGrid1_Click()
Call Text1_Change
frm_zwgk_xx.Show
frm_zwgk.Hide
End Sub
Private Sub Form_Load()
Dim n As Integer
Dim s, Y
Dim i, j As Integer
DataGrid1.Columns.Item(0).Width = 13800
End Sub
Private Sub Label2_Click()
frm_main.Show
Unload Me
End Sub
Private Sub Text1_Change()
frm_zwgk_xx.Adodc1.RecordSource = "select * from bscx where 项目名称='" + Text1.Text + "'"
frm_zwgk_xx.Adodc1.Refresh
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -