_ Partial Class Form1 Inherits System.Windows.Forms.Form 'Форма переопределяет dispose для очистки списка компонентов. _ Protected Overrides Sub Dispose(ByVal disposing As Boolean) Try If disposing AndAlso components IsNot Nothing Then components.Dispose() End If Finally MyBase.Dispose(disposing) End Try End Sub 'Является обязательной для конструктора форм Windows Forms Private components As System.ComponentModel.IContainer 'Примечание: следующая процедура является обязательной для конструктора форм Windows Forms 'Для ее изменения используйте конструктор форм Windows Form. 'Не изменяйте ее в редакторе исходного кода. _ Private Sub InitializeComponent() components = New System.ComponentModel.Container() Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.ClientSize = New System.Drawing.Size(800, 450) Me.Text = "Form1" End Sub End Class