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

📄 式子计算.frm

📁 包括式子计算和一般计算器功能。用栈实现式子计算功能
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Begin VB.Form 式子计算 
   AutoRedraw      =   -1  'True
   BackColor       =   &H0080FFFF&
   Caption         =   "计算器"
   ClientHeight    =   5910
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   9135
   DrawMode        =   14  'Copy Pen
   FillColor       =   &H00404040&
   BeginProperty Font 
      Name            =   "宋体"
      Size            =   24
      Charset         =   134
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   Icon            =   "式子计算.frx":0000
   LinkTopic       =   "Form1"
   Palette         =   "式子计算.frx":0ECA
   Picture         =   "式子计算.frx":70AF
   ScaleHeight     =   5910
   ScaleMode       =   0  'User
   ScaleWidth      =   9016.556
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command7 
      BackColor       =   &H0000FF00&
      Caption         =   "式子计算"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   14.25
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Index           =   1
      Left            =   1800
      MaskColor       =   &H0080FF80&
      Picture         =   "式子计算.frx":2799B
      Style           =   1  'Graphical
      TabIndex        =   24
      ToolTipText     =   "输入一个式子计算结果"
      Top             =   0
      Width           =   1335
   End
   Begin VB.CommandButton Command7 
      Caption         =   "普通计算"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   14.25
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Index           =   0
      Left            =   240
      Picture         =   "式子计算.frx":27B8C
      Style           =   1  'Graphical
      TabIndex        =   23
      ToolTipText     =   "一般计算器功能"
      Top             =   0
      Width           =   1335
   End
   Begin VB.CommandButton Command3 
      Caption         =   "="
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   72
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   1575
      Left            =   5280
      Picture         =   "式子计算.frx":27D7D
      Style           =   1  'Graphical
      TabIndex        =   22
      ToolTipText     =   "计算结果"
      Top             =   3720
      Width           =   2175
   End
   Begin VB.CommandButton Command9 
      Caption         =   "退格"
      Height          =   975
      Left            =   5280
      Picture         =   "式子计算.frx":27F6E
      Style           =   1  'Graphical
      TabIndex        =   21
      ToolTipText     =   "删除显示的最后一个字符"
      Top             =   1800
      Width           =   2175
   End
   Begin VB.CommandButton Command6 
      BackColor       =   &H000000FF&
      Caption         =   "关闭"
      Height          =   855
      Left            =   7680
      MaskColor       =   &H000000FF&
      Picture         =   "式子计算.frx":2815F
      Style           =   1  'Graphical
      TabIndex        =   20
      ToolTipText     =   "关闭程序"
      Top             =   4440
      Width           =   1335
   End
   Begin VB.CommandButton Command5 
      Caption         =   "AC"
      Height          =   735
      Left            =   7680
      Picture         =   "式子计算.frx":28273
      Style           =   1  'Graphical
      TabIndex        =   19
      ToolTipText     =   "全部清零"
      Top             =   2640
      Width           =   1335
   End
   Begin VB.CommandButton Command4 
      Caption         =   "CE"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   21.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   720
      Left            =   7680
      Picture         =   "式子计算.frx":28387
      Style           =   1  'Graphical
      TabIndex        =   18
      ToolTipText     =   "清除当前操作数"
      Top             =   1800
      Width           =   1335
   End
   Begin VB.CommandButton Command8 
      Caption         =   ")"
      Height          =   735
      Index           =   1
      Left            =   6480
      Picture         =   "式子计算.frx":2849B
      Style           =   1  'Graphical
      TabIndex        =   17
      ToolTipText     =   "输入右括号"
      Top             =   2880
      Width           =   975
   End
   Begin VB.CommandButton Command8 
      Caption         =   "("
      Height          =   735
      Index           =   0
      Left            =   5280
      Picture         =   "式子计算.frx":285AF
      Style           =   1  'Graphical
      TabIndex        =   16
      ToolTipText     =   "输入左括号"
      Top             =   2880
      Width           =   975
   End
   Begin VB.CommandButton Command2 
      Caption         =   "÷"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   42
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Index           =   3
      Left            =   3840
      Picture         =   "式子计算.frx":286C3
      Style           =   1  'Graphical
      TabIndex        =   15
      Top             =   4560
      Width           =   1095
   End
   Begin VB.CommandButton Command2 
      Caption         =   "×"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   42
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Index           =   2
      Left            =   3840
      Picture         =   "式子计算.frx":287D7
      Style           =   1  'Graphical
      TabIndex        =   14
      Top             =   3720
      Width           =   1095
   End
   Begin VB.CommandButton Command2 
      Caption         =   "-"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   42
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Index           =   1
      Left            =   3840
      Picture         =   "式子计算.frx":288EB
      Style           =   1  'Graphical
      TabIndex        =   13
      Top             =   2880
      Width           =   1095
   End
   Begin VB.CommandButton Command2 
      Caption         =   "+"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   42
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   945
      Index           =   0
      Left            =   3840
      Picture         =   "式子计算.frx":289FF
      Style           =   1  'Graphical
      TabIndex        =   12
      Top             =   1800
      Width           =   1095
   End
   Begin VB.CommandButton Command1 
      Appearance      =   0  'Flat
      Caption         =   "."
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   26.25
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Index           =   10
      Left            =   2520
      Picture         =   "式子计算.frx":28B13
      Style           =   1  'Graphical
      TabIndex        =   11
      Top             =   4680
      Width           =   975
   End
   Begin VB.CommandButton Command1 
      Caption         =   "9"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Index           =   9
      Left            =   2520
      Picture         =   "式子计算.frx":28C27
      Style           =   1  'Graphical
      TabIndex        =   10
      Top             =   1800
      Width           =   975
   End
   Begin VB.CommandButton Command1 
      Caption         =   "8"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Index           =   8
      Left            =   1440
      Picture         =   "式子计算.frx":28CC7
      Style           =   1  'Graphical
      TabIndex        =   9
      Top             =   1800
      Width           =   975
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H0000FFFF&
      Caption         =   "7"
      Default         =   -1  'True
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Index           =   7
      Left            =   360
      Picture         =   "式子计算.frx":28D67
      Style           =   1  'Graphical
      TabIndex        =   8
      Top             =   1800
      Width           =   975
   End
   Begin VB.CommandButton Command1 
      Caption         =   "6"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Index           =   6
      Left            =   2520
      Picture         =   "式子计算.frx":28E07
      Style           =   1  'Graphical
      TabIndex        =   7
      Top             =   2760
      Width           =   975
   End
   Begin VB.CommandButton Command1 
      Caption         =   "5"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Index           =   5
      Left            =   1440
      Picture         =   "式子计算.frx":28EA7
      Style           =   1  'Graphical
      TabIndex        =   6
      Top             =   2760
      Width           =   975
   End
   Begin VB.CommandButton Command1 
      Caption         =   "4"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Index           =   4
      Left            =   360
      Picture         =   "式子计算.frx":28F47
      Style           =   1  'Graphical
      TabIndex        =   5
      Top             =   2760
      Width           =   975
   End
   Begin VB.CommandButton Command1 
      Caption         =   "3"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Index           =   3
      Left            =   2520
      Picture         =   "式子计算.frx":28FE7
      Style           =   1  'Graphical
      TabIndex        =   4
      Top             =   3720
      Width           =   975
   End
   Begin VB.CommandButton Command1 
      Caption         =   "2"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Index           =   2
      Left            =   1440
      Picture         =   "式子计算.frx":29087
      Style           =   1  'Graphical
      TabIndex        =   3
      Top             =   3720
      Width           =   975
   End
   Begin VB.CommandButton Command1 

⌨️ 快捷键说明

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