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

类别:VC语言 点击:0 评论:0 推荐:
用VB.net制作一个小程序(3) ----制作“Input Controls”程序(2) 接上

Label1

        '

        Me.Label1.Font = New System.Drawing.Font("隶书", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))

        Me.Label1.Location = New System.Drawing.Point(8, 32)

        Me.Label1.Name = "Label1"

        Me.Label1.Size = New System.Drawing.Size(200, 23)

        Me.Label1.TabIndex = 2

        Me.Label1.Text = "The Online Shopper"

        '

        'ListBox1

        '

        Me.ListBox1.ItemHeight = 12

        Me.ListBox1.Location = New System.Drawing.Point(224, 168)

        Me.ListBox1.Name = "ListBox1"

        Me.ListBox1.Size = New System.Drawing.Size(120, 88)

        Me.ListBox1.TabIndex = 3

        '

        'Label2

        '

        Me.Label2.Location = New System.Drawing.Point(8, 64)

        Me.Label2.Name = "Label2"

        Me.Label2.Size = New System.Drawing.Size(336, 40)

        Me.Label2.TabIndex = 4

        Me.Label2.Text = "Outfit your office now by choosing the office products you need using radio butto" & _

        "ns,check boxes,a list ,a list box,and a combo box."

        '

        'Label3

        '

        Me.Label3.Location = New System.Drawing.Point(232, 120)

        Me.Label3.Name = "Label3"

        Me.Label3.Size = New System.Drawing.Size(112, 32)

        Me.Label3.TabIndex = 5

        Me.Label3.Text = "Peripherals (one only)"

        '

        'Button1

        '

        Me.Button1.Location = New System.Drawing.Point(240, 320)

        Me.Button1.Name = "Button1"

        Me.Button1.TabIndex = 6

        Me.Button1.Text = "OK"

        '

        'ComboBox1

        '

        Me.ComboBox1.Location = New System.Drawing.Point(224, 280)

        Me.ComboBox1.Name = "ComboBox1"

        Me.ComboBox1.Size = New System.Drawing.Size(121, 20)

        Me.ComboBox1.TabIndex = 7

        Me.ComboBox1.Text = "Payment Method"

        '

        'Label4

        '

        Me.Label4.Font = New System.Drawing.Font("宋体-方正超大字符集", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))

        Me.Label4.Location = New System.Drawing.Point(384, 64)

        Me.Label4.Name = "Label4"

        Me.Label4.Size = New System.Drawing.Size(168, 32)

        Me.Label4.TabIndex = 8

        Me.Label4.Text = "Products Ordered"

        '

        'PictureBox1

        '

        Me.PictureBox1.Location = New System.Drawing.Point(376, 136)

        Me.PictureBox1.Name = "PictureBox1"

        Me.PictureBox1.Size = New System.Drawing.Size(80, 64)

        Me.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage

        Me.PictureBox1.TabIndex = 9

        Me.PictureBox1.TabStop = False

待续

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