Private Sub Command1_Click() Label1.Caption = Val(Text1.Text) + Val(Text2.Text) End Sub Private Sub Command2_Click() Label1.Caption = Text1.Text - Text2.Text End Sub Private Sub Command3_Click() Label1.Caption = Text1.Text * Text2.Text End Sub Private Sub Command4_Click() Label1.Caption = Text1.Text ^ Text2.Text End Sub Private Sub Command5_Click() Beep End End Sub Private Sub Command6_Click() If Val(Text2.Text) = 0 Then Label1.Caption = "Net resheniy!!" Else Label1.Caption = Val(Text1.Text) / Val(Text2.Text) End Sub Private Sub Command7_Click() If Val(Text1.Text) < 0 Then Label1.Caption = "Net resheniy!!" Else Label1.Caption = Sqr(Text1.Text) End Sub