📄 form1.vb
字号:
Imports OrderGenerator
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 btnToFile As System.Windows.Forms.Button
Friend WithEvents SaveFileDialog As System.Windows.Forms.SaveFileDialog
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents txtEmail As System.Windows.Forms.TextBox
Friend WithEvents txtCountry As System.Windows.Forms.TextBox
Friend WithEvents txtPostalCode As System.Windows.Forms.TextBox
Friend WithEvents txtRegion As System.Windows.Forms.TextBox
Friend WithEvents txtCity As System.Windows.Forms.TextBox
Friend WithEvents txtQuantity As System.Windows.Forms.TextBox
Friend WithEvents txtCompanyName As System.Windows.Forms.TextBox
Friend WithEvents txtCustomerNo As System.Windows.Forms.TextBox
Friend WithEvents Label9 As System.Windows.Forms.Label
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox
Friend WithEvents Label10 As System.Windows.Forms.Label
Friend WithEvents Label11 As System.Windows.Forms.Label
Friend WithEvents ListBox1 As System.Windows.Forms.ListBox
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox
Friend WithEvents txtAddress As System.Windows.Forms.TextBox
Friend WithEvents LinkLabel1 As System.Windows.Forms.LinkLabel
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.btnToFile = New System.Windows.Forms.Button()
Me.SaveFileDialog = New System.Windows.Forms.SaveFileDialog()
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
Me.GroupBox3 = New System.Windows.Forms.GroupBox()
Me.Label5 = New System.Windows.Forms.Label()
Me.Label6 = New System.Windows.Forms.Label()
Me.Label8 = New System.Windows.Forms.Label()
Me.Label7 = New System.Windows.Forms.Label()
Me.Label10 = New System.Windows.Forms.Label()
Me.txtCity = New System.Windows.Forms.TextBox()
Me.txtRegion = New System.Windows.Forms.TextBox()
Me.txtPostalCode = New System.Windows.Forms.TextBox()
Me.txtCountry = New System.Windows.Forms.TextBox()
Me.txtAddress = New System.Windows.Forms.TextBox()
Me.GroupBox2 = New System.Windows.Forms.GroupBox()
Me.Label11 = New System.Windows.Forms.Label()
Me.ListBox1 = New System.Windows.Forms.ListBox()
Me.Label3 = New System.Windows.Forms.Label()
Me.txtQuantity = New System.Windows.Forms.TextBox()
Me.ComboBox1 = New System.Windows.Forms.ComboBox()
Me.txtEmail = New System.Windows.Forms.TextBox()
Me.txtCompanyName = New System.Windows.Forms.TextBox()
Me.txtCustomerNo = New System.Windows.Forms.TextBox()
Me.Label9 = New System.Windows.Forms.Label()
Me.Label4 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label1 = New System.Windows.Forms.Label()
Me.LinkLabel1 = New System.Windows.Forms.LinkLabel()
Me.GroupBox1.SuspendLayout()
Me.GroupBox3.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.SuspendLayout()
'
'btnToFile
'
Me.btnToFile.Location = New System.Drawing.Point(416, 392)
Me.btnToFile.Name = "btnToFile"
Me.btnToFile.Size = New System.Drawing.Size(80, 32)
Me.btnToFile.TabIndex = 0
Me.btnToFile.Text = "发送订单"
'
'SaveFileDialog
'
Me.SaveFileDialog.FileName = "doc1"
'
'GroupBox1
'
Me.GroupBox1.Controls.AddRange(New System.Windows.Forms.Control() {Me.GroupBox3, Me.GroupBox2, Me.ComboBox1, Me.txtEmail, Me.txtCompanyName, Me.txtCustomerNo, Me.Label9, Me.Label4, Me.Label2, Me.Label1})
Me.GroupBox1.Location = New System.Drawing.Point(8, 8)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(488, 376)
Me.GroupBox1.TabIndex = 1
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "定单信息"
'
'GroupBox3
'
Me.GroupBox3.Controls.AddRange(New System.Windows.Forms.Control() {Me.Label5, Me.Label6, Me.Label8, Me.Label7, Me.Label10, Me.txtCity, Me.txtRegion, Me.txtPostalCode, Me.txtCountry, Me.txtAddress})
Me.GroupBox3.Location = New System.Drawing.Point(16, 160)
Me.GroupBox3.Name = "GroupBox3"
Me.GroupBox3.Size = New System.Drawing.Size(256, 200)
Me.GroupBox3.TabIndex = 52
Me.GroupBox3.TabStop = False
Me.GroupBox3.Text = "送货地址"
'
'Label5
'
Me.Label5.Location = New System.Drawing.Point(16, 24)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(48, 21)
Me.Label5.TabIndex = 32
Me.Label5.Text = "城市:"
Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'Label6
'
Me.Label6.Location = New System.Drawing.Point(16, 60)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(56, 21)
Me.Label6.TabIndex = 29
Me.Label6.Text = "地区:"
Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'Label8
'
Me.Label8.Location = New System.Drawing.Point(16, 96)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(56, 21)
Me.Label8.TabIndex = 30
Me.Label8.Text = "国家:"
Me.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'Label7
'
Me.Label7.Location = New System.Drawing.Point(16, 132)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(56, 21)
Me.Label7.TabIndex = 28
Me.Label7.Text = "邮政编码"
Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'Label10
'
Me.Label10.Location = New System.Drawing.Point(16, 168)
Me.Label10.Name = "Label10"
Me.Label10.Size = New System.Drawing.Size(48, 21)
Me.Label10.TabIndex = 46
Me.Label10.Text = "地址"
Me.Label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'txtCity
'
Me.txtCity.Location = New System.Drawing.Point(72, 24)
Me.txtCity.Name = "txtCity"
Me.txtCity.Size = New System.Drawing.Size(168, 21)
Me.txtCity.TabIndex = 44
Me.txtCity.Text = ""
'
'txtRegion
'
Me.txtRegion.Location = New System.Drawing.Point(72, 60)
Me.txtRegion.Name = "txtRegion"
Me.txtRegion.Size = New System.Drawing.Size(168, 21)
Me.txtRegion.TabIndex = 39
Me.txtRegion.Text = ""
'
'txtPostalCode
'
Me.txtPostalCode.Location = New System.Drawing.Point(72, 132)
Me.txtPostalCode.Name = "txtPostalCode"
Me.txtPostalCode.Size = New System.Drawing.Size(168, 21)
Me.txtPostalCode.TabIndex = 38
Me.txtPostalCode.Text = ""
'
'txtCountry
'
Me.txtCountry.Location = New System.Drawing.Point(72, 96)
Me.txtCountry.Name = "txtCountry"
Me.txtCountry.Size = New System.Drawing.Size(168, 21)
Me.txtCountry.TabIndex = 41
Me.txtCountry.Text = ""
'
'txtAddress
'
Me.txtAddress.Location = New System.Drawing.Point(72, 168)
Me.txtAddress.Name = "txtAddress"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -