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

📄 usertype.frm

📁 本课程设计介绍了一个基于Client/Server模式的商品销售管理系统的设计与实现。运用Visual Basic.Net结合Microsoft SQL Server 2000开发的登录模块主要用于验
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmUserType 
   BorderStyle     =   4  'Fixed ToolWindow
   Caption         =   "用户类型"
   ClientHeight    =   2460
   ClientLeft      =   45
   ClientTop       =   285
   ClientWidth     =   4215
   BeginProperty Font 
      Name            =   "华文行楷"
      Size            =   10.5
      Charset         =   134
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   Picture         =   "UserType.frx":0000
   ScaleHeight     =   2460
   ScaleWidth      =   4215
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton cmdOK 
      Caption         =   "确定"
      Default         =   -1  'True
      BeginProperty Font 
         Name            =   "方正舒体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   2760
      TabIndex        =   5
      Top             =   600
      Width           =   1095
   End
   Begin VB.CommandButton cmdCancel 
      Cancel          =   -1  'True
      Caption         =   "取消"
      BeginProperty Font 
         Name            =   "方正舒体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   2760
      TabIndex        =   4
      Top             =   1440
      Width           =   1095
   End
   Begin VB.Frame fraUserType 
      BackColor       =   &H00000000&
      Caption         =   "请选择用户类型"
      BeginProperty Font 
         Name            =   "方正舒体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FF00FF&
      Height          =   1935
      Left            =   360
      TabIndex        =   0
      Top             =   240
      Width           =   2175
      Begin VB.OptionButton optUserType 
         BackColor       =   &H00000000&
         Caption         =   "销售人员"
         BeginProperty Font 
            Name            =   "方正舒体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00FF00FF&
         Height          =   495
         Index           =   2
         Left            =   360
         TabIndex        =   3
         Top             =   1200
         Width           =   1455
      End
      Begin VB.OptionButton optUserType 
         BackColor       =   &H00000000&
         Caption         =   "仓管人员"
         BeginProperty Font 
            Name            =   "方正舒体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00FF00FF&
         Height          =   495
         Index           =   1
         Left            =   360
         TabIndex        =   2
         Top             =   720
         Width           =   1455
      End
      Begin VB.OptionButton optUserType 
         BackColor       =   &H00000000&
         Caption         =   "管理人员"
         BeginProperty Font 
            Name            =   "方正舒体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00FF00FF&
         Height          =   495
         Index           =   0
         Left            =   360
         TabIndex        =   1
         Top             =   240
         Width           =   1455
      End
   End
End
Attribute VB_Name = "frmUserType"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Public mnUserType As Integer

Private Sub cmdCancel_Click()
    mnUserType = -1
    
    Me.Hide
End Sub

Private Sub cmdOK_Click()
    Me.Hide
End Sub

Private Sub Form_Load()
    optUserType(0).Value = True
    
    mnUserType = -1
End Sub

Private Sub optUserType_Click(Index As Integer)
    mnUserType = Index
End Sub

⌨️ 快捷键说明

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