544 lines
24 KiB
VB.net
544 lines
24 KiB
VB.net
|
|
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
|||
|
|
Partial Class form_PartNumber
|
|||
|
|
Inherits System.Windows.Forms.Form
|
|||
|
|
|
|||
|
|
'Form 重写 Dispose,以清理组件列表。
|
|||
|
|
<System.Diagnostics.DebuggerNonUserCode()> _
|
|||
|
|
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 窗体设计器所必需的
|
|||
|
|
Private components As System.ComponentModel.IContainer
|
|||
|
|
|
|||
|
|
'注意: 以下过程是 Windows 窗体设计器所必需的
|
|||
|
|
'可以使用 Windows 窗体设计器修改它。
|
|||
|
|
'不要使用代码编辑器修改它。
|
|||
|
|
<System.Diagnostics.DebuggerStepThrough()> _
|
|||
|
|
Private Sub InitializeComponent()
|
|||
|
|
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
|
|||
|
|
Me.GroupBox2 = New System.Windows.Forms.GroupBox()
|
|||
|
|
Me.PictureBox1 = New System.Windows.Forms.PictureBox()
|
|||
|
|
Me.bt_New = New System.Windows.Forms.Button()
|
|||
|
|
Me.combo_Supplier = New System.Windows.Forms.ComboBox()
|
|||
|
|
Me.num_Weight = New System.Windows.Forms.NumericUpDown()
|
|||
|
|
Me.Label11 = New System.Windows.Forms.Label()
|
|||
|
|
Me.bt_Query = New System.Windows.Forms.Button()
|
|||
|
|
Me.bt_Save = New System.Windows.Forms.Button()
|
|||
|
|
Me.combo_Unit = New System.Windows.Forms.ComboBox()
|
|||
|
|
Me.bt_Browse = New System.Windows.Forms.Button()
|
|||
|
|
Me.Label6 = New System.Windows.Forms.Label()
|
|||
|
|
Me.Label7 = New System.Windows.Forms.Label()
|
|||
|
|
Me.Label5 = New System.Windows.Forms.Label()
|
|||
|
|
Me.Label4 = New System.Windows.Forms.Label()
|
|||
|
|
Me.tb_Descr = New System.Windows.Forms.TextBox()
|
|||
|
|
Me.Label3 = New System.Windows.Forms.Label()
|
|||
|
|
Me.tb_Name = New System.Windows.Forms.TextBox()
|
|||
|
|
Me.Label2 = New System.Windows.Forms.Label()
|
|||
|
|
Me.tb_PartNumber = New System.Windows.Forms.TextBox()
|
|||
|
|
Me.Label1 = New System.Windows.Forms.Label()
|
|||
|
|
Me.lstb_Log = New System.Windows.Forms.ListBox()
|
|||
|
|
Me.lbl_QueryInfo = New System.Windows.Forms.Label()
|
|||
|
|
Me.chk_EnableCam = New System.Windows.Forms.CheckBox()
|
|||
|
|
Me.bt_CaptureImage = New System.Windows.Forms.Button()
|
|||
|
|
Me.GroupBox3 = New System.Windows.Forms.GroupBox()
|
|||
|
|
Me.picBox_Preview = New System.Windows.Forms.PictureBox()
|
|||
|
|
Me.TabControl1 = New System.Windows.Forms.TabControl()
|
|||
|
|
Me.TabPage1 = New System.Windows.Forms.TabPage()
|
|||
|
|
Me.TabPage2 = New System.Windows.Forms.TabPage()
|
|||
|
|
Me.Button2 = New System.Windows.Forms.Button()
|
|||
|
|
Me.btnTips = New System.Windows.Forms.Button()
|
|||
|
|
Me.cb_AutoOverWrite = New System.Windows.Forms.CheckBox()
|
|||
|
|
Me.btn_ImportAll = New System.Windows.Forms.Button()
|
|||
|
|
Me.tb_CurrentLocation = New System.Windows.Forms.TextBox()
|
|||
|
|
Me.tb_SelectedRow = New System.Windows.Forms.TextBox()
|
|||
|
|
Me.Button1 = New System.Windows.Forms.Button()
|
|||
|
|
Me.grid_ImportPartNoList = New FlexCell.Grid()
|
|||
|
|
Me.GroupBox1.SuspendLayout()
|
|||
|
|
Me.GroupBox2.SuspendLayout()
|
|||
|
|
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
|
|||
|
|
CType(Me.num_Weight, System.ComponentModel.ISupportInitialize).BeginInit()
|
|||
|
|
Me.GroupBox3.SuspendLayout()
|
|||
|
|
CType(Me.picBox_Preview, System.ComponentModel.ISupportInitialize).BeginInit()
|
|||
|
|
Me.TabControl1.SuspendLayout()
|
|||
|
|
Me.TabPage1.SuspendLayout()
|
|||
|
|
Me.TabPage2.SuspendLayout()
|
|||
|
|
Me.SuspendLayout()
|
|||
|
|
'
|
|||
|
|
'GroupBox1
|
|||
|
|
'
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.GroupBox2)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.bt_New)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.combo_Supplier)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.num_Weight)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.Label11)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.bt_Query)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.bt_Save)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.combo_Unit)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.bt_Browse)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.Label6)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.Label7)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.Label5)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.Label4)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.tb_Descr)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.Label3)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.tb_Name)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.Label2)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.tb_PartNumber)
|
|||
|
|
Me.GroupBox1.Controls.Add(Me.Label1)
|
|||
|
|
Me.GroupBox1.Location = New System.Drawing.Point(13, 13)
|
|||
|
|
Me.GroupBox1.Name = "GroupBox1"
|
|||
|
|
Me.GroupBox1.Size = New System.Drawing.Size(475, 563)
|
|||
|
|
Me.GroupBox1.TabIndex = 0
|
|||
|
|
Me.GroupBox1.TabStop = False
|
|||
|
|
Me.GroupBox1.Text = "物料属性"
|
|||
|
|
'
|
|||
|
|
'GroupBox2
|
|||
|
|
'
|
|||
|
|
Me.GroupBox2.Controls.Add(Me.PictureBox1)
|
|||
|
|
Me.GroupBox2.Location = New System.Drawing.Point(107, 303)
|
|||
|
|
Me.GroupBox2.Name = "GroupBox2"
|
|||
|
|
Me.GroupBox2.Size = New System.Drawing.Size(330, 254)
|
|||
|
|
Me.GroupBox2.TabIndex = 11
|
|||
|
|
Me.GroupBox2.TabStop = False
|
|||
|
|
Me.GroupBox2.Text = "预览"
|
|||
|
|
'
|
|||
|
|
'PictureBox1
|
|||
|
|
'
|
|||
|
|
Me.PictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
|||
|
|
Me.PictureBox1.Location = New System.Drawing.Point(5, 11)
|
|||
|
|
Me.PictureBox1.Name = "PictureBox1"
|
|||
|
|
Me.PictureBox1.Size = New System.Drawing.Size(320, 240)
|
|||
|
|
Me.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom
|
|||
|
|
Me.PictureBox1.TabIndex = 0
|
|||
|
|
Me.PictureBox1.TabStop = False
|
|||
|
|
'
|
|||
|
|
'bt_New
|
|||
|
|
'
|
|||
|
|
Me.bt_New.Location = New System.Drawing.Point(370, 177)
|
|||
|
|
Me.bt_New.Name = "bt_New"
|
|||
|
|
Me.bt_New.Size = New System.Drawing.Size(80, 38)
|
|||
|
|
Me.bt_New.TabIndex = 9
|
|||
|
|
Me.bt_New.Text = "新建"
|
|||
|
|
Me.bt_New.UseVisualStyleBackColor = True
|
|||
|
|
'
|
|||
|
|
'combo_Supplier
|
|||
|
|
'
|
|||
|
|
Me.combo_Supplier.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend
|
|||
|
|
Me.combo_Supplier.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems
|
|||
|
|
Me.combo_Supplier.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
|
|||
|
|
Me.combo_Supplier.FormattingEnabled = True
|
|||
|
|
Me.combo_Supplier.Location = New System.Drawing.Point(107, 275)
|
|||
|
|
Me.combo_Supplier.MaxLength = 32
|
|||
|
|
Me.combo_Supplier.Name = "combo_Supplier"
|
|||
|
|
Me.combo_Supplier.Size = New System.Drawing.Size(242, 20)
|
|||
|
|
Me.combo_Supplier.TabIndex = 5
|
|||
|
|
'
|
|||
|
|
'num_Weight
|
|||
|
|
'
|
|||
|
|
Me.num_Weight.DecimalPlaces = 3
|
|||
|
|
Me.num_Weight.Location = New System.Drawing.Point(107, 247)
|
|||
|
|
Me.num_Weight.Maximum = New Decimal(New Integer() {10000000, 0, 0, 0})
|
|||
|
|
Me.num_Weight.Name = "num_Weight"
|
|||
|
|
Me.num_Weight.Size = New System.Drawing.Size(242, 21)
|
|||
|
|
Me.num_Weight.TabIndex = 4
|
|||
|
|
'
|
|||
|
|
'Label11
|
|||
|
|
'
|
|||
|
|
Me.Label11.AutoSize = True
|
|||
|
|
Me.Label11.ForeColor = System.Drawing.Color.Red
|
|||
|
|
Me.Label11.Location = New System.Drawing.Point(105, 17)
|
|||
|
|
Me.Label11.Name = "Label11"
|
|||
|
|
Me.Label11.Size = New System.Drawing.Size(263, 24)
|
|||
|
|
Me.Label11.TabIndex = 6
|
|||
|
|
Me.Label11.Text = "提示:带*字段必须填写" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "如果不能输入中文,请单击右键,选择""打开IME"""
|
|||
|
|
'
|
|||
|
|
'bt_Query
|
|||
|
|
'
|
|||
|
|
Me.bt_Query.Location = New System.Drawing.Point(370, 42)
|
|||
|
|
Me.bt_Query.Name = "bt_Query"
|
|||
|
|
Me.bt_Query.Size = New System.Drawing.Size(80, 26)
|
|||
|
|
Me.bt_Query.TabIndex = 8
|
|||
|
|
Me.bt_Query.Text = "查询"
|
|||
|
|
Me.bt_Query.UseVisualStyleBackColor = True
|
|||
|
|
'
|
|||
|
|
'bt_Save
|
|||
|
|
'
|
|||
|
|
Me.bt_Save.Location = New System.Drawing.Point(370, 251)
|
|||
|
|
Me.bt_Save.Name = "bt_Save"
|
|||
|
|
Me.bt_Save.Size = New System.Drawing.Size(80, 46)
|
|||
|
|
Me.bt_Save.TabIndex = 10
|
|||
|
|
Me.bt_Save.Text = "保存"
|
|||
|
|
Me.bt_Save.UseVisualStyleBackColor = True
|
|||
|
|
'
|
|||
|
|
'combo_Unit
|
|||
|
|
'
|
|||
|
|
Me.combo_Unit.FormattingEnabled = True
|
|||
|
|
Me.combo_Unit.ImeMode = System.Windows.Forms.ImeMode.NoControl
|
|||
|
|
Me.combo_Unit.Items.AddRange(New Object() {"pcs", "个", "台", "条", "颗", "盒", "包", "箱"})
|
|||
|
|
Me.combo_Unit.Location = New System.Drawing.Point(107, 221)
|
|||
|
|
Me.combo_Unit.MaxLength = 20
|
|||
|
|
Me.combo_Unit.Name = "combo_Unit"
|
|||
|
|
Me.combo_Unit.Size = New System.Drawing.Size(242, 20)
|
|||
|
|
Me.combo_Unit.TabIndex = 3
|
|||
|
|
'
|
|||
|
|
'bt_Browse
|
|||
|
|
'
|
|||
|
|
Me.bt_Browse.Location = New System.Drawing.Point(24, 334)
|
|||
|
|
Me.bt_Browse.Name = "bt_Browse"
|
|||
|
|
Me.bt_Browse.Size = New System.Drawing.Size(77, 26)
|
|||
|
|
Me.bt_Browse.TabIndex = 7
|
|||
|
|
Me.bt_Browse.Text = "..."
|
|||
|
|
Me.bt_Browse.UseVisualStyleBackColor = True
|
|||
|
|
'
|
|||
|
|
'Label6
|
|||
|
|
'
|
|||
|
|
Me.Label6.AutoSize = True
|
|||
|
|
Me.Label6.Location = New System.Drawing.Point(22, 319)
|
|||
|
|
Me.Label6.Name = "Label6"
|
|||
|
|
Me.Label6.Size = New System.Drawing.Size(53, 12)
|
|||
|
|
Me.Label6.TabIndex = 0
|
|||
|
|
Me.Label6.Text = "物料图片"
|
|||
|
|
'
|
|||
|
|
'Label7
|
|||
|
|
'
|
|||
|
|
Me.Label7.AutoSize = True
|
|||
|
|
Me.Label7.Location = New System.Drawing.Point(22, 278)
|
|||
|
|
Me.Label7.Name = "Label7"
|
|||
|
|
Me.Label7.Size = New System.Drawing.Size(53, 12)
|
|||
|
|
Me.Label7.TabIndex = 0
|
|||
|
|
Me.Label7.Text = "供应商ID"
|
|||
|
|
'
|
|||
|
|
'Label5
|
|||
|
|
'
|
|||
|
|
Me.Label5.AutoSize = True
|
|||
|
|
Me.Label5.Location = New System.Drawing.Point(22, 251)
|
|||
|
|
Me.Label5.Name = "Label5"
|
|||
|
|
Me.Label5.Size = New System.Drawing.Size(53, 12)
|
|||
|
|
Me.Label5.TabIndex = 0
|
|||
|
|
Me.Label5.Text = "单重(kg)"
|
|||
|
|
'
|
|||
|
|
'Label4
|
|||
|
|
'
|
|||
|
|
Me.Label4.AutoSize = True
|
|||
|
|
Me.Label4.Location = New System.Drawing.Point(22, 224)
|
|||
|
|
Me.Label4.Name = "Label4"
|
|||
|
|
Me.Label4.Size = New System.Drawing.Size(29, 12)
|
|||
|
|
Me.Label4.TabIndex = 0
|
|||
|
|
Me.Label4.Text = "单位"
|
|||
|
|
'
|
|||
|
|
'tb_Descr
|
|||
|
|
'
|
|||
|
|
Me.tb_Descr.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend
|
|||
|
|
Me.tb_Descr.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource
|
|||
|
|
Me.tb_Descr.ImeMode = System.Windows.Forms.ImeMode.Off
|
|||
|
|
Me.tb_Descr.Location = New System.Drawing.Point(107, 97)
|
|||
|
|
Me.tb_Descr.Multiline = True
|
|||
|
|
Me.tb_Descr.Name = "tb_Descr"
|
|||
|
|
Me.tb_Descr.ScrollBars = System.Windows.Forms.ScrollBars.Vertical
|
|||
|
|
Me.tb_Descr.Size = New System.Drawing.Size(242, 118)
|
|||
|
|
Me.tb_Descr.TabIndex = 2
|
|||
|
|
'
|
|||
|
|
'Label3
|
|||
|
|
'
|
|||
|
|
Me.Label3.AutoSize = True
|
|||
|
|
Me.Label3.Location = New System.Drawing.Point(22, 100)
|
|||
|
|
Me.Label3.Name = "Label3"
|
|||
|
|
Me.Label3.Size = New System.Drawing.Size(71, 12)
|
|||
|
|
Me.Label3.TabIndex = 0
|
|||
|
|
Me.Label3.Text = "规格描述(*)"
|
|||
|
|
'
|
|||
|
|
'tb_Name
|
|||
|
|
'
|
|||
|
|
Me.tb_Name.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest
|
|||
|
|
Me.tb_Name.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource
|
|||
|
|
Me.tb_Name.ImeMode = System.Windows.Forms.ImeMode.Off
|
|||
|
|
Me.tb_Name.Location = New System.Drawing.Point(107, 70)
|
|||
|
|
Me.tb_Name.Name = "tb_Name"
|
|||
|
|
Me.tb_Name.Size = New System.Drawing.Size(242, 21)
|
|||
|
|
Me.tb_Name.TabIndex = 1
|
|||
|
|
'
|
|||
|
|
'Label2
|
|||
|
|
'
|
|||
|
|
Me.Label2.AutoSize = True
|
|||
|
|
Me.Label2.Location = New System.Drawing.Point(22, 73)
|
|||
|
|
Me.Label2.Name = "Label2"
|
|||
|
|
Me.Label2.Size = New System.Drawing.Size(71, 12)
|
|||
|
|
Me.Label2.TabIndex = 0
|
|||
|
|
Me.Label2.Text = "物料名称(*)"
|
|||
|
|
'
|
|||
|
|
'tb_PartNumber
|
|||
|
|
'
|
|||
|
|
Me.tb_PartNumber.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest
|
|||
|
|
Me.tb_PartNumber.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource
|
|||
|
|
Me.tb_PartNumber.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper
|
|||
|
|
Me.tb_PartNumber.ImeMode = System.Windows.Forms.ImeMode.Off
|
|||
|
|
Me.tb_PartNumber.Location = New System.Drawing.Point(107, 43)
|
|||
|
|
Me.tb_PartNumber.MaxLength = 32
|
|||
|
|
Me.tb_PartNumber.Name = "tb_PartNumber"
|
|||
|
|
Me.tb_PartNumber.Size = New System.Drawing.Size(242, 21)
|
|||
|
|
Me.tb_PartNumber.TabIndex = 0
|
|||
|
|
'
|
|||
|
|
'Label1
|
|||
|
|
'
|
|||
|
|
Me.Label1.AutoSize = True
|
|||
|
|
Me.Label1.Location = New System.Drawing.Point(22, 46)
|
|||
|
|
Me.Label1.Name = "Label1"
|
|||
|
|
Me.Label1.Size = New System.Drawing.Size(47, 12)
|
|||
|
|
Me.Label1.TabIndex = 0
|
|||
|
|
Me.Label1.Text = "料号(*)"
|
|||
|
|
'
|
|||
|
|
'lstb_Log
|
|||
|
|
'
|
|||
|
|
Me.lstb_Log.FormattingEnabled = True
|
|||
|
|
Me.lstb_Log.ItemHeight = 12
|
|||
|
|
Me.lstb_Log.Location = New System.Drawing.Point(13, 601)
|
|||
|
|
Me.lstb_Log.Name = "lstb_Log"
|
|||
|
|
Me.lstb_Log.Size = New System.Drawing.Size(1150, 124)
|
|||
|
|
Me.lstb_Log.TabIndex = 1
|
|||
|
|
'
|
|||
|
|
'lbl_QueryInfo
|
|||
|
|
'
|
|||
|
|
Me.lbl_QueryInfo.AutoSize = True
|
|||
|
|
Me.lbl_QueryInfo.ForeColor = System.Drawing.Color.Blue
|
|||
|
|
Me.lbl_QueryInfo.Location = New System.Drawing.Point(17, 584)
|
|||
|
|
Me.lbl_QueryInfo.Name = "lbl_QueryInfo"
|
|||
|
|
Me.lbl_QueryInfo.Size = New System.Drawing.Size(0, 12)
|
|||
|
|
Me.lbl_QueryInfo.TabIndex = 6
|
|||
|
|
'
|
|||
|
|
'chk_EnableCam
|
|||
|
|
'
|
|||
|
|
Me.chk_EnableCam.AutoSize = True
|
|||
|
|
Me.chk_EnableCam.Location = New System.Drawing.Point(17, 28)
|
|||
|
|
Me.chk_EnableCam.Name = "chk_EnableCam"
|
|||
|
|
Me.chk_EnableCam.Size = New System.Drawing.Size(84, 16)
|
|||
|
|
Me.chk_EnableCam.TabIndex = 8
|
|||
|
|
Me.chk_EnableCam.Text = "开启摄像头"
|
|||
|
|
Me.chk_EnableCam.UseVisualStyleBackColor = True
|
|||
|
|
'
|
|||
|
|
'bt_CaptureImage
|
|||
|
|
'
|
|||
|
|
Me.bt_CaptureImage.Location = New System.Drawing.Point(137, 24)
|
|||
|
|
Me.bt_CaptureImage.Name = "bt_CaptureImage"
|
|||
|
|
Me.bt_CaptureImage.Size = New System.Drawing.Size(198, 23)
|
|||
|
|
Me.bt_CaptureImage.TabIndex = 9
|
|||
|
|
Me.bt_CaptureImage.Text = "抓取图片"
|
|||
|
|
Me.bt_CaptureImage.UseVisualStyleBackColor = True
|
|||
|
|
'
|
|||
|
|
'GroupBox3
|
|||
|
|
'
|
|||
|
|
Me.GroupBox3.Controls.Add(Me.picBox_Preview)
|
|||
|
|
Me.GroupBox3.Controls.Add(Me.chk_EnableCam)
|
|||
|
|
Me.GroupBox3.Controls.Add(Me.bt_CaptureImage)
|
|||
|
|
Me.GroupBox3.Location = New System.Drawing.Point(6, 6)
|
|||
|
|
Me.GroupBox3.Name = "GroupBox3"
|
|||
|
|
Me.GroupBox3.Size = New System.Drawing.Size(658, 563)
|
|||
|
|
Me.GroupBox3.TabIndex = 11
|
|||
|
|
Me.GroupBox3.TabStop = False
|
|||
|
|
Me.GroupBox3.Text = "摄像控制"
|
|||
|
|
'
|
|||
|
|
'picBox_Preview
|
|||
|
|
'
|
|||
|
|
Me.picBox_Preview.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
|||
|
|
Me.picBox_Preview.Location = New System.Drawing.Point(17, 120)
|
|||
|
|
Me.picBox_Preview.Name = "picBox_Preview"
|
|||
|
|
Me.picBox_Preview.Size = New System.Drawing.Size(625, 351)
|
|||
|
|
Me.picBox_Preview.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom
|
|||
|
|
Me.picBox_Preview.TabIndex = 12
|
|||
|
|
Me.picBox_Preview.TabStop = False
|
|||
|
|
'
|
|||
|
|
'TabControl1
|
|||
|
|
'
|
|||
|
|
Me.TabControl1.Controls.Add(Me.TabPage1)
|
|||
|
|
Me.TabControl1.Controls.Add(Me.TabPage2)
|
|||
|
|
Me.TabControl1.Location = New System.Drawing.Point(494, 13)
|
|||
|
|
Me.TabControl1.Name = "TabControl1"
|
|||
|
|
Me.TabControl1.SelectedIndex = 0
|
|||
|
|
Me.TabControl1.Size = New System.Drawing.Size(700, 563)
|
|||
|
|
Me.TabControl1.TabIndex = 12
|
|||
|
|
'
|
|||
|
|
'TabPage1
|
|||
|
|
'
|
|||
|
|
Me.TabPage1.Controls.Add(Me.GroupBox3)
|
|||
|
|
Me.TabPage1.Location = New System.Drawing.Point(4, 22)
|
|||
|
|
Me.TabPage1.Name = "TabPage1"
|
|||
|
|
Me.TabPage1.Padding = New System.Windows.Forms.Padding(3)
|
|||
|
|
Me.TabPage1.Size = New System.Drawing.Size(692, 537)
|
|||
|
|
Me.TabPage1.TabIndex = 0
|
|||
|
|
Me.TabPage1.Text = "物料图片"
|
|||
|
|
Me.TabPage1.UseVisualStyleBackColor = True
|
|||
|
|
'
|
|||
|
|
'TabPage2
|
|||
|
|
'
|
|||
|
|
Me.TabPage2.Controls.Add(Me.Button2)
|
|||
|
|
Me.TabPage2.Controls.Add(Me.btnTips)
|
|||
|
|
Me.TabPage2.Controls.Add(Me.cb_AutoOverWrite)
|
|||
|
|
Me.TabPage2.Controls.Add(Me.btn_ImportAll)
|
|||
|
|
Me.TabPage2.Controls.Add(Me.tb_CurrentLocation)
|
|||
|
|
Me.TabPage2.Controls.Add(Me.tb_SelectedRow)
|
|||
|
|
Me.TabPage2.Controls.Add(Me.Button1)
|
|||
|
|
Me.TabPage2.Controls.Add(Me.grid_ImportPartNoList)
|
|||
|
|
Me.TabPage2.Location = New System.Drawing.Point(4, 22)
|
|||
|
|
Me.TabPage2.Name = "TabPage2"
|
|||
|
|
Me.TabPage2.Padding = New System.Windows.Forms.Padding(3)
|
|||
|
|
Me.TabPage2.Size = New System.Drawing.Size(692, 537)
|
|||
|
|
Me.TabPage2.TabIndex = 1
|
|||
|
|
Me.TabPage2.Text = "批量导入"
|
|||
|
|
Me.TabPage2.UseVisualStyleBackColor = True
|
|||
|
|
'
|
|||
|
|
'Button2
|
|||
|
|
'
|
|||
|
|
Me.Button2.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
|
|||
|
|
Me.Button2.Location = New System.Drawing.Point(591, 4)
|
|||
|
|
Me.Button2.Name = "Button2"
|
|||
|
|
Me.Button2.Size = New System.Drawing.Size(98, 41)
|
|||
|
|
Me.Button2.TabIndex = 10
|
|||
|
|
Me.Button2.Text = "批量导入"
|
|||
|
|
Me.Button2.UseVisualStyleBackColor = True
|
|||
|
|
'
|
|||
|
|
'btnTips
|
|||
|
|
'
|
|||
|
|
Me.btnTips.Location = New System.Drawing.Point(6, 6)
|
|||
|
|
Me.btnTips.Name = "btnTips"
|
|||
|
|
Me.btnTips.Size = New System.Drawing.Size(40, 36)
|
|||
|
|
Me.btnTips.TabIndex = 9
|
|||
|
|
Me.btnTips.UseVisualStyleBackColor = True
|
|||
|
|
'
|
|||
|
|
'cb_AutoOverWrite
|
|||
|
|
'
|
|||
|
|
Me.cb_AutoOverWrite.AutoSize = True
|
|||
|
|
Me.cb_AutoOverWrite.Location = New System.Drawing.Point(404, 17)
|
|||
|
|
Me.cb_AutoOverWrite.Name = "cb_AutoOverWrite"
|
|||
|
|
Me.cb_AutoOverWrite.Size = New System.Drawing.Size(72, 16)
|
|||
|
|
Me.cb_AutoOverWrite.TabIndex = 8
|
|||
|
|
Me.cb_AutoOverWrite.Text = "自动覆盖"
|
|||
|
|
Me.cb_AutoOverWrite.UseVisualStyleBackColor = True
|
|||
|
|
'
|
|||
|
|
'btn_ImportAll
|
|||
|
|
'
|
|||
|
|
Me.btn_ImportAll.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
|
|||
|
|
Me.btn_ImportAll.Location = New System.Drawing.Point(480, 4)
|
|||
|
|
Me.btn_ImportAll.Name = "btn_ImportAll"
|
|||
|
|
Me.btn_ImportAll.Size = New System.Drawing.Size(105, 41)
|
|||
|
|
Me.btn_ImportAll.TabIndex = 7
|
|||
|
|
Me.btn_ImportAll.Text = "自动导入"
|
|||
|
|
Me.btn_ImportAll.UseVisualStyleBackColor = True
|
|||
|
|
'
|
|||
|
|
'tb_CurrentLocation
|
|||
|
|
'
|
|||
|
|
Me.tb_CurrentLocation.Font = New System.Drawing.Font("宋体", 20.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
|
|||
|
|
Me.tb_CurrentLocation.Location = New System.Drawing.Point(210, 5)
|
|||
|
|
Me.tb_CurrentLocation.Name = "tb_CurrentLocation"
|
|||
|
|
Me.tb_CurrentLocation.Size = New System.Drawing.Size(127, 38)
|
|||
|
|
Me.tb_CurrentLocation.TabIndex = 6
|
|||
|
|
Me.tb_CurrentLocation.Text = "0"
|
|||
|
|
'
|
|||
|
|
'tb_SelectedRow
|
|||
|
|
'
|
|||
|
|
Me.tb_SelectedRow.Font = New System.Drawing.Font("宋体", 20.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
|
|||
|
|
Me.tb_SelectedRow.Location = New System.Drawing.Point(339, 5)
|
|||
|
|
Me.tb_SelectedRow.Name = "tb_SelectedRow"
|
|||
|
|
Me.tb_SelectedRow.Size = New System.Drawing.Size(59, 38)
|
|||
|
|
Me.tb_SelectedRow.TabIndex = 5
|
|||
|
|
Me.tb_SelectedRow.Text = "0"
|
|||
|
|
'
|
|||
|
|
'Button1
|
|||
|
|
'
|
|||
|
|
Me.Button1.Location = New System.Drawing.Point(49, 3)
|
|||
|
|
Me.Button1.Name = "Button1"
|
|||
|
|
Me.Button1.Size = New System.Drawing.Size(158, 43)
|
|||
|
|
Me.Button1.TabIndex = 3
|
|||
|
|
Me.Button1.Text = "保存文件(文件:c:\import.xls)"
|
|||
|
|
Me.Button1.UseVisualStyleBackColor = True
|
|||
|
|
'
|
|||
|
|
'grid_ImportPartNoList
|
|||
|
|
'
|
|||
|
|
Me.grid_ImportPartNoList.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
|
|||
|
|
Or System.Windows.Forms.AnchorStyles.Left) _
|
|||
|
|
Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
|||
|
|
Me.grid_ImportPartNoList.Cols = 10
|
|||
|
|
Me.grid_ImportPartNoList.DefaultFont = New System.Drawing.Font("宋体", 9.0!)
|
|||
|
|
Me.grid_ImportPartNoList.DefaultRowHeight = CType(28, Short)
|
|||
|
|
Me.grid_ImportPartNoList.GridColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer))
|
|||
|
|
Me.grid_ImportPartNoList.Location = New System.Drawing.Point(6, 48)
|
|||
|
|
Me.grid_ImportPartNoList.MouseWheelSpeed = CType(3, Short)
|
|||
|
|
Me.grid_ImportPartNoList.Name = "grid_ImportPartNoList"
|
|||
|
|
Me.grid_ImportPartNoList.Rows = 100000
|
|||
|
|
Me.grid_ImportPartNoList.Size = New System.Drawing.Size(680, 483)
|
|||
|
|
Me.grid_ImportPartNoList.TabIndex = 2
|
|||
|
|
'
|
|||
|
|
'form_PartNumber
|
|||
|
|
'
|
|||
|
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!)
|
|||
|
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
|||
|
|
Me.ClientSize = New System.Drawing.Size(1221, 707)
|
|||
|
|
Me.Controls.Add(Me.TabControl1)
|
|||
|
|
Me.Controls.Add(Me.lbl_QueryInfo)
|
|||
|
|
Me.Controls.Add(Me.lstb_Log)
|
|||
|
|
Me.Controls.Add(Me.GroupBox1)
|
|||
|
|
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
|
|||
|
|
Me.MaximizeBox = False
|
|||
|
|
Me.Name = "form_PartNumber"
|
|||
|
|
Me.Text = "料号管理"
|
|||
|
|
Me.GroupBox1.ResumeLayout(False)
|
|||
|
|
Me.GroupBox1.PerformLayout()
|
|||
|
|
Me.GroupBox2.ResumeLayout(False)
|
|||
|
|
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
|
|||
|
|
CType(Me.num_Weight, System.ComponentModel.ISupportInitialize).EndInit()
|
|||
|
|
Me.GroupBox3.ResumeLayout(False)
|
|||
|
|
Me.GroupBox3.PerformLayout()
|
|||
|
|
CType(Me.picBox_Preview, System.ComponentModel.ISupportInitialize).EndInit()
|
|||
|
|
Me.TabControl1.ResumeLayout(False)
|
|||
|
|
Me.TabPage1.ResumeLayout(False)
|
|||
|
|
Me.TabPage2.ResumeLayout(False)
|
|||
|
|
Me.TabPage2.PerformLayout()
|
|||
|
|
Me.ResumeLayout(False)
|
|||
|
|
Me.PerformLayout()
|
|||
|
|
|
|||
|
|
End Sub
|
|||
|
|
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
|
|||
|
|
Friend WithEvents Label6 As System.Windows.Forms.Label
|
|||
|
|
Friend WithEvents Label7 As System.Windows.Forms.Label
|
|||
|
|
Friend WithEvents Label5 As System.Windows.Forms.Label
|
|||
|
|
Friend WithEvents Label4 As System.Windows.Forms.Label
|
|||
|
|
Friend WithEvents tb_Descr As System.Windows.Forms.TextBox
|
|||
|
|
Friend WithEvents Label3 As System.Windows.Forms.Label
|
|||
|
|
Friend WithEvents tb_Name As System.Windows.Forms.TextBox
|
|||
|
|
Friend WithEvents Label2 As System.Windows.Forms.Label
|
|||
|
|
Friend WithEvents tb_PartNumber As System.Windows.Forms.TextBox
|
|||
|
|
Friend WithEvents Label1 As System.Windows.Forms.Label
|
|||
|
|
Friend WithEvents bt_Browse As System.Windows.Forms.Button
|
|||
|
|
Friend WithEvents combo_Unit As System.Windows.Forms.ComboBox
|
|||
|
|
Friend WithEvents bt_Save As System.Windows.Forms.Button
|
|||
|
|
Friend WithEvents bt_Query As System.Windows.Forms.Button
|
|||
|
|
Friend WithEvents lstb_Log As System.Windows.Forms.ListBox
|
|||
|
|
Friend WithEvents Label11 As System.Windows.Forms.Label
|
|||
|
|
Friend WithEvents num_Weight As System.Windows.Forms.NumericUpDown
|
|||
|
|
Friend WithEvents combo_Supplier As System.Windows.Forms.ComboBox
|
|||
|
|
Friend WithEvents bt_New As System.Windows.Forms.Button
|
|||
|
|
Friend WithEvents lbl_QueryInfo As System.Windows.Forms.Label
|
|||
|
|
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
|
|||
|
|
Friend WithEvents chk_EnableCam As System.Windows.Forms.CheckBox
|
|||
|
|
Friend WithEvents bt_CaptureImage As System.Windows.Forms.Button
|
|||
|
|
Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox
|
|||
|
|
Friend WithEvents PictureBox1 As System.Windows.Forms.PictureBox
|
|||
|
|
Friend WithEvents picBox_Preview As System.Windows.Forms.PictureBox
|
|||
|
|
Friend WithEvents TabControl1 As System.Windows.Forms.TabControl
|
|||
|
|
Friend WithEvents TabPage1 As System.Windows.Forms.TabPage
|
|||
|
|
Friend WithEvents TabPage2 As System.Windows.Forms.TabPage
|
|||
|
|
Friend WithEvents grid_ImportPartNoList As FlexCell.Grid
|
|||
|
|
Friend WithEvents Button1 As System.Windows.Forms.Button
|
|||
|
|
Friend WithEvents tb_CurrentLocation As System.Windows.Forms.TextBox
|
|||
|
|
Friend WithEvents tb_SelectedRow As System.Windows.Forms.TextBox
|
|||
|
|
Friend WithEvents cb_AutoOverWrite As CheckBox
|
|||
|
|
Friend WithEvents btnTips As Button
|
|||
|
|
Friend WithEvents Button2 As Button
|
|||
|
|
Friend WithEvents btn_ImportAll As Button
|
|||
|
|
End Class
|