Name=«Button4». Button4.Size=New System.Drawing.Size (120, 40). Button4.TabIndex=7.Button4 . Text="Довідка"
«» Form1
'Me.AutoScaleBaseSize=New System.Drawing.Size (5, 13). BackgroundImage=CType (resources.GetObject («$ this.BackgroundImage»), System.Drawing.Image). ClientSize =New System.Drawing.Size (1028, 734). ControlBox=False.Controls.Add(Me.Button4).Controls.Add(Me.Button3).Controls.Add(Me.Button2).Controls.Add(Me.Button1).Controls.Add(Me.Label2).Controls.Add(Me.Label1).Name =«Form1». Text=«головна форма». WindowState=System.Windows.Forms.FormWindowState.Maximized.ResumeLayout (False) Sub
# End RegionSub Button1_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.ClickSubSub Button2_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2. Clickobj_Form2 As New Form2_Form2.Show () SubSub Button4_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.ClickObj_Form14 As New Form14_Form14.Show () _Form14.AxWebBrowser1.Navigate (Application.StartupPath + « ДОВІДКА . htm ») SubSub Button3_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Clickobj_Form13 As New Form13_Form13.Show () SubClass
Програма для форми 2
Public Class Form2System.Windows.Forms.Form
# Region « Windows Form Designer generated code »Sub New (). New ()
'This call is required by the Windows Form Designer. ()
'Add any initialization after the InitializeComponent () callSub
'Form overrides dispose to clean up the component list.Overloads Overrides Sub Dispose (ByVal disposing As Boolean) disposing ThenNot (components Is Nothing) Then.Dispose () IfIf.Dispose (disposing) Sub p>
'Required by the Windows Form Designercomponents As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.WithEvents MainMenu1 As System.Windows.Forms.MainMenuWithEvents MenuItem1 As System.Windows.Forms.MenuItemWithEvents MenuItem2 As System.Windows.Forms.MenuItemWithEvents MenuItem3 As System. Windows.Forms.MenuItemWithEvents MenuItem4 As System.Windows.Forms.MenuItemWithEvents MenuItem5 As System.Windows.Forms.MenuItemWithEvents Button1 As System.Windows.Forms.ButtonWithEvents Button2 As System.Windows.Forms.Button
Private Sub InitializeComponent () resources As System.Resources.ResourceManager=New System.Resources.ResourceManager (GetType (Form2)). MainMenu1=New System.Windows.Forms.MainMenu.MenuItem1=New System.Windows.Forms.MenuItem.MenuItem2= New System.Windows.Forms.MenuItem.MenuItem3=New System.Windows.Forms.MenuItem.MenuItem4=New System.Windows.Forms.MenuItem.MenuItem5=New System.Windows.Forms.MenuItem.Button1=New System.Windows.Forms . Button.Button2=New System.Windows.Forms.Button.SuspendLayout ()
«» MainMenu1
'Me.MainMenu1.MenuItems.AddRange (New System.Windows.Forms.MenuItem () {Me.MenuItem1, Me.MenuItem2, Me.MenuItem3, Me.MenuItem4, Me.MenuItem5})
<...