choosedialog.frm

来自「一个不仅可以进行常规运行(常规运算能一下计算一个多项式如:1.2*2-3*(3.」· FRM 代码 · 共 87 行

FRM
87
字号
VERSION 5.00
Begin VB.Form chooseDialog 
   Caption         =   "选择对话框"
   ClientHeight    =   3195
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   LinkTopic       =   "Form2"
   ScaleHeight     =   3195
   ScaleWidth      =   4680
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command1 
      Caption         =   "ok"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   840
      TabIndex        =   4
      Top             =   2520
      Width           =   1095
   End
   Begin VB.OptionButton Option3 
      Caption         =   "一元多次式计算"
      Height          =   255
      Left            =   720
      TabIndex        =   2
      Top             =   1920
      Width           =   1935
   End
   Begin VB.OptionButton Option2 
      Caption         =   "多元一次式计算"
      Height          =   300
      Left            =   720
      TabIndex        =   1
      Top             =   1320
      Width           =   1815
   End
   Begin VB.OptionButton Option1 
      Caption         =   "矩形计算"
      Height          =   375
      Left            =   720
      TabIndex        =   0
      Top             =   720
      Width           =   1215
   End
   Begin VB.Label Label1 
      Caption         =   "请选择要计算的类型:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   0
      TabIndex        =   3
      Top             =   120
      Width           =   2295
   End
End
Attribute VB_Name = "chooseDialog"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Option1.value = True Then
    MatrixCalculate.Visible = True
ElseIf Option2.value = True Then
    multix.Visible = True
    'MsgBox ("你选中了一元多项式计算")
ElseIf Option3.value = True Then
    onePoly.Visible = True
    'MsgBox ("你选中了多元计算")
End If
End Sub

⌨️ 快捷键说明

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