?? frmqueery.frm
字號:
VERSION 5.00
Begin VB.Form Frmqueery
Caption = "Form1"
ClientHeight = 4620
ClientLeft = 60
ClientTop = 450
ClientWidth = 6990
LinkTopic = "Form1"
ScaleHeight = 4620
ScaleWidth = 6990
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Cmdquit
Caption = "退出(C)"
Height = 495
Left = 4200
TabIndex = 7
Top = 3240
Width = 1455
End
Begin VB.CommandButton Cmdqueery
Caption = "重新查詢(N)"
Height = 495
Left = 1440
TabIndex = 6
Top = 3240
Width = 1455
End
Begin VB.TextBox txtbirth
Height = 495
Left = 2520
TabIndex = 5
Top = 2280
Width = 2055
End
Begin VB.TextBox txtcode
Height = 495
Left = 2520
TabIndex = 4
Top = 1560
Width = 2055
End
Begin VB.TextBox txtpersonname
Height = 495
Left = 2520
TabIndex = 3
Top = 720
Width = 2055
End
Begin VB.Label Label3
Caption = "生日"
Height = 495
Left = 840
TabIndex = 2
Top = 2280
Width = 1215
End
Begin VB.Label Label2
Caption = "電話號碼"
Height = 495
Left = 840
TabIndex = 1
Top = 1440
Width = 1215
End
Begin VB.Label Label1
Caption = "姓名"
Height = 495
Left = 840
TabIndex = 0
Top = 720
Width = 1215
End
End
Attribute VB_Name = "Frmqueery"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Cmdqueery_Click()
FrmLogin.Show
Unload Frmqueery
End Sub
Private Sub Cmdquit_Click()
Unload FrmLogin
Unload Me
End Sub
Private Sub Form_Load()
For i = 1 To 10
arrname(i) = "person" & i
arrtele(i) = "6278567" & i
arrbirthday(i) = "1997-1-" & i
Next i
For i = 1 To 10
If arrname(i) = FrmLogin.txtname.Text Then
txtpersonname.Text = arrname(i)
txtcode.Text = arrtele(i)
txtbirth.Text = arrbirthday(i)
Exit For
End If
Next i
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -