📄 frm_jzfg.frm
字号:
VERSION 5.00
Object = "{D27CDB6B-AE6D-11CF-96B8-444553540000}#1.0#0"; "swflash.ocx"
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form frm_jzfg
BorderStyle = 0 'None
Caption = "Form1"
ClientHeight = 9000
ClientLeft = 0
ClientTop = 0
ClientWidth = 11970
LinkTopic = "Form1"
LockControls = -1 'True
Picture = "frm_jzfg.frx":0000
ScaleHeight = 9000
ScaleWidth = 11970
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
WindowState = 2 'Maximized
Begin VB.TextBox Text2
DataField = "局长姓名"
DataSource = "Adodc1"
Height = 375
Left = 240
TabIndex = 10
Top = 1680
Visible = 0 'False
Width = 2415
End
Begin VB.TextBox Text1
DataField = "照片"
DataSource = "Adodc1"
Height = 375
Left = 240
TabIndex = 9
Top = 1200
Visible = 0 'False
Width = 2415
End
Begin MSAdodcLib.Adodc Adodc1
Height = 495
Left = 240
Top = 600
Visible = 0 'False
Width = 2415
_ExtentX = 4260
_ExtentY = 873
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 jz"
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 ShockwaveFlashObjectsCtl.ShockwaveFlash Flash1
Height = 375
Left = 0
TabIndex = 8
Top = 0
Width = 11895
_cx = 53301749
_cy = 53281429
Movie = ""
Src = ""
WMode = "Window"
Play = -1 'True
Loop = -1 'True
Quality = "High"
SAlign = ""
Menu = -1 'True
Base = ""
Scale = "ShowAll"
DeviceFont = 0 'False
EmbedMovie = 0 'False
BGColor = ""
SWRemote = ""
Stacking = "below"
End
Begin VB.Label Label_back
BackStyle = 0 'Transparent
Height = 615
Left = 4560
TabIndex = 7
Top = 7920
Width = 3495
End
Begin VB.Label Label7
Alignment = 2 'Center
BackStyle = 0 'Transparent
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 375
Left = 8650
TabIndex = 6
Top = 8330
Width = 2295
End
Begin VB.Label Label6
Alignment = 2 'Center
BackStyle = 0 'Transparent
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 375
Left = 8650
TabIndex = 5
Top = 6410
Width = 2295
End
Begin VB.Label Label5
Alignment = 2 'Center
BackStyle = 0 'Transparent
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 375
Left = 8650
TabIndex = 4
Top = 4490
Width = 2295
End
Begin VB.Image Image7
Height = 1575
Left = 8650
Stretch = -1 'True
Top = 6720
Width = 2295
End
Begin VB.Image Image6
Height = 1575
Left = 8650
Stretch = -1 'True
Top = 4800
Width = 2295
End
Begin VB.Image Image5
Height = 1575
Left = 8650
Stretch = -1 'True
Top = 2880
Width = 2295
End
Begin VB.Image Image4
Height = 1575
Left = 1000
Stretch = -1 'True
Top = 6720
Width = 2295
End
Begin VB.Image Image3
Height = 1575
Left = 1000
Stretch = -1 'True
Top = 4800
Width = 2295
End
Begin VB.Image Image2
Height = 1575
Left = 1000
Stretch = -1 'True
Top = 2880
Width = 2295
End
Begin VB.Image Image1
Height = 2295
Left = 4200
Stretch = -1 'True
Top = 600
Width = 3600
End
Begin VB.Label Label4
Alignment = 2 'Center
BackStyle = 0 'Transparent
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 375
Left = 1000
TabIndex = 3
Top = 8320
Width = 2295
End
Begin VB.Label Label3
Alignment = 2 'Center
BackStyle = 0 'Transparent
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 375
Left = 1000
TabIndex = 2
Top = 6410
Width = 2295
End
Begin VB.Label Label2
Alignment = 2 'Center
BackStyle = 0 'Transparent
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 375
Left = 1000
TabIndex = 1
Top = 4490
Width = 2295
End
Begin VB.Label Label1
Alignment = 2 'Center
BackStyle = 0 'Transparent
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 375
Left = 4680
TabIndex = 0
Top = 2950
Width = 2655
End
End
Attribute VB_Name = "frm_jzfg"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Flash1.Movie = App.Path & "\Image\czj\gxwsqzlz.swf"
Dim temp As String
Adodc1.RecordSource = "select * from jz order by 顺序"
Adodc1.Refresh
Adodc1.Recordset.MoveFirst
temp = App.Path & Text1.Text
If Adodc1.Recordset.BOF = False Then Adodc1.Recordset.MoveFirst
If Text1.Text <> "" Then Image1.Picture = LoadPicture(temp)
If Text2.Text <> "" Then Label1.Caption = Text2.Text
If Adodc1.Recordset.EOF = False Then Adodc1.Recordset.MoveNext
temp = App.Path & Text1.Text
If Text1.Text <> "" Then Image2.Picture = LoadPicture(temp)
If Text2.Text <> "" Then Label2.Caption = Text2.Text
If Adodc1.Recordset.EOF = False Then Adodc1.Recordset.MoveNext
temp = App.Path & Text1.Text
If Text1.Text <> "" Then Image3.Picture = LoadPicture(temp)
If Text2.Text <> "" Then Label3.Caption = Text2.Text
If Adodc1.Recordset.EOF = False Then Adodc1.Recordset.MoveNext
temp = App.Path & Text1.Text
If Text1.Text <> "" Then Image4.Picture = LoadPicture(temp)
If Text2.Text <> "" Then Label4.Caption = Text2.Text
If Adodc1.Recordset.EOF = False Then Adodc1.Recordset.MoveNext
temp = App.Path & Text1.Text
If Text1.Text <> "" Then Image5.Picture = LoadPicture(temp)
If Text2.Text <> "" Then Label5.Caption = Text2.Text
If Adodc1.Recordset.EOF = False Then Adodc1.Recordset.MoveNext
temp = App.Path & Text1.Text
If Text1.Text <> "" Then Image6.Picture = LoadPicture(temp)
If Text2.Text <> "" Then Label6.Caption = Text2.Text
If Adodc1.Recordset.EOF = False Then Adodc1.Recordset.MoveNext
temp = App.Path & Text1.Text
If Text1.Text <> "" Then Image7.Picture = LoadPicture(temp)
If Text2.Text <> "" Then Label7.Caption = Text2.Text
End Sub
Private Sub Image1_Click()
frm_jzfg_fg.Show
frm_jzfg_fg.Adodc1.RecordSource = "select * from jz where 局长姓名 = '" + Label1.Caption + "'"
frm_jzfg_fg.Adodc1.Refresh
frm_jzfg_fg.Label5.Caption = Label1.Caption
Unload Me
End Sub
Private Sub Image2_Click()
frm_jzfg_fg.Show
frm_jzfg_fg.Adodc1.RecordSource = "select * from jz where 局长姓名 = '" + Label2.Caption + "'"
frm_jzfg_fg.Adodc1.Refresh
frm_jzfg_fg.Label5.Caption = Label2.Caption
Unload Me
End Sub
Private Sub Image3_Click()
frm_jzfg_fg.Show
frm_jzfg_fg.Adodc1.RecordSource = "select * from jz where 局长姓名 = '" + Label3.Caption + "'"
frm_jzfg_fg.Adodc1.Refresh
frm_jzfg_fg.Label5.Caption = Label3.Caption
Unload Me
End Sub
Private Sub Image4_Click()
frm_jzfg_fg.Show
frm_jzfg_fg.Adodc1.RecordSource = "select * from jz where 局长姓名 = '" + Label4.Caption + "'"
frm_jzfg_fg.Adodc1.Refresh
frm_jzfg_fg.Label5.Caption = Label4.Caption
Unload Me
End Sub
Private Sub Image5_Click()
frm_jzfg_fg.Show
frm_jzfg_fg.Adodc1.RecordSource = "select * from jz where 局长姓名 ='" + Label5.Caption + "'"
frm_jzfg_fg.Adodc1.Refresh
frm_jzfg_fg.Label5.Caption = Label5.Caption
Unload Me
End Sub
Private Sub Image6_Click()
frm_jzfg_fg.Show
frm_jzfg_fg.Adodc1.RecordSource = "select * from jz where 局长姓名 = '" + Label6.Caption + "'"
frm_jzfg_fg.Adodc1.Refresh
frm_jzfg_fg.Label5.Caption = Label6.Caption
Unload Me
End Sub
Private Sub Image7_Click()
frm_jzfg_fg.Show
frm_jzfg_fg.Adodc1.RecordSource = "select * from jz where 局长姓名 = '" + Label7.Caption + "'"
frm_jzfg_fg.Adodc1.Refresh
frm_jzfg_fg.Label5.Caption = Label7.Caption
Unload Me
End Sub
Private Sub Label_back_Click()
If jzs = 0 Then
frm_main.Show
Unload Me
ElseIf jzs = 1 Then
frm_zzjgt.Show
Unload Me
Else
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -