VERSION 5.00
Begin VB.Form Form1 
   BackColor       =   &H0000C000&
   Caption         =   "Комп  1  А"
   ClientHeight    =   3420
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4770
   LinkTopic       =   "Form1"
   ScaleHeight     =   3420
   ScaleWidth      =   4770
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton CMD1 
      Caption         =   "Привет!"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   204
         Weight          =   700
         Underline       =   0   'False
         Italic          =   -1  'True
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   0
      MaskColor       =   &H00FF0000&
      TabIndex        =   2
      Top             =   2760
      Width           =   1215
   End
   Begin VB.TextBox Text1 
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   24
         Charset         =   204
         Weight          =   700
         Underline       =   0   'False
         Italic          =   -1  'True
         Strikethrough   =   0   'False
      EndProperty
      Height          =   1215
      Left            =   240
      TabIndex        =   1
      Top             =   120
      Width           =   4335
   End
   Begin VB.CommandButton CMDExit 
      BackColor       =   &H0000FFFF&
      Caption         =   "Выход"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   204
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   3480
      MaskColor       =   &H0000FFFF&
      TabIndex        =   0
      Top             =   2760
      Width           =   1215
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim a As String, b As String, c As String, d As String, Stra As String

Private Sub CMD1_Click()
a = 5
b = 2
d = 8
c = a + b + d
Stra = "Информатика"
a = Mid(Stra2, 3)
Text1.Text = a
End Sub



Private Sub CMDExit_Click()
End
End Sub

Private Sub Text1_Click()
Text1.BackColor = RGB(50, 231, 100)
Form Change() = RGB(50, 231, 100)
End Sub
Private Sub Form_Change()
Form.BackColor = RGB(50, 231, 100)
End Sub
Private Sub Form_DыClick()
Form
End Sub


