VERSION 5.00
Begin VB.Form frm1 
   BackColor       =   &H80000001&
   Caption         =   "Обычный калькулятор"
   ClientHeight    =   1740
   ClientLeft      =   3564
   ClientTop       =   3192
   ClientWidth     =   5232
   LinkTopic       =   "Form1"
   ScaleHeight     =   1740
   ScaleWidth      =   5232
   Begin VB.TextBox txt1 
      Alignment       =   1  'Right Justify
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   372
      Left            =   240
      TabIndex        =   7
      Top             =   360
      Width           =   735
   End
   Begin VB.TextBox txt3 
      Alignment       =   1  'Right Justify
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   372
      Left            =   2400
      TabIndex        =   6
      Top             =   360
      Width           =   735
   End
   Begin VB.TextBox txt2 
      Alignment       =   1  'Right Justify
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   372
      Left            =   1320
      TabIndex        =   5
      Top             =   360
      Width           =   735
   End
   Begin VB.CommandButton cmdExit 
      Caption         =   "Выход"
      Height          =   492
      Left            =   1080
      TabIndex        =   4
      Top             =   960
      Width           =   1212
   End
   Begin VB.CommandButton cmdDelen 
      Caption         =   "/"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   492
      Left            =   4320
      TabIndex        =   3
      Top             =   960
      Width           =   735
   End
   Begin VB.CommandButton cmdUmn 
      Caption         =   "*"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   492
      Left            =   4320
      TabIndex        =   2
      Top             =   240
      Width           =   735
   End
   Begin VB.CommandButton cmdMinus 
      Caption         =   "-"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   492
      Left            =   3360
      TabIndex        =   1
      Top             =   960
      Width           =   735
   End
   Begin VB.CommandButton cmdPlus 
      Caption         =   "+"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   492
      Left            =   3360
      TabIndex        =   0
      Top             =   240
      Width           =   735
   End
End
Attribute VB_Name = "frm1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdPlus_Click()
txt3.Text = Val(txt1.Text) + Val(txt2.Text)
End Sub
Private Sub cmdMinus_Click()
txt3.Text = Val(txt1.Text) - Val(txt2.Text)
End Sub
Private Sub cmdUmn_Click()
txt3.Text = Val(txt1.Text) * Val(txt2.Text)
End Sub
Private Sub cmdDelen_Click()
txt3.Text = Val(txt1.Text) / Val(txt2.Text)
End Sub
Private Sub cmdExit_Click()
End
End Sub
