⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form13.frm

📁 会员管理系统 功能自己扩展把! 如果有改进给我发一份quweijie8@126.com 这个比较适合初学者``` Q:151693707 msn:quweijie8@hotmail.com
💻 FRM
字号:
VERSION 5.00
Object = "{9A226D6F-2658-4445-8D35-5C19D42676FE}#1.0#0"; "xp.ocx"
Begin VB.Form Form13 
   BackColor       =   &H00E7F7FF&
   BorderStyle     =   0  'None
   Caption         =   "确认密码"
   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         =   "会员密码:"
         Height          =   180
         Left            =   300
         TabIndex        =   8
         Top             =   900
         Width           =   900
      End
      Begin VB.Label Label2 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "会员卡号:"
         Height          =   180
         Left            =   300
         TabIndex        =   7
         Top             =   540
         Width           =   900
      End
      Begin VB.Label Label3 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "会员姓名:"
         Height          =   180
         Left            =   2280
         TabIndex        =   6
         Top             =   540
         Width           =   900
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "请输入储值卡的密码"
         Height          =   180
         Left            =   1080
         TabIndex        =   3
         Top             =   240
         Width           =   1620
      End
   End
   Begin 会员管理系统.XPForm XPForm1 
      Height          =   2655
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   4515
      _ExtentX        =   7964
      _ExtentY        =   4683
      Caption         =   "确认密码"
   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
'拖动窗体的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 "密码错误", 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)
'拖动窗体
If Button = 1 Then
ReleaseCapture
SendMessage Me.hWnd, WM_NCLBUTTONDOWN, HTCAPTION, 0&
Else
'这里可以添加弹出菜单的语句
End If

End Sub

Private Sub Form_Resize()
XPForm1.Width = Me.Width
XPForm1.Height = Me.Height
XPForm1.Nomin '屏蔽最小化按钮(如果你不想有最小化按钮)
End Sub

Private Sub XPForm1_CloseClick()
'关闭按钮的事件
Unload Me
End Sub

Private Sub XPForm1_MinClick()
'最小化按钮的事件
Me.WindowState = 1
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -