VERSION 5.00
Begin VB.Form frm1 
   BackColor       =   &H00FFFF80&
   Caption         =   "Первый проект"
   ClientHeight    =   2595
   ClientLeft      =   1065
   ClientTop       =   3345
   ClientWidth     =   3885
   FillColor       =   &H000000FF&
   LinkTopic       =   "Form1"
   ScaleHeight     =   3000
   ScaleMode       =   0  'User
   ScaleWidth      =   4000
   Begin VB.CommandButton cmd1 
      Caption         =   "Левый верхний"
      Height          =   500
      Left            =   2040
      TabIndex        =   3
      Top             =   1320
      Width           =   1000
   End
   Begin VB.CommandButton cmd2 
      Caption         =   "Правый верхний"
      Height          =   500
      Left            =   960
      TabIndex        =   2
      Top             =   1320
      Width           =   1000
   End
   Begin VB.CommandButton cmd4 
      Caption         =   "Левый нижний"
      Height          =   500
      Left            =   2040
      TabIndex        =   1
      Top             =   720
      Width           =   1000
   End
   Begin VB.CommandButton cmd3 
      Caption         =   "Правый нижний"
      Height          =   500
      Left            =   960
      TabIndex        =   0
      Top             =   720
      Width           =   1000
   End
End
Attribute VB_Name = "frm1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
frm1.Move (Screen.Width - frm1.Width) / 2, (Screen.Height - frm1.Height) / 2
End Sub
Private Sub cmd1_Click()
cmd1.Move 0, 0
End Sub
Private Sub cmd2_Click()
cmd2.Move frm1.Width - cmd3.Width, 0
End Sub
Private Sub cmd3_Click()
cmd3.Move frm1.Width - cmd3.Width, frm1.Height - cmd3.Height
End Sub
Private Sub cmd4_Click()
cmd4.Move 0, frm1.Height - cmd4.Height
End Sub
