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

📄 addnewform.frm

📁 一个银行的管理系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form addNewForm 
   Caption         =   "开户"
   ClientHeight    =   5775
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   6930
   LinkTopic       =   "Form1"
   ScaleHeight     =   5775
   ScaleWidth      =   6930
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton Command2 
      Caption         =   "取消"
      Height          =   495
      Left            =   4200
      TabIndex        =   12
      Top             =   4560
      Width           =   1815
   End
   Begin VB.CommandButton Command1 
      Caption         =   "确定"
      Height          =   495
      Left            =   720
      TabIndex        =   11
      Top             =   4560
      Width           =   1815
   End
   Begin VB.ComboBox Combo1 
      Height          =   300
      ItemData        =   "addNewForm.frx":0000
      Left            =   1440
      List            =   "addNewForm.frx":000A
      TabIndex        =   9
      Text            =   "选择"
      Top             =   1800
      Width           =   1335
   End
   Begin VB.TextBox Text4 
      Height          =   375
      Left            =   1440
      TabIndex        =   8
      Top             =   3720
      Width           =   4815
   End
   Begin VB.TextBox Text3 
      Height          =   375
      Left            =   4200
      TabIndex        =   7
      Top             =   1680
      Width           =   2055
   End
   Begin VB.TextBox Text2 
      Height          =   375
      Left            =   1440
      TabIndex        =   6
      Top             =   2880
      Width           =   4695
   End
   Begin VB.TextBox Text1 
      Height          =   375
      Left            =   1440
      TabIndex        =   5
      Top             =   720
      Width           =   1335
   End
   Begin VB.Label Label7 
      BeginProperty Font 
         Name            =   "华文行楷"
         Size            =   15.75
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   4200
      TabIndex        =   13
      Top             =   600
      Width           =   2055
   End
   Begin VB.Label Label6 
      Caption         =   "帐号"
      Height          =   255
      Left            =   3360
      TabIndex        =   10
      Top             =   840
      Width           =   495
   End
   Begin VB.Label Label5 
      Caption         =   "联系地址"
      Height          =   255
      Left            =   480
      TabIndex        =   4
      Top             =   3840
      Width           =   855
   End
   Begin VB.Label Label4 
      Caption         =   "联系电话"
      Height          =   375
      Left            =   3120
      TabIndex        =   3
      Top             =   1800
      Width           =   855
   End
   Begin VB.Label Label3 
      Caption         =   "身份证号"
      Height          =   255
      Left            =   480
      TabIndex        =   2
      Top             =   3000
      Width           =   735
   End
   Begin VB.Label Label2 
      Caption         =   "性别"
      Height          =   255
      Left            =   600
      TabIndex        =   1
      Top             =   1800
      Width           =   495
   End
   Begin VB.Label Label1 
      Caption         =   "姓名"
      Height          =   255
      Left            =   600
      TabIndex        =   0
      Top             =   840
      Width           =   615
   End
End
Attribute VB_Name = "addNewForm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
  Dim sign As Boolean
  sign = True
  If Text1.Text = "" Then
      MsgBox "请输入姓名", vbOKOnly + vbExclamation, "警告"
      sign = False
  End If
  If Text2.Text = "" Then
     MsgBox "请输入身份证号", vbOKOnly + vbExclamation, "警告"
     sign = False
  End If
  If Text3.Text = "" Then
     MsgBox "请输入电话", vbOKOnly + vbExclamation, "警告"
     sign = False
  End If
  If Text4.Text = "" Then
     MsgBox "请输入地址", vbOKOnly + vbExclamation, "警告"
     sign = False
  End If
  If Combo1.Text = "选择" Then
     MsgBox "请选择性别", vbOKOnly + vbExclamation, "警告"
     sign = False
  End If
     If sign Then
     Me.Hide
     confirmPswForm.Show
     Else:  MsgBox "请重新输入", vbOKOnly + vbExclamation, "警告"
     End If
     
End Sub

Private Sub Command2_Click()
  Unload Me
  
End Sub





⌨️ 快捷键说明

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