VERSION 5.00
Begin VB.Form frmShape 
   Caption         =   "Shape"
   ClientHeight    =   3855
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   5130
   LinkTopic       =   "Form1"
   ScaleHeight     =   3855
   ScaleWidth      =   5130
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton cmdRectangle 
      Caption         =   "Прямоугольник"
      Height          =   495
      Left            =   3120
      TabIndex        =   6
      Top             =   3120
      Width           =   1815
   End
   Begin VB.CommandButton cmdSquare 
      Caption         =   "Квадрат"
      Height          =   495
      Left            =   3120
      TabIndex        =   5
      Top             =   2640
      Width           =   1815
   End
   Begin VB.CommandButton cmdCircle 
      Caption         =   "Окружность"
      Height          =   495
      Left            =   3120
      TabIndex        =   4
      Top             =   2160
      Width           =   1815
   End
   Begin VB.CommandButton CmdRndSqr 
      Caption         =   "округленный квадрат"
      Height          =   495
      Left            =   3120
      TabIndex        =   3
      Top             =   1680
      Width           =   1815
   End
   Begin VB.CommandButton cmdRndRect 
      Caption         =   "Скругленный прямоугольник"
      Height          =   615
      Left            =   3120
      TabIndex        =   2
      Top             =   1080
      Width           =   1815
   End
   Begin VB.CommandButton cmdExit 
      Caption         =   "Exit"
      Height          =   495
      Left            =   120
      TabIndex        =   1
      Top             =   2520
      Width           =   1215
   End
   Begin VB.HScrollBar HsbWidth 
      Height          =   255
      Left            =   360
      Max             =   10
      Min             =   1
      TabIndex        =   0
      Top             =   240
      Value           =   1
      Width           =   3975
   End
   Begin VB.Shape shpAllShapes 
      Height          =   975
      Left            =   240
      Top             =   1200
      Width           =   1215
   End
End
Attribute VB_Name = "frmShape"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdCircle_Click()
shpAllShapes.Shape = 3
End Sub

Private Sub cmdExit_Click()
End
End Sub

Private Sub cmdRectangle_Click()
shpAllShapes.Shape = 0

End Sub

Private Sub cmdRndRect_Click()
shpAllShapes.Shape = 4
End Sub

Private Sub CmdRndSqr_Click()
shpAllShapes.Shape = 5
End Sub

Private Sub cmdSquare_Click()
shpAllShapes.Shape = 1
End Sub

Private Sub HsbWidth_Change()
shpAllShapes.BorderWidth = HsbWidth.Value
End Sub

Private Sub HsbWidth_Scroll()
shpAllShapes.BorderWidth = HsbWidth.Value
End Sub
