VERSION 5.00
Begin VB.Form Form1 
   BackColor       =   &H8000000B&
   Caption         =   "Form1"
   ClientHeight    =   3195
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   FillColor       =   &H00FFFFFF&
   ForeColor       =   &H8000000E&
   LinkTopic       =   "Form1"
   ScaleHeight     =   3195
   ScaleWidth      =   4680
   StartUpPosition =   3  'Windows Default
   Begin VB.TextBox Text1 
      Height          =   495
      Left            =   360
      TabIndex        =   0
      Top             =   240
      Width           =   3855
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Click()
Dim a, b, h, S, p, r
Stra = InputBox("ввод a")
Strb = InputBox("ввод b")
'Strh = InputBox("ввод h")
a = Val(Stra)
b = Val(Strb)
'h = Val(Strh)
'p = (a + b + h) / 2
S = 4 * p * r * ra = Val(Stra)

Text1.Text = Str(S)
Form1.Print S
MsgBox S
End Sub


Private Sub Text1_Change()

End Sub
