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

📄 addclass.frm

📁 是我应我们学校学工部做的软件,其主要是解决想我们学校这样的条件--各个办公室之间还没有建立联网,而且学校分为两个校区(又不在一个城市).   因此
💻 FRM
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form addclass 
   BorderStyle     =   4  'Fixed ToolWindow
   Caption         =   "增加班级"
   ClientHeight    =   1875
   ClientLeft      =   45
   ClientTop       =   270
   ClientWidth     =   4845
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1875
   ScaleWidth      =   4845
   ShowInTaskbar   =   0   'False
   StartUpPosition =   1  'CenterOwner
   Begin VB.TextBox Text1 
      Alignment       =   1  'Right Justify
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   1560
      TabIndex        =   4
      Text            =   "1"
      Top             =   720
      Width           =   2895
   End
   Begin VB.PictureBox Picture1 
      BackColor       =   &H00FFE09E&
      Height          =   1815
      Left            =   0
      Picture         =   "addclass.frx":0000
      ScaleHeight     =   1755
      ScaleWidth      =   1275
      TabIndex        =   3
      TabStop         =   0   'False
      Top             =   0
      Width           =   1335
      Begin VB.Image Image1 
         Height          =   720
         Left            =   240
         Picture         =   "addclass.frx":3A064
         Stretch         =   -1  'True
         Top             =   120
         Width           =   720
      End
   End
   Begin VB.CommandButton Command4 
      Cancel          =   -1  'True
      Caption         =   "取  消(&C)"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   3120
      TabIndex        =   2
      Top             =   1440
      Width           =   1575
   End
   Begin VB.CommandButton Command2 
      Caption         =   "确  定(&Y)"
      Default         =   -1  'True
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   1440
      TabIndex        =   1
      Top             =   1440
      Width           =   1575
   End
   Begin MSComCtl2.UpDown UpDown1 
      Height          =   375
      Left            =   4440
      TabIndex        =   0
      Top             =   720
      Width           =   240
      _ExtentX        =   423
      _ExtentY        =   661
      _Version        =   393216
      Value           =   1
      BuddyControl    =   "Text1"
      BuddyDispid     =   196613
      OrigLeft        =   4456
      OrigTop         =   720
      OrigRight       =   4696
      OrigBottom      =   1095
      Max             =   100
      Min             =   1
      SyncBuddy       =   -1  'True
      BuddyProperty   =   65547
      Enabled         =   -1  'True
   End
   Begin VB.Label Label1 
      Caption         =   "请输入添加年级的级别(&N)"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FF0000&
      Height          =   495
      Left            =   1560
      TabIndex        =   5
      Top             =   120
      Width           =   3135
   End
End
Attribute VB_Name = "addclass"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public kk As String
Public yesno As Boolean

Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
    If KeyCode = 38 And Text1.Text < 100 Then Text1.Text = Text1.Text + 1
    If KeyCode = 40 And Text1.Text > 1 Then Text1.Text = Text1.Text - 1
    
    KeyCode = 0
    Shift = 0
End Sub

Private Sub Command2_Click()
    b$ = Trim(Text1.Text)
    kk = b$
    yesno = True
    Unload Me
End Sub

Private Sub Command4_Click()
    yesno = False
    Unload Me
End Sub

Private Sub Form_Load()
    yesno = False
End Sub

Private Sub Text1_KeyPress(KeyAscii As Integer)
   
    KeyAscii = 0
End Sub


⌨️ 快捷键说明

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