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

📄 form9.frm

📁 用VB来实现学生信息管理系统的界面
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form9 
   Caption         =   "Form9"
   ClientHeight    =   3075
   ClientLeft      =   60
   ClientTop       =   465
   ClientWidth     =   4680
   LinkTopic       =   "Form9"
   ScaleHeight     =   3075
   ScaleWidth      =   4680
   StartUpPosition =   3  '窗口缺省
   Begin VB.TextBox Text1 
      Height          =   375
      Left            =   960
      TabIndex        =   3
      Top             =   240
      Width           =   975
   End
   Begin VB.TextBox Text2 
      Height          =   375
      Left            =   2760
      TabIndex        =   2
      Top             =   240
      Width           =   1095
   End
   Begin VB.TextBox Text3 
      Height          =   495
      Left            =   1560
      TabIndex        =   1
      Top             =   2040
      Width           =   2415
   End
   Begin VB.CommandButton Command1 
      Caption         =   "计算"
      Height          =   375
      Left            =   2280
      TabIndex        =   0
      Top             =   1080
      Width           =   1215
   End
   Begin VB.Label Label1 
      Caption         =   "n"
      Height          =   375
      Left            =   480
      TabIndex        =   8
      Top             =   240
      Width           =   375
   End
   Begin VB.Label Label2 
      Caption         =   "m"
      Height          =   375
      Left            =   2400
      TabIndex        =   7
      Top             =   240
      Width           =   255
   End
   Begin VB.Label Label3 
      Caption         =   "C"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   18
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   600
      TabIndex        =   6
      Top             =   2040
      Width           =   255
   End
   Begin VB.Label Label4 
      Caption         =   "m"
      Height          =   255
      Left            =   840
      TabIndex        =   5
      Top             =   2040
      Width           =   135
   End
   Begin VB.Label Label5 
      Caption         =   "n"
      Height          =   375
      Left            =   840
      TabIndex        =   4
      Top             =   2280
      Width           =   255
   End
End
Attribute VB_Name = "Form9"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public y As Integer
Public Sub js(x)
    y = 1
    For i = 1 To x
        y = y * i
    Next i
End Sub

Private Sub Command1_Click()
    Call js(Val(Text1))
    s = y
    Call js(Val(Text2))
    s = s / y
    Call js(Val(Text1) - Val(Text2))
    s = s / y
    Text3 = s
End Sub

⌨️ 快捷键说明

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