用VB.net制作一个小程序(3)

类别:.NET开发 点击:0 评论:0 推荐:

VB.net制作一个小程序(3

----制作“Input Controls”程序(1)

作者:高山

 

Public Class Form1

    Inherits System.Windows.Forms.Form

 

#Region " Windows 窗体设计器生成的代码 "

 

    Public Sub New()

        MyBase.New()

 

        '该调用是 Windows 窗体设计器所必需的。

        InitializeComponent()

 

        '在 InitializeComponent() 调用之后添加任何初始化

 

    End Sub

 

    '窗体重写处置以清理组件列表。

    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)

        If disposing Then

            If Not (components Is Nothing) Then

                components.Dispose()

            End If

        End If

        MyBase.Dispose(disposing)

    End Sub

 

    'Windows 窗体设计器所必需的

    Private components As System.ComponentModel.IContainer

 

    '注意:以下过程是 Windows 窗体设计器所必需的

    '可以使用 Windows 窗体设计器修改此过程。

    '不要使用代码编辑器修改它。

    Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox

    Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox

    Friend WithEvents Label1 As System.Windows.Forms.Label

    Friend WithEvents CheckBox1 As System.Windows.Forms.CheckBox

    Friend WithEvents CheckBox2 As System.Windows.Forms.CheckBox

    Friend WithEvents CheckBox3 As System.Windows.Forms.CheckBox

    Friend WithEvents ListBox1 As System.Windows.Forms.ListBox

    Friend WithEvents Label2 As System.Windows.Forms.Label

    Friend WithEvents Label3 As System.Windows.Forms.Label

    Friend WithEvents RadioButton1 As System.Windows.Forms.RadioButton

    Friend WithEvents RadioButton2 As System.Windows.Forms.RadioButton

    Friend WithEvents RadioButton3 As System.Windows.Forms.RadioButton

    Friend WithEvents Button1 As System.Windows.Forms.Button

    Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox

    Friend WithEvents Label4 As System.Windows.Forms.Label

    Friend WithEvents PictureBox1 As System.Windows.Forms.PictureBox

    Friend WithEvents PictureBox2 As System.Windows.Forms.PictureBox

    Friend WithEvents PictureBox3 As System.Windows.Forms.PictureBox

    Friend WithEvents PictureBox4 As System.Windows.Forms.PictureBox

    Friend WithEvents PictureBox5 As System.Windows.Forms.PictureBox

    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

        Me.GroupBox1 = New System.Windows.Forms.GroupBox()

        Me.RadioButton3 = New System.Windows.Forms.RadioButton()

        Me.RadioButton2 = New System.Windows.Forms.RadioButton()

        Me.RadioButton1 = New System.Windows.Forms.RadioButton()

        Me.GroupBox2 = New System.Windows.Forms.GroupBox()

        Me.CheckBox3 = New System.Windows.Forms.CheckBox()

        Me.CheckBox2 = New System.Windows.Forms.CheckBox()

        Me.CheckBox1 = New System.Windows.Forms.CheckBox()

        Me.Label1 = New System.Windows.Forms.Label()

        Me.ListBox1 = New System.Windows.Forms.ListBox()

        Me.Label2 = New System.Windows.Forms.Label()

        Me.Label3 = New System.Windows.Forms.Label()

        Me.Button1 = New System.Windows.Forms.Button()

        Me.ComboBox1 = New System.Windows.Forms.ComboBox()

        Me.Label4 = New System.Windows.Forms.Label()

        Me.PictureBox1 = New System.Windows.Forms.PictureBox()

        Me.PictureBox2 = New System.Windows.Forms.PictureBox()

        Me.PictureBox3 = New System.Windows.Forms.PictureBox()

        Me.PictureBox4 = New System.Windows.Forms.PictureBox()

        Me.PictureBox5 = New System.Windows.Forms.PictureBox()

        Me.GroupBox1.SuspendLayout()

        Me.GroupBox2.SuspendLayout()

        Me.SuspendLayout()

        '

        'GroupBox1

        '

        Me.GroupBox1.Controls.AddRange(New System.Windows.Forms.Control() {Me.RadioButton3, Me.RadioButton2, Me.RadioButton1})

        Me.GroupBox1.Location = New System.Drawing.Point(8, 120)

        Me.GroupBox1.Name = "GroupBox1"

        Me.GroupBox1.TabIndex = 0

        Me.GroupBox1.TabStop = False

        Me.GroupBox1.Text = "Computer[required]"

        '

        'RadioButton3

        '

        Me.RadioButton3.Location = New System.Drawing.Point(40, 64)

        Me.RadioButton3.Name = "RadioButton3"

        Me.RadioButton3.TabIndex = 2

        Me.RadioButton3.Text = "Laptop"

        '

        'RadioButton2

        '

        Me.RadioButton2.Location = New System.Drawing.Point(40, 40)

        Me.RadioButton2.Name = "RadioButton2"

        Me.RadioButton2.TabIndex = 1

        Me.RadioButton2.Text = "Macintosh"

        '

        'RadioButton1

        '

        Me.RadioButton1.Location = New System.Drawing.Point(40, 16)

        Me.RadioButton1.Name = "RadioButton1"

        Me.RadioButton1.TabIndex = 0

        Me.RadioButton1.Text = "PC"

        '

        'GroupBox2

        '

        Me.GroupBox2.Controls.AddRange(New System.Windows.Forms.Control() {Me.CheckBox3, Me.CheckBox2, Me.CheckBox1})

        Me.GroupBox2.Location = New System.Drawing.Point(8, 248)

        Me.GroupBox2.Name = "GroupBox2"

        Me.GroupBox2.Size = New System.Drawing.Size(200, 104)

        Me.GroupBox2.TabIndex = 1

        Me.GroupBox2.TabStop = False

        Me.GroupBox2.Text = "Office Equired(0-3)"

        '

        'CheckBox3

        '

        Me.CheckBox3.Location = New System.Drawing.Point(40, 64)

        Me.CheckBox3.Name = "CheckBox3"

        Me.CheckBox3.TabIndex = 2

        Me.CheckBox3.Text = "Copy Machine"

        '

        'CheckBox2

        '

        Me.CheckBox2.Location = New System.Drawing.Point(40, 40)

        Me.CheckBox2.Name = "CheckBox2"

        Me.CheckBox2.TabIndex = 1

        Me.CheckBox2.Text = "Calcultor"

        '

        'CheckBox1

        '

        Me.CheckBox1.Location = New System.Drawing.Point(40, 16)

        Me.CheckBox1.Name = "CheckBox1"

        Me.CheckBox1.TabIndex = 0

        Me.CheckBox1.Text = "Answering Machine"

        '

      

待续

本文地址:http://com.8s8s.com/it/it45074.htm