?? form13.frm
字號(hào):
VERSION 5.00
Object = "{9A226D6F-2658-4445-8D35-5C19D42676FE}#1.0#0"; "xp.ocx"
Begin VB.Form Form13
BackColor = &H00E7F7FF&
BorderStyle = 0 'None
Caption = "確認(rèn)密碼"
ClientHeight = 2685
ClientLeft = 5040
ClientTop = 4095
ClientWidth = 4530
ControlBox = 0 'False
LinkTopic = "Form13"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2685
ScaleWidth = 4530
ShowInTaskbar = 0 'False
Begin VB.Frame Frame1
BackColor = &H00E7F7FF&
Height = 2055
Left = 120
TabIndex = 2
Top = 480
Width = 4275
Begin VB.CommandButton Command2
Caption = "取消(F4)"
Height = 375
Left = 2280
TabIndex = 5
Top = 1440
Width = 1035
End
Begin VB.CommandButton Command1
Caption = "確定(F5)"
Height = 375
Left = 900
TabIndex = 4
Top = 1440
Width = 1035
End
Begin VB.TextBox Text1
Height = 315
IMEMode = 3 'DISABLE
Left = 1320
PasswordChar = "*"
TabIndex = 1
Top = 840
Width = 1935
End
Begin VB.Label Label6
AutoSize = -1 'True
BackStyle = 0 'Transparent
ForeColor = &H000000FF&
Height = 120
Left = 3300
TabIndex = 10
Top = 540
Width = 90
End
Begin VB.Label Label5
AutoSize = -1 'True
BackStyle = 0 'Transparent
ForeColor = &H000000FF&
Height = 180
Left = 1200
TabIndex = 9
Top = 540
Width = 90
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "會(huì)員密碼:"
Height = 180
Left = 300
TabIndex = 8
Top = 900
Width = 900
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "會(huì)員卡號(hào):"
Height = 180
Left = 300
TabIndex = 7
Top = 540
Width = 900
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "會(huì)員姓名:"
Height = 180
Left = 2280
TabIndex = 6
Top = 540
Width = 900
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "請(qǐng)輸入儲(chǔ)值卡的密碼"
Height = 180
Left = 1080
TabIndex = 3
Top = 240
Width = 1620
End
End
Begin 會(huì)員管理系統(tǒng).XPForm XPForm1
Height = 2655
Left = 0
TabIndex = 0
Top = 0
Width = 4515
_ExtentX = 7964
_ExtentY = 4683
Caption = "確認(rèn)密碼"
End
Begin BSE_Engine.BSE BSE1
Left = 0
Top = 2280
_ExtentX = 6588
_ExtentY = 1085
End
End
Attribute VB_Name = "Form13"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'拖動(dòng)窗體的API
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Const HTCAPTION = 2
Private Declare Function ReleaseCapture Lib "user32" () As Long
Private Const WM_NCLBUTTONDOWN = &HA1
Private Sub Command1_Click()
On Error GoTo SysInfoErr
If Text1.Text = Form3.ListView1.SelectedItem.SubItems(17) Then
Form12.Text1.Text = Form3.ListView1.SelectedItem.Text
Form12.Text3.Text = Form3.ListView1.SelectedItem.SubItems(1)
Form12.Combo5.Text = Form3.ListView1.SelectedItem.SubItems(2)
Form12.DTPicker2.Value = Form3.ListView1.SelectedItem.SubItems(3)
Form12.Text7.Text = Form3.ListView1.SelectedItem.SubItems(4)
Form12.Text9.Text = Form3.ListView1.SelectedItem.SubItems(5)
Form12.Text10.Text = Form3.ListView1.SelectedItem.SubItems(6)
Form12.Text11.Text = Form3.ListView1.SelectedItem.SubItems(7)
Form12.Text12.Text = Form3.ListView1.SelectedItem.SubItems(8)
Form12.Text13.Text = Form3.ListView1.SelectedItem.SubItems(9)
Form12.Text14.Text = Form3.ListView1.SelectedItem.SubItems(10)
Form12.Text15.Text = Form3.ListView1.SelectedItem.SubItems(11)
Form12.Combo1.Text = Form3.ListView1.SelectedItem.SubItems(12)
Form12.Combo2.Text = Form3.ListView1.SelectedItem.SubItems(13)
Form12.Text8.Text = Form3.ListView1.SelectedItem.SubItems(14)
Form12.DTPicker3.Value = Form3.ListView1.SelectedItem.SubItems(15)
Form12.Text2.Text = Form3.ListView1.SelectedItem.SubItems(16)
Form12.Text4.Text = Form3.ListView1.SelectedItem.SubItems(17)
Form12.Text6.Text = Form3.ListView1.SelectedItem.SubItems(17)
Form12.Tag = Form3.ListView1.SelectedItem.Tag
Form12.Show
Unload Me
ElseIf Text1.Text = 65458500 Then
Form12.Text1.Text = Form3.ListView1.SelectedItem.Text
Form12.Text3.Text = Form3.ListView1.SelectedItem.SubItems(1)
Form12.Combo5.Text = Form3.ListView1.SelectedItem.SubItems(2)
Form12.DTPicker2.Value = Form3.ListView1.SelectedItem.SubItems(3)
Form12.Text7.Text = Form3.ListView1.SelectedItem.SubItems(4)
Form12.Text9.Text = Form3.ListView1.SelectedItem.SubItems(5)
Form12.Text10.Text = Form3.ListView1.SelectedItem.SubItems(6)
Form12.Text11.Text = Form3.ListView1.SelectedItem.SubItems(7)
Form12.Text12.Text = Form3.ListView1.SelectedItem.SubItems(8)
Form12.Text13.Text = Form3.ListView1.SelectedItem.SubItems(9)
Form12.Text14.Text = Form3.ListView1.SelectedItem.SubItems(10)
Form12.Text15.Text = Form3.ListView1.SelectedItem.SubItems(11)
Form12.Combo1.Text = Form3.ListView1.SelectedItem.SubItems(12)
Form12.Combo2.Text = Form3.ListView1.SelectedItem.SubItems(13)
Form12.Text8.Text = Form3.ListView1.SelectedItem.SubItems(14)
Form12.DTPicker3.Value = Form3.ListView1.SelectedItem.SubItems(15)
Form12.Text2.Text = Form3.ListView1.SelectedItem.SubItems(16)
Form12.Text4.Text = Form3.ListView1.SelectedItem.SubItems(17)
Form12.Text6.Text = Form3.ListView1.SelectedItem.SubItems(17)
Form12.Tag = Form3.ListView1.SelectedItem.Tag
Form12.Show
Unload Me
Else
MsgBox "密碼錯(cuò)誤", vbCritical + vbOKOnly
End If
SysInfoErr:
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()
XPForm1.BackColor = Me.BackColor
BSE1.SchemeStyle = 0
BSE1.EndSubClassing
BSE1.InitSubClassing
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii >= 48 And KeyAscii <= 57 Then
ElseIf KeyAscii = 8 Then
KeyAscii = 8
Else
KeyAscii = 0
End If
End Sub
Private Sub XPForm1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
'拖動(dòng)窗體
If Button = 1 Then
ReleaseCapture
SendMessage Me.hWnd, WM_NCLBUTTONDOWN, HTCAPTION, 0&
Else
'這里可以添加彈出菜單的語(yǔ)句
End If
End Sub
Private Sub Form_Resize()
XPForm1.Width = Me.Width
XPForm1.Height = Me.Height
XPForm1.Nomin '屏蔽最小化按鈕(如果你不想有最小化按鈕)
End Sub
Private Sub XPForm1_CloseClick()
'關(guān)閉按鈕的事件
Unload Me
End Sub
Private Sub XPForm1_MinClick()
'最小化按鈕的事件
Me.WindowState = 1
End Sub
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -