📄 frmqchu.frm
字号:
VERSION 5.00
Begin VB.Form frmqchu
Caption = "迁出户口"
ClientHeight = 8085
ClientLeft = 60
ClientTop = 345
ClientWidth = 9300
ControlBox = 0 'False
LinkTopic = "Form1"
MDIChild = -1 'True
ScaleHeight = 8085
ScaleWidth = 9300
WindowState = 2 'Maximized
Begin VB.CommandButton Command4
Caption = "迁出此户"
Height = 375
Left = 240
TabIndex = 29
Top = 5160
Width = 1455
End
Begin VB.CommandButton Command3
Caption = "注销"
Enabled = 0 'False
Height = 375
Left = 5640
TabIndex = 28
Top = 7320
Visible = 0 'False
Width = 855
End
Begin VB.CommandButton Command2
Caption = "取消"
Enabled = 0 'False
Height = 375
Left = 2520
TabIndex = 27
Top = 7320
Visible = 0 'False
Width = 855
End
Begin VB.CommandButton Command1
Caption = "取消"
Height = 375
Left = 4080
TabIndex = 21
Top = 7320
Width = 855
End
Begin VB.Frame Frame3
Caption = "迁出信息"
Height = 1215
Left = 120
TabIndex = 15
Top = 5760
Width = 9015
Begin VB.TextBox Text4
Height = 375
Left = 3840
MaxLength = 150
TabIndex = 16
Top = 480
Width = 4695
End
Begin VB.Label Label19
BorderStyle = 1 'Fixed Single
Enabled = 0 'False
Height = 375
Left = 3840
TabIndex = 33
Top = 480
Visible = 0 'False
Width = 4695
End
Begin VB.Label Label12
Caption = "迁出日期:"
Height = 375
Left = 240
TabIndex = 20
Top = 600
Width = 975
End
Begin VB.Label Label13
Height = 375
Left = 1320
TabIndex = 19
Top = 600
Width = 975
End
Begin VB.Label Label14
Caption = "迁出到何地:"
Height = 375
Left = 2520
TabIndex = 18
Top = 600
Width = 1095
End
Begin VB.Label Label20
Caption = "*"
ForeColor = &H000000FF&
Height = 135
Left = 8640
TabIndex = 17
Top = 600
Width = 135
End
End
Begin VB.Frame Frame2
Caption = "迁入信息"
Height = 1215
Left = 120
TabIndex = 11
Top = 3720
Width = 9015
Begin VB.Label Label18
BorderStyle = 1 'Fixed Single
Height = 375
Left = 3840
TabIndex = 26
Top = 480
Width = 4695
End
Begin VB.Label Label8
Caption = "迁入日期:"
Height = 375
Left = 240
TabIndex = 14
Top = 600
Width = 975
End
Begin VB.Label Label9
Height = 375
Left = 1320
TabIndex = 13
Top = 600
Width = 975
End
Begin VB.Label Label10
Caption = "自何地迁入:"
Height = 375
Left = 2520
TabIndex = 12
Top = 600
Width = 1095
End
End
Begin VB.Frame Frame5
Height = 735
Left = 2160
TabIndex = 8
Top = 2880
Width = 1695
Begin VB.OptionButton Option3
Caption = "是"
Enabled = 0 'False
Height = 375
Left = 120
TabIndex = 10
Top = 240
Width = 615
End
Begin VB.OptionButton Option4
Caption = "否"
Height = 375
Left = 960
TabIndex = 9
Top = 240
Value = -1 'True
Width = 615
End
End
Begin VB.Frame Frame1
Caption = "户口信息"
Height = 2655
Left = 120
TabIndex = 0
Top = 120
Width = 9015
Begin VB.Label Label17
BorderStyle = 1 'Fixed Single
Height = 375
Left = 1560
TabIndex = 25
Top = 1800
Width = 5655
End
Begin VB.Label Label16
BorderStyle = 1 'Fixed Single
Height = 375
Left = 5400
TabIndex = 24
Top = 960
Width = 1815
End
Begin VB.Label Label11
BorderStyle = 1 'Fixed Single
Height = 375
Left = 1200
TabIndex = 23
Top = 960
Width = 1695
End
Begin VB.Label Label3
BorderStyle = 1 'Fixed Single
Height = 255
Left = 1200
TabIndex = 22
Top = 360
Width = 1695
End
Begin VB.Label Label2
Caption = "户号:"
Height = 255
Left = 240
TabIndex = 6
Top = 360
Width = 855
End
Begin VB.Label Label1
Caption = "户别:"
Height = 255
Left = 240
TabIndex = 5
Top = 1080
Width = 855
End
Begin VB.Label Label4
Caption = "户主姓名:"
Height = 255
Left = 4080
TabIndex = 4
Top = 1080
Width = 975
End
Begin VB.Label Label6
Caption = "登记日期:"
Height = 255
Left = 4080
TabIndex = 3
Top = 360
Width = 1095
End
Begin VB.Label Label7
Height = 255
Left = 5400
TabIndex = 2
Top = 360
Width = 2535
End
Begin VB.Label Label5
Caption = "家庭住址:"
Height = 255
Left = 240
TabIndex = 1
Top = 1920
Width = 1095
End
End
Begin VB.Frame Frame4
Enabled = 0 'False
Height = 615
Left = 120
TabIndex = 30
Top = 5040
Visible = 0 'False
Width = 9015
Begin VB.OptionButton Option1
Caption = "此户未迁出"
Height = 255
Left = 240
TabIndex = 32
Top = 240
Value = -1 'True
Width = 1815
End
Begin VB.OptionButton Option2
Caption = "此户已迁出"
Enabled = 0 'False
Height = 255
Left = 2520
TabIndex = 31
Top = 240
Width = 1815
End
End
Begin VB.Label Label15
Caption = "此户是否为迁入户"
Height = 255
Left = 240
TabIndex = 7
Top = 3240
Width = 1575
End
End
Attribute VB_Name = "frmqchu"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
Unload frmqchu
'初始化主窗口
mainfrm.guanli.Enabled = True
mainfrm.chaxun.Enabled = True
mainfrm.tongji.Enabled = True
If userid = "admin" Then
mainfrm.xitong.Enabled = True
mainfrm.bdb.Enabled = False
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 frmqchu
'初始化主窗口
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()
ts5.Show
Beep
frmqchu.Enabled = False
mainfrm.Enabled = False
End Sub
Private Sub Command4_Click()
If Text4.Text = "" Then
MsgBox "请输入迁出到何地", , "警告"
Text4.SetFocus
Else
ts4.Show
Beep
frmqchu.Enabled = False
mainfrm.Enabled = False
End If
End Sub
Private Sub Form_Load()
Label13.Caption = Date
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -