📄 frmqcren.frm
字号:
VERSION 5.00
Begin VB.Form frmqcren
Caption = "迁出人口"
ClientHeight = 8175
ClientLeft = 60
ClientTop = 345
ClientWidth = 9330
ControlBox = 0 'False
LinkTopic = "Form1"
MDIChild = -1 'True
ScaleHeight = 8175
ScaleWidth = 9330
WindowState = 2 'Maximized
Begin VB.CommandButton Command3
Caption = "注销"
Enabled = 0 'False
Height = 375
Left = 5640
TabIndex = 46
Top = 7440
Visible = 0 'False
Width = 855
End
Begin VB.CommandButton Command2
Caption = "取消"
Enabled = 0 'False
Height = 375
Left = 2520
TabIndex = 45
Top = 7440
Visible = 0 'False
Width = 855
End
Begin VB.CommandButton Command1
Caption = "取消"
Height = 375
Left = 4080
TabIndex = 44
Top = 7440
Width = 855
End
Begin VB.Frame Frame5
Caption = "迁出信息"
Height = 1215
Left = 120
TabIndex = 36
Top = 5880
Width = 9015
Begin VB.TextBox Text8
Height = 375
Left = 3840
MaxLength = 150
TabIndex = 37
Top = 480
Width = 4695
End
Begin VB.Label Label33
BorderStyle = 1 'Fixed Single
Enabled = 0 'False
Height = 375
Left = 3840
TabIndex = 47
Top = 480
Visible = 0 'False
Width = 4695
End
Begin VB.Label Label32
Caption = "迁出到何地:"
Height = 375
Left = 2520
TabIndex = 41
Top = 600
Width = 1095
End
Begin VB.Label Label26
Height = 375
Left = 1440
TabIndex = 40
Top = 600
Width = 975
End
Begin VB.Label Label27
Caption = "迁出日期:"
Height = 375
Left = 240
TabIndex = 39
Top = 600
Width = 1095
End
Begin VB.Label Label25
Caption = "*"
ForeColor = &H000000FF&
Height = 135
Left = 8640
TabIndex = 38
Top = 600
Width = 135
End
End
Begin VB.CommandButton Command5
Caption = "迁出此人"
Height = 375
Left = 240
TabIndex = 35
Top = 5280
Width = 1455
End
Begin VB.Frame Frame4
Caption = "迁入信息"
Height = 1215
Left = 120
TabIndex = 31
Top = 3840
Width = 9015
Begin VB.Label Label28
BorderStyle = 1 'Fixed Single
Height = 375
Left = 3840
TabIndex = 43
Top = 480
Width = 4815
End
Begin VB.Label Label22
Caption = "自何地迁入:"
Height = 375
Left = 2520
TabIndex = 34
Top = 600
Width = 1095
End
Begin VB.Label Label23
Height = 375
Left = 1440
TabIndex = 33
Top = 600
Width = 975
End
Begin VB.Label Label24
Caption = "迁入日期:"
Height = 375
Left = 240
TabIndex = 32
Top = 600
Width = 1095
End
End
Begin VB.Frame Frame3
Caption = "基本信息"
Height = 3615
Left = 120
TabIndex = 0
Top = 120
Width = 9015
Begin VB.Label Label6
BorderStyle = 1 'Fixed Single
Height = 375
Left = 6600
TabIndex = 42
Top = 2280
Width = 1335
End
Begin VB.Label Label2
BorderStyle = 1 'Fixed Single
Height = 255
Left = 1200
TabIndex = 30
Top = 360
Width = 1455
End
Begin VB.Label Label1
Caption = "所属户号:"
Height = 255
Left = 240
TabIndex = 29
Top = 360
Width = 975
End
Begin VB.Label Label5
Caption = "姓名:"
Height = 255
Left = 3360
TabIndex = 28
Top = 360
Width = 615
End
Begin VB.Label Label7
Caption = "与户主关系:"
Height = 255
Left = 6240
TabIndex = 27
Top = 360
Width = 1095
End
Begin VB.Label Label9
Caption = "身份证号:"
Height = 255
Left = 240
TabIndex = 26
Top = 960
Width = 975
End
Begin VB.Label Label10
Caption = "性别:"
Height = 255
Left = 3360
TabIndex = 25
Top = 960
Width = 735
End
Begin VB.Label Label11
Caption = "民族:"
Height = 255
Left = 5760
TabIndex = 24
Top = 960
Width = 735
End
Begin VB.Label Label12
Caption = "籍贯:"
Height = 255
Left = 240
TabIndex = 23
Top = 1680
Width = 615
End
Begin VB.Label Label13
Caption = "出生日期:"
Height = 255
Left = 3120
TabIndex = 22
Top = 1680
Width = 975
End
Begin VB.Label Label14
Caption = "年"
Height = 255
Left = 5160
TabIndex = 21
Top = 1800
Width = 255
End
Begin VB.Label Label15
Caption = "月"
Height = 255
Left = 6240
TabIndex = 20
Top = 1800
Width = 255
End
Begin VB.Label Label16
Caption = "日"
Height = 255
Left = 7320
TabIndex = 19
Top = 1800
Width = 255
End
Begin VB.Label Label17
Caption = "出生地:"
Height = 255
Left = 240
TabIndex = 18
Top = 2400
Width = 735
End
Begin VB.Label Label18
Caption = "文化程度:"
Height = 255
Left = 3120
TabIndex = 17
Top = 2400
Width = 975
End
Begin VB.Label Label19
Caption = "婚姻状况:"
Height = 255
Left = 5520
TabIndex = 16
Top = 2400
Width = 975
End
Begin VB.Label Label20
Caption = "职业:"
Height = 255
Left = 240
TabIndex = 15
Top = 3120
Width = 615
End
Begin VB.Label Label21
Caption = "工作单位:"
Height = 255
Left = 3120
TabIndex = 14
Top = 3120
Width = 975
End
Begin VB.Label Label3
BorderStyle = 1 'Fixed Single
Height = 375
Left = 7440
TabIndex = 13
Top = 240
Width = 975
End
Begin VB.Label Label4
BorderStyle = 1 'Fixed Single
Height = 375
Left = 4200
TabIndex = 12
Top = 840
Width = 735
End
Begin VB.Label Label8
BorderStyle = 1 'Fixed Single
Height = 375
Left = 6600
TabIndex = 11
Top = 840
Width = 1335
End
Begin VB.Label Label29
BorderStyle = 1 'Fixed Single
Height = 375
Left = 1200
TabIndex = 10
Top = 1560
Width = 1335
End
Begin VB.Label Label30
BorderStyle = 1 'Fixed Single
Height = 255
Left = 4200
TabIndex = 9
Top = 1680
Width = 855
End
Begin VB.Label Label31
BorderStyle = 1 'Fixed Single
Height = 255
Left = 5520
TabIndex = 8
Top = 1680
Width = 615
End
Begin VB.Label Label36
BorderStyle = 1 'Fixed Single
Height = 255
Left = 6600
TabIndex = 7
Top = 1680
Width = 615
End
Begin VB.Label Label34
BorderStyle = 1 'Fixed Single
Height = 375
Left = 1200
TabIndex = 6
Top = 2280
Width = 1335
End
Begin VB.Label Label38
BorderStyle = 1 'Fixed Single
Height = 375
Left = 4200
TabIndex = 5
Top = 240
Width = 1335
End
Begin VB.Label Label39
BorderStyle = 1 'Fixed Single
Height = 255
Left = 1200
TabIndex = 4
Top = 960
Width = 1695
End
Begin VB.Label Label40
BorderStyle = 1 'Fixed Single
Height = 375
Left = 1200
TabIndex = 3
Top = 3000
Width = 1335
End
Begin VB.Label Label41
BorderStyle = 1 'Fixed Single
Height = 375
Left = 4200
TabIndex = 2
Top = 2280
Width = 855
End
Begin VB.Label Label43
BorderStyle = 1 'Fixed Single
Height = 375
Left = 4200
TabIndex = 1
Top = 3000
Width = 4335
End
End
Begin VB.Frame Frame1
Enabled = 0 'False
Height = 615
Left = 120
TabIndex = 48
Top = 5160
Visible = 0 'False
Width = 9015
Begin VB.OptionButton Option2
Caption = "此人已迁出"
Enabled = 0 'False
Height = 255
Left = 2520
TabIndex = 50
Top = 240
Width = 1815
End
Begin VB.OptionButton Option1
Caption = "此人未迁出"
Height = 255
Left = 240
TabIndex = 49
Top = 240
Value = -1 'True
Width = 1815
End
End
End
Attribute VB_Name = "frmqcren"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
Unload frmqcren
'初始化主窗口
mainfrm.guanli.Enabled = True
mainfrm.chaxun.Enabled = True
mainfrm.tongji.Enabled = True
If userid = "admin" Then
mainfrm.xitong.Enabled = True
mainfrm.bdb.Enabled = True
Else
mainfrm.xitong.Enabled = False
mainfrm.bdb.Enabled = False
End If
mainfrm.Command1.Enabled = True
mainfrm.Command2.Enabled = True
mainfrm.Command3.Enabled = True
If userid = "admin" Then
mainfrm.Command4.Enabled = True
Else
mainfrm.Command4.Enabled = False
End If
GetStatus "<就绪>"
End Sub
Private Sub Command2_Click()
Unload frmqcren
'初始化主窗口
mainfrm.guanli.Enabled = True
mainfrm.chaxun.Enabled = True
mainfrm.tongji.Enabled = True
If userid = "admin" Then
mainfrm.xitong.Enabled = True
mainfrm.bdb.Enabled = True
Else
mainfrm.xitong.Enabled = False
mainfrm.bdb.Enabled = False
End If
mainfrm.Command1.Enabled = True
mainfrm.Command2.Enabled = True
mainfrm.Command3.Enabled = True
If userid = "admin" Then
mainfrm.Command4.Enabled = True
Else
mainfrm.Command4.Enabled = False
End If
GetStatus "<就绪>"
End Sub
Private Sub Command3_Click()
ts3.Show
Beep
frmqcren.Enabled = False
mainfrm.Enabled = False
End Sub
Private Sub Command5_Click()
If Text8.Text = "" Then
MsgBox "请输入迁出到何地", , "警告"
Text8.SetFocus
Else
ts2.Show
Beep
frmqcren.Enabled = False
mainfrm.Enabled = False
End If
End Sub
Private Sub Form_Load()
Label26.Caption = Date
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -