_ Partial Class 部件清單控制表 Inherits System.Windows.Forms.Form 'Form 覆寫 Dispose 以清除元件清單。 _ 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 Form 設計工具的必要項 Private components As System.ComponentModel.IContainer '注意: 以下為 Windows Form 設計工具所需的程序 '可以使用 Windows Form 設計工具進行修改。 '請勿使用程式碼編輯器進行修改。 _ Private Sub InitializeComponent() Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle() Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(部件清單控制表)) Me.DataGridView1 = New System.Windows.Forms.DataGridView() Me.ComboBox1 = New System.Windows.Forms.ComboBox() Me.Label1 = New System.Windows.Forms.Label() Me.ComboBox2 = New System.Windows.Forms.ComboBox() Me.Label2 = New System.Windows.Forms.Label() Me.TextBox1 = New System.Windows.Forms.TextBox() Me.TextBox2 = New System.Windows.Forms.TextBox() Me.Label3 = New System.Windows.Forms.Label() Me.Label4 = New System.Windows.Forms.Label() Me.Button29 = New System.Windows.Forms.Button() Me.Label5 = New System.Windows.Forms.Label() Me.Label6 = New System.Windows.Forms.Label() Me.Label7 = New System.Windows.Forms.Label() Me.Button1 = New System.Windows.Forms.Button() Me.Button2 = New System.Windows.Forms.Button() Me.Button3 = New System.Windows.Forms.Button() Me.Label8 = New System.Windows.Forms.Label() Me.Button10 = New System.Windows.Forms.Button() Me.Button11 = New System.Windows.Forms.Button() Me.Button4 = New System.Windows.Forms.Button() CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).BeginInit() Me.SuspendLayout() ' 'DataGridView1 ' DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer)) Me.DataGridView1.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1 Me.DataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize Me.DataGridView1.Location = New System.Drawing.Point(21, 103) Me.DataGridView1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) Me.DataGridView1.Name = "DataGridView1" Me.DataGridView1.RowHeadersWidth = 5 Me.DataGridView1.RowTemplate.Height = 24 Me.DataGridView1.Size = New System.Drawing.Size(425, 553) Me.DataGridView1.TabIndex = 677 ' 'ComboBox1 ' Me.ComboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList Me.ComboBox1.FormattingEnabled = True Me.ComboBox1.Location = New System.Drawing.Point(104, 13) Me.ComboBox1.Name = "ComboBox1" Me.ComboBox1.Size = New System.Drawing.Size(242, 24) Me.ComboBox1.TabIndex = 692 ' 'Label1 ' Me.Label1.AutoSize = True Me.Label1.ForeColor = System.Drawing.Color.Red Me.Label1.Location = New System.Drawing.Point(18, 16) Me.Label1.Name = "Label1" Me.Label1.Size = New System.Drawing.Size(80, 16) Me.Label1.TabIndex = 693 Me.Label1.Text = "部件大項分類" ' 'ComboBox2 ' Me.ComboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList Me.ComboBox2.FormattingEnabled = True Me.ComboBox2.Location = New System.Drawing.Point(104, 72) Me.ComboBox2.Name = "ComboBox2" Me.ComboBox2.Size = New System.Drawing.Size(188, 24) Me.ComboBox2.TabIndex = 694 ' 'Label2 ' Me.Label2.AutoSize = True Me.Label2.ForeColor = System.Drawing.Color.Red Me.Label2.Location = New System.Drawing.Point(18, 75) Me.Label2.Name = "Label2" Me.Label2.Size = New System.Drawing.Size(80, 16) Me.Label2.TabIndex = 695 Me.Label2.Text = "貼標對應名稱" ' 'TextBox1 ' Me.TextBox1.Location = New System.Drawing.Point(104, 43) Me.TextBox1.Name = "TextBox1" Me.TextBox1.Size = New System.Drawing.Size(46, 23) Me.TextBox1.TabIndex = 696 ' 'TextBox2 ' Me.TextBox2.Location = New System.Drawing.Point(156, 43) Me.TextBox2.Name = "TextBox2" Me.TextBox2.Size = New System.Drawing.Size(190, 23) Me.TextBox2.TabIndex = 697 ' 'Label3 ' Me.Label3.AutoSize = True Me.Label3.ForeColor = System.Drawing.Color.Red Me.Label3.Location = New System.Drawing.Point(18, 46) Me.Label3.Name = "Label3" Me.Label3.Size = New System.Drawing.Size(56, 16) Me.Label3.TabIndex = 698 Me.Label3.Text = "部件名稱" ' 'Label4 ' Me.Label4.AutoSize = True Me.Label4.Location = New System.Drawing.Point(452, 65) Me.Label4.Name = "Label4" Me.Label4.Size = New System.Drawing.Size(152, 48) Me.Label4.TabIndex = 699 Me.Label4.Text = "先點擊新增按鈕清除左手邊" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "控制項上的資料,再選擇部" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "件大項分類。" ' 'Button29 ' Me.Button29.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte)) Me.Button29.ForeColor = System.Drawing.Color.Blue Me.Button29.Location = New System.Drawing.Point(452, 12) Me.Button29.Name = "Button29" Me.Button29.Size = New System.Drawing.Size(156, 50) Me.Button29.TabIndex = 707 Me.Button29.Text = "新增" Me.Button29.UseVisualStyleBackColor = True ' 'Label5 ' Me.Label5.AutoSize = True Me.Label5.Location = New System.Drawing.Point(452, 117) Me.Label5.Name = "Label5" Me.Label5.Size = New System.Drawing.Size(152, 80) Me.Label5.TabIndex = 708 Me.Label5.Text = "選擇完大項分類之後,請寫" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "入部件名稱,注意下面清單" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "中名稱前兩個字元,是由剛" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "剛選擇的大項生成,不需要" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "手動輸入。" ' 'Label6 ' Me.Label6.AutoSize = True Me.Label6.Location = New System.Drawing.Point(452, 201) Me.Label6.Name = "Label6" Me.Label6.Size = New System.Drawing.Size(152, 64) Me.Label6.TabIndex = 709 Me.Label6.Text = "如新建的部件再列印貼標時" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "不需要顯示,那就不要選擇" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "貼標對應名稱的資料,讓它" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "保持空白。" ' 'Label7 ' Me.Label7.AutoSize = True Me.Label7.Location = New System.Drawing.Point(452, 270) Me.Label7.Name = "Label7" Me.Label7.Size = New System.Drawing.Size(152, 32) Me.Label7.TabIndex = 710 Me.Label7.Text = "確定資料無誤之後再點擊下" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "方確認新增,將資料存檔。" ' 'Button1 ' Me.Button1.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte)) Me.Button1.ForeColor = System.Drawing.Color.Blue Me.Button1.Location = New System.Drawing.Point(452, 305) Me.Button1.Name = "Button1" Me.Button1.Size = New System.Drawing.Size(156, 50) Me.Button1.TabIndex = 711 Me.Button1.Text = "確認新增" Me.Button1.UseVisualStyleBackColor = True ' 'Button2 ' Me.Button2.Location = New System.Drawing.Point(298, 72) Me.Button2.Name = "Button2" Me.Button2.Size = New System.Drawing.Size(48, 24) Me.Button2.TabIndex = 712 Me.Button2.Text = "清空" Me.Button2.UseVisualStyleBackColor = True ' 'Button3 ' Me.Button3.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte)) Me.Button3.ForeColor = System.Drawing.Color.Red Me.Button3.Location = New System.Drawing.Point(452, 606) Me.Button3.Name = "Button3" Me.Button3.Size = New System.Drawing.Size(156, 50) Me.Button3.TabIndex = 713 Me.Button3.Text = "刪除" Me.Button3.UseVisualStyleBackColor = True ' 'Label8 ' Me.Label8.AutoSize = True Me.Label8.Location = New System.Drawing.Point(452, 523) Me.Label8.Name = "Label8" Me.Label8.Size = New System.Drawing.Size(152, 80) Me.Label8.TabIndex = 714 Me.Label8.Text = "該控制表內的刪除功能只在" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "資料剛新新建且新建錯誤時" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "使用,已經開始使用的資料" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "不能刪除或是修改,請注意" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "使用時機是否得當" ' 'Button10 ' Me.Button10.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte)) Me.Button10.ForeColor = System.Drawing.Color.Olive Me.Button10.Location = New System.Drawing.Point(365, 72) Me.Button10.Name = "Button10" Me.Button10.Size = New System.Drawing.Size(81, 25) Me.Button10.TabIndex = 815 Me.Button10.Text = "全部取消選" Me.Button10.UseVisualStyleBackColor = True ' 'Button11 ' Me.Button11.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte)) Me.Button11.ForeColor = System.Drawing.Color.Olive Me.Button11.Location = New System.Drawing.Point(365, 42) Me.Button11.Name = "Button11" Me.Button11.Size = New System.Drawing.Size(81, 25) Me.Button11.TabIndex = 814 Me.Button11.Text = "全部選擇" Me.Button11.UseVisualStyleBackColor = True ' 'Button4 ' Me.Button4.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte)) Me.Button4.ForeColor = System.Drawing.Color.Blue Me.Button4.Location = New System.Drawing.Point(365, 12) Me.Button4.Name = "Button4" Me.Button4.Size = New System.Drawing.Size(81, 26) Me.Button4.TabIndex = 816 Me.Button4.Text = "儲存修改" Me.Button4.UseVisualStyleBackColor = True ' '部件清單控制表 ' Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.ClientSize = New System.Drawing.Size(620, 669) Me.Controls.Add(Me.Button4) Me.Controls.Add(Me.Button10) Me.Controls.Add(Me.Button11) Me.Controls.Add(Me.Label8) Me.Controls.Add(Me.Button3) Me.Controls.Add(Me.Button2) Me.Controls.Add(Me.Button1) Me.Controls.Add(Me.Label7) Me.Controls.Add(Me.Label6) Me.Controls.Add(Me.Label5) Me.Controls.Add(Me.Button29) Me.Controls.Add(Me.Label4) Me.Controls.Add(Me.Label3) Me.Controls.Add(Me.TextBox2) Me.Controls.Add(Me.TextBox1) Me.Controls.Add(Me.ComboBox2) Me.Controls.Add(Me.Label2) Me.Controls.Add(Me.ComboBox1) Me.Controls.Add(Me.Label1) Me.Controls.Add(Me.DataGridView1) Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte)) Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon) Me.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4) Me.Name = "部件清單控制表" Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen Me.Text = "部件清單控制表" CType(Me.DataGridView1, System.ComponentModel.ISupportInitialize).EndInit() Me.ResumeLayout(False) Me.PerformLayout() End Sub Friend WithEvents DataGridView1 As DataGridView Friend WithEvents ComboBox1 As ComboBox Friend WithEvents Label1 As Label Friend WithEvents ComboBox2 As ComboBox Friend WithEvents Label2 As Label Friend WithEvents TextBox1 As TextBox Friend WithEvents TextBox2 As TextBox Friend WithEvents Label3 As Label Friend WithEvents Label4 As Label Friend WithEvents Button29 As Button Friend WithEvents Label5 As Label Friend WithEvents Label6 As Label Friend WithEvents Label7 As Label Friend WithEvents Button1 As Button Friend WithEvents Button2 As Button Friend WithEvents Button3 As Button Friend WithEvents Label8 As Label Friend WithEvents Button10 As Button Friend WithEvents Button11 As Button Friend WithEvents Button4 As Button End Class