Fill out these forms.

博客核心内容为需填写这些表格,强调了填写表格这一关键信息。

Fill out these forms.

 

填一下这些表。

namespace ESPT.Product_Control { partial class NTOKeyLotRailwayTimetable { /// <summary> /// Required designer variable.return; /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); System.Windows.Forms.DataVisualization.Charting.Legend legend2 = new System.Windows.Forms.DataVisualization.Charting.Legend(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.btn_export = new System.Windows.Forms.Button(); this.label17 = new System.Windows.Forms.Label(); this.button2 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.tb_LotList = new System.Windows.Forms.TextBox(); this.btn_Chart2 = new System.Windows.Forms.Button(); this.label16 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.btn_Warning = new System.Windows.Forms.Button(); this.label13 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); this.btn_Gap = new System.Windows.Forms.Button(); this.ccb_B = new System.Windows.Forms.ComboBox(); this.ccb_A = new System.Windows.Forms.ComboBox(); this.label12 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.btn_Update = new System.Windows.Forms.Button(); this.btn_Edit = new System.Windows.Forms.Button(); this.btn_cal = new System.Windows.Forms.Button(); this.tb_endstep = new System.Windows.Forms.TextBox(); this.label10 = new System.Windows.Forms.Label(); this.tb_planid = new System.Windows.Forms.TextBox(); this.label9 = new System.Windows.Forms.Label(); this.ccb_Tech = new System.Windows.Forms.ComboBox(); this.ccb_Product = new System.Windows.Forms.ComboBox(); this.label8 = new System.Windows.Forms.Label(); this.dtp_endtime = new System.Windows.Forms.DateTimePicker(); this.label7 = new System.Windows.Forms.Label(); this.tb_fqt = new System.Windows.Forms.TextBox(); this.btn_submit = new System.Windows.Forms.Button(); this.btn_save = new System.Windows.Forms.Button(); this.btn_delete = new System.Windows.Forms.Button(); this.btn_addlot = new System.Windows.Forms.Button(); this.tb_startstep = new System.Windows.Forms.TextBox(); this.label5 = new System.Windows.Forms.Label(); this.cb_mask = new System.Windows.Forms.CheckBox(); this.btn_chart = new System.Windows.Forms.Button(); this.btn_clear = new System.Windows.Forms.Button(); this.cb_qty = new System.Windows.Forms.ComboBox(); this.label6 = new System.Windows.Forms.Label(); this.dtp_starttime = new System.Windows.Forms.DateTimePicker(); this.tb_lot = new System.Windows.Forms.TextBox(); this.btn_query = new System.Windows.Forms.Button(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.cb_trackintime = new System.Windows.Forms.CheckBox(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart(); this.dgv_LotList = new System.Windows.Forms.DataGridView(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.dgv_railwayTimetable = new DevExpress.XtraGrid.GridControl(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.tableLayoutPanel1.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); this.splitContainer2.Panel1.SuspendLayout(); this.splitContainer2.Panel2.SuspendLayout(); this.splitContainer2.SuspendLayout(); this.tableLayoutPanel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgv_LotList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgv_railwayTimetable)).BeginInit(); this.tabControl1.SuspendLayout(); this.SuspendLayout(); // // tableLayoutPanel1 // this.tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.OutsetDouble; this.tableLayoutPanel1.ColumnCount = 1; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 0); this.tableLayoutPanel1.Controls.Add(this.tabControl1, 0, 1); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 2; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(1500, 852); this.tableLayoutPanel1.TabIndex = 2; // // tableLayoutPanel2 // this.tableLayoutPanel2.BackColor = System.Drawing.Color.LightBlue; this.tableLayoutPanel2.ColumnCount = 1; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel3, 0, 0); this.tableLayoutPanel2.Controls.Add(this.splitContainer1, 0, 1); this.tableLayoutPanel2.Controls.Add(this.btn_export, 0, 2); this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 3); this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(0); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 3; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 96F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F)); this.tableLayoutPanel2.Size = new System.Drawing.Size(1494, 819); this.tableLayoutPanel2.TabIndex = 0; // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.Location = new System.Drawing.Point(3, 99); this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.dgv_railwayTimetable); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.splitContainer2); this.splitContainer1.Size = new System.Drawing.Size(1488, 693); this.splitContainer1.SplitterDistance = 280; this.splitContainer1.TabIndex = 2; // // splitContainer2 // this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer2.Location = new System.Drawing.Point(0, 0); this.splitContainer2.Name = "splitContainer2"; // // splitContainer2.Panel1 // this.splitContainer2.Panel1.Controls.Add(this.dgv_LotList); // // splitContainer2.Panel2 // this.splitContainer2.Panel2.Controls.Add(this.chart1); this.splitContainer2.Size = new System.Drawing.Size(1488, 409); this.splitContainer2.SplitterDistance = 495; this.splitContainer2.TabIndex = 0; // // btn_export // this.btn_export.Dock = System.Windows.Forms.DockStyle.Right; this.btn_export.Location = new System.Drawing.Point(1419, 795); this.btn_export.Margin = new System.Windows.Forms.Padding(0); this.btn_export.Name = "btn_export"; this.btn_export.Size = new System.Drawing.Size(75, 24); this.btn_export.TabIndex = 3; this.btn_export.Text = "Export"; this.btn_export.UseVisualStyleBackColor = true; this.btn_export.Click += new System.EventHandler(this.btn_export_Click); // // label17 // this.label17.AutoSize = true; this.label17.Location = new System.Drawing.Point(1117, 30); this.label17.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(45, 14); this.label17.TabIndex = 54; this.label17.Text = "Lot List"; // // button2 // this.button2.Dock = System.Windows.Forms.DockStyle.Fill; this.button2.Location = new System.Drawing.Point(1415, 25); this.button2.Margin = new System.Windows.Forms.Padding(1); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(78, 22); this.button2.TabIndex = 53; this.button2.Text = "Delete"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // button1 // this.button1.Dock = System.Windows.Forms.DockStyle.Fill; this.button1.Location = new System.Drawing.Point(1315, 25); this.button1.Margin = new System.Windows.Forms.Padding(1); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(98, 22); this.button1.TabIndex = 52; this.button1.Text = "Add"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // comboBox1 // this.comboBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.comboBox1.FormattingEnabled = true; this.comboBox1.Location = new System.Drawing.Point(1315, 49); this.comboBox1.Margin = new System.Windows.Forms.Padding(1); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(98, 22); this.comboBox1.TabIndex = 51; // // tb_LotList // this.tb_LotList.Dock = System.Windows.Forms.DockStyle.Fill; this.tb_LotList.Location = new System.Drawing.Point(1195, 25); this.tb_LotList.Margin = new System.Windows.Forms.Padding(1); this.tb_LotList.Name = "tb_LotList"; this.tb_LotList.Size = new System.Drawing.Size(118, 22); this.tb_LotList.TabIndex = 50; // // btn_Chart2 // this.btn_Chart2.Dock = System.Windows.Forms.DockStyle.Fill; this.btn_Chart2.Location = new System.Drawing.Point(1415, 49); this.btn_Chart2.Margin = new System.Windows.Forms.Padding(1); this.btn_Chart2.Name = "btn_Chart2"; this.btn_Chart2.Size = new System.Drawing.Size(78, 22); this.btn_Chart2.TabIndex = 49; this.btn_Chart2.Text = "Chart"; this.btn_Chart2.UseVisualStyleBackColor = true; this.btn_Chart2.Click += new System.EventHandler(this.btn_Chart2_Click); // // label16 // this.label16.AutoSize = true; this.label16.Location = new System.Drawing.Point(1117, 54); this.label16.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(67, 14); this.label16.TabIndex = 47; this.label16.Text = "定版绘图:"; // // label15 // this.label15.AutoSize = true; this.label15.Location = new System.Drawing.Point(1117, 6); this.label15.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(67, 14); this.label15.TabIndex = 46; this.label15.Text = "初版绘图:"; // // btn_Warning // this.btn_Warning.Location = new System.Drawing.Point(481, 73); this.btn_Warning.Margin = new System.Windows.Forms.Padding(1); this.btn_Warning.Name = "btn_Warning"; this.btn_Warning.Size = new System.Drawing.Size(75, 22); this.btn_Warning.TabIndex = 45; this.btn_Warning.Text = "Warning"; this.btn_Warning.UseVisualStyleBackColor = true; this.btn_Warning.Click += new System.EventHandler(this.btn_Warning_Click); // // label13 // this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point(383, 78); this.label13.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(91, 14); this.label13.TabIndex = 44; this.label13.Text = "弹窗报警详情:"; // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(643, 54); this.label14.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(87, 14); this.label14.TabIndex = 43; this.label14.Text = "ForecastTimeB"; // // btn_Gap // this.btn_Gap.Dock = System.Windows.Forms.DockStyle.Fill; this.btn_Gap.Location = new System.Drawing.Point(741, 1); this.btn_Gap.Margin = new System.Windows.Forms.Padding(1); this.btn_Gap.Name = "btn_Gap"; this.btn_Gap.Size = new System.Drawing.Size(98, 22); this.btn_Gap.TabIndex = 42; this.btn_Gap.Text = "Gap"; this.btn_Gap.UseVisualStyleBackColor = true; this.btn_Gap.Click += new System.EventHandler(this.btn_Gap_Click); // // ccb_B // this.ccb_B.Dock = System.Windows.Forms.DockStyle.Fill; this.ccb_B.FormattingEnabled = true; this.ccb_B.Location = new System.Drawing.Point(741, 49); this.ccb_B.Margin = new System.Windows.Forms.Padding(1); this.ccb_B.Name = "ccb_B"; this.ccb_B.Size = new System.Drawing.Size(98, 22); this.ccb_B.TabIndex = 41; this.ccb_B.DropDown += new System.EventHandler(this.ccb_B_DropDown); // // ccb_A // this.ccb_A.Dock = System.Windows.Forms.DockStyle.Fill; this.ccb_A.FormattingEnabled = true; this.ccb_A.Location = new System.Drawing.Point(741, 25); this.ccb_A.Margin = new System.Windows.Forms.Padding(1); this.ccb_A.Name = "ccb_A"; this.ccb_A.Size = new System.Drawing.Size(98, 22); this.ccb_A.TabIndex = 40; this.ccb_A.DropDown += new System.EventHandler(this.ccb_A_DropDown); // // label12 // this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(643, 30); this.label12.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(87, 14); this.label12.TabIndex = 38; this.label12.Text = "ForecastTimeA"; // // label11 // this.label11.AutoSize = true; this.label11.Dock = System.Windows.Forms.DockStyle.Fill; this.label11.Location = new System.Drawing.Point(383, 54); this.label11.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(94, 18); this.label11.TabIndex = 36; this.label11.Text = "*拆小批需填:"; // // btn_Update // this.btn_Update.Dock = System.Windows.Forms.DockStyle.Fill; this.btn_Update.Location = new System.Drawing.Point(1415, 73); this.btn_Update.Margin = new System.Windows.Forms.Padding(1); this.btn_Update.Name = "btn_Update"; this.btn_Update.Size = new System.Drawing.Size(78, 22); this.btn_Update.TabIndex = 35; this.btn_Update.Text = "编辑后更新"; this.btn_Update.UseVisualStyleBackColor = true; this.btn_Update.Click += new System.EventHandler(this.btn_Update_Click); // // btn_Edit // this.btn_Edit.Dock = System.Windows.Forms.DockStyle.Fill; this.btn_Edit.Location = new System.Drawing.Point(1315, 73); this.btn_Edit.Margin = new System.Windows.Forms.Padding(1); this.btn_Edit.Name = "btn_Edit"; this.btn_Edit.Size = new System.Drawing.Size(98, 22); this.btn_Edit.TabIndex = 34; this.btn_Edit.Text = "提交后编辑"; this.btn_Edit.UseVisualStyleBackColor = true; this.btn_Edit.Click += new System.EventHandler(this.btn_Edit_Click); // // btn_cal // this.btn_cal.Dock = System.Windows.Forms.DockStyle.Fill; this.btn_cal.Location = new System.Drawing.Point(381, 25); this.btn_cal.Margin = new System.Windows.Forms.Padding(1); this.btn_cal.Name = "btn_cal"; this.btn_cal.Size = new System.Drawing.Size(98, 22); this.btn_cal.TabIndex = 33; this.btn_cal.Text = "AutoCal"; this.btn_cal.UseVisualStyleBackColor = true; this.btn_cal.Click += new System.EventHandler(this.btn_cal_Click); // // tb_endstep // this.tb_endstep.Dock = System.Windows.Forms.DockStyle.Fill; this.tb_endstep.Location = new System.Drawing.Point(81, 49); this.tb_endstep.Margin = new System.Windows.Forms.Padding(1); this.tb_endstep.Name = "tb_endstep"; this.tb_endstep.Size = new System.Drawing.Size(78, 22); this.tb_endstep.TabIndex = 32; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(3, 54); this.label10.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(57, 14); this.label10.TabIndex = 30; this.label10.Text = "*EndStep"; // // tb_planid // this.tb_planid.Dock = System.Windows.Forms.DockStyle.Fill; this.tb_planid.Location = new System.Drawing.Point(561, 49); this.tb_planid.Margin = new System.Windows.Forms.Padding(1); this.tb_planid.Name = "tb_planid"; this.tb_planid.Size = new System.Drawing.Size(78, 22); this.tb_planid.TabIndex = 29; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(483, 54); this.label9.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(43, 14); this.label9.TabIndex = 28; this.label9.Text = "PlanID"; // // ccb_Tech // this.ccb_Tech.Dock = System.Windows.Forms.DockStyle.Fill; this.ccb_Tech.FormattingEnabled = true; this.ccb_Tech.Location = new System.Drawing.Point(81, 1); this.ccb_Tech.Margin = new System.Windows.Forms.Padding(1); this.ccb_Tech.Name = "ccb_Tech"; this.ccb_Tech.Size = new System.Drawing.Size(78, 22); this.ccb_Tech.TabIndex = 26; this.ccb_Tech.DropDown += new System.EventHandler(this.ccb_Tech_DropDown); // // ccb_Product // this.ccb_Product.Dock = System.Windows.Forms.DockStyle.Fill; this.ccb_Product.FormattingEnabled = true; this.ccb_Product.Location = new System.Drawing.Point(241, 1); this.ccb_Product.Margin = new System.Windows.Forms.Padding(1); this.ccb_Product.Name = "ccb_Product"; this.ccb_Product.Size = new System.Drawing.Size(138, 22); this.ccb_Product.TabIndex = 25; this.ccb_Product.DropDown += new System.EventHandler(this.ccb_Product_DropDown); this.ccb_Product.SelectedIndexChanged += new System.EventHandler(this.ccb_Product_SelectedIndexChanged); this.ccb_Product.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tb_product_KeyPress); // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(163, 6); this.label8.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(53, 14); this.label8.TabIndex = 24; this.label8.Text = "*Prodcut"; // // dtp_endtime // this.dtp_endtime.CustomFormat = "yyyy/MM/dd HH:mm:ss"; this.dtp_endtime.Dock = System.Windows.Forms.DockStyle.Fill; this.dtp_endtime.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtp_endtime.Location = new System.Drawing.Point(241, 49); this.dtp_endtime.Margin = new System.Windows.Forms.Padding(1); this.dtp_endtime.Name = "dtp_endtime"; this.dtp_endtime.Size = new System.Drawing.Size(138, 22); this.dtp_endtime.TabIndex = 22; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(163, 54); this.label7.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(60, 14); this.label7.TabIndex = 21; this.label7.Text = "FEndTime"; // // tb_fqt // this.tb_fqt.Dock = System.Windows.Forms.DockStyle.Fill; this.tb_fqt.Location = new System.Drawing.Point(561, 25); this.tb_fqt.Margin = new System.Windows.Forms.Padding(1); this.tb_fqt.Name = "tb_fqt"; this.tb_fqt.Size = new System.Drawing.Size(78, 22); this.tb_fqt.TabIndex = 20; this.tb_fqt.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tb_fqt_KeyPress); // // btn_submit // this.btn_submit.Dock = System.Windows.Forms.DockStyle.Fill; this.btn_submit.Location = new System.Drawing.Point(1195, 73); this.btn_submit.Margin = new System.Windows.Forms.Padding(1); this.btn_submit.Name = "btn_submit"; this.btn_submit.Size = new System.Drawing.Size(118, 22); this.btn_submit.TabIndex = 19; this.btn_submit.Text = "定版提交"; this.btn_submit.UseVisualStyleBackColor = true; this.btn_submit.Click += new System.EventHandler(this.btn_submit_Click); // // btn_save // this.btn_save.Dock = System.Windows.Forms.DockStyle.Fill; this.btn_save.Location = new System.Drawing.Point(561, 73); this.btn_save.Margin = new System.Windows.Forms.Padding(1); this.btn_save.Name = "btn_save"; this.btn_save.Size = new System.Drawing.Size(78, 22); this.btn_save.TabIndex = 8; this.btn_save.Text = "Save"; this.btn_save.UseVisualStyleBackColor = true; this.btn_save.Visible = false; this.btn_save.Click += new System.EventHandler(this.btn_save_Click); // // btn_delete // this.btn_delete.Dock = System.Windows.Forms.DockStyle.Fill; this.btn_delete.Location = new System.Drawing.Point(161, 73); this.btn_delete.Margin = new System.Windows.Forms.Padding(1); this.btn_delete.Name = "btn_delete"; this.btn_delete.Size = new System.Drawing.Size(78, 22); this.btn_delete.TabIndex = 6; this.btn_delete.Text = "DeleteLot"; this.btn_delete.UseVisualStyleBackColor = true; this.btn_delete.Click += new System.EventHandler(this.btn_delete_Click); // // btn_addlot // this.btn_addlot.Dock = System.Windows.Forms.DockStyle.Fill; this.btn_addlot.Location = new System.Drawing.Point(1, 73); this.btn_addlot.Margin = new System.Windows.Forms.Padding(1); this.btn_addlot.Name = "btn_addlot"; this.btn_addlot.Size = new System.Drawing.Size(78, 22); this.btn_addlot.TabIndex = 4; this.btn_addlot.Text = "AddLot"; this.btn_addlot.UseVisualStyleBackColor = true; this.btn_addlot.Click += new System.EventHandler(this.btn_addlot_Click); // // tb_startstep // this.tb_startstep.Dock = System.Windows.Forms.DockStyle.Fill; this.tb_startstep.Location = new System.Drawing.Point(81, 25); this.tb_startstep.Margin = new System.Windows.Forms.Padding(1); this.tb_startstep.Name = "tb_startstep"; this.tb_startstep.Size = new System.Drawing.Size(78, 22); this.tb_startstep.TabIndex = 18; this.tb_startstep.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tb_startstep_KeyPress); // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(3, 30); this.label5.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(62, 14); this.label5.TabIndex = 17; this.label5.Text = "*StartStep"; // // cb_mask // this.cb_mask.AutoSize = true; this.cb_mask.Dock = System.Windows.Forms.DockStyle.Fill; this.cb_mask.Location = new System.Drawing.Point(1315, 3); this.cb_mask.Margin = new System.Windows.Forms.Padding(1, 3, 1, 1); this.cb_mask.Name = "cb_mask"; this.cb_mask.Size = new System.Drawing.Size(98, 20); this.cb_mask.TabIndex = 16; this.cb_mask.Text = "ShowMask"; this.cb_mask.UseVisualStyleBackColor = true; // // btn_chart // this.btn_chart.Dock = System.Windows.Forms.DockStyle.Fill; this.btn_chart.Location = new System.Drawing.Point(1415, 1); this.btn_chart.Margin = new System.Windows.Forms.Padding(1); this.btn_chart.Name = "btn_chart"; this.btn_chart.Size = new System.Drawing.Size(78, 22); this.btn_chart.TabIndex = 9; this.btn_chart.Text = "Chart"; this.btn_chart.UseVisualStyleBackColor = true; this.btn_chart.Click += new System.EventHandler(this.btn_chart_Click); // // btn_clear // this.btn_clear.Dock = System.Windows.Forms.DockStyle.Fill; this.btn_clear.Location = new System.Drawing.Point(241, 73); this.btn_clear.Margin = new System.Windows.Forms.Padding(1); this.btn_clear.Name = "btn_clear"; this.btn_clear.Size = new System.Drawing.Size(138, 22); this.btn_clear.TabIndex = 7; this.btn_clear.Text = "Clear"; this.btn_clear.UseVisualStyleBackColor = true; this.btn_clear.Click += new System.EventHandler(this.btn_clear_Click); // // cb_qty // this.cb_qty.Dock = System.Windows.Forms.DockStyle.Fill; this.cb_qty.FormattingEnabled = true; this.cb_qty.Location = new System.Drawing.Point(641, 1); this.cb_qty.Margin = new System.Windows.Forms.Padding(1); this.cb_qty.Name = "cb_qty"; this.cb_qty.Size = new System.Drawing.Size(98, 22); this.cb_qty.TabIndex = 15; this.cb_qty.DropDown += new System.EventHandler(this.cb_qty_DropDown); // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(563, 6); this.label6.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(33, 14); this.label6.TabIndex = 14; this.label6.Text = "*QTY"; // // dtp_starttime // this.dtp_starttime.CustomFormat = "yyyy/MM/dd HH:mm:ss"; this.dtp_starttime.Dock = System.Windows.Forms.DockStyle.Fill; this.dtp_starttime.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtp_starttime.Location = new System.Drawing.Point(241, 25); this.dtp_starttime.Margin = new System.Windows.Forms.Padding(1); this.dtp_starttime.Name = "dtp_starttime"; this.dtp_starttime.Size = new System.Drawing.Size(138, 22); this.dtp_starttime.TabIndex = 13; // // tb_lot // this.tb_lot.Dock = System.Windows.Forms.DockStyle.Fill; this.tb_lot.Location = new System.Drawing.Point(481, 1); this.tb_lot.Margin = new System.Windows.Forms.Padding(1); this.tb_lot.Name = "tb_lot"; this.tb_lot.Size = new System.Drawing.Size(78, 22); this.tb_lot.TabIndex = 11; this.tb_lot.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tb_lot_KeyPress); // // btn_query // this.btn_query.Dock = System.Windows.Forms.DockStyle.Fill; this.btn_query.Location = new System.Drawing.Point(81, 73); this.btn_query.Margin = new System.Windows.Forms.Padding(1); this.btn_query.Name = "btn_query"; this.btn_query.Size = new System.Drawing.Size(78, 22); this.btn_query.TabIndex = 5; this.btn_query.Text = "Query"; this.btn_query.UseVisualStyleBackColor = true; this.btn_query.Click += new System.EventHandler(this.btn_query_Click); // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(163, 30); this.label4.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(71, 14); this.label4.TabIndex = 3; this.label4.Text = "*FStartTime"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(483, 30); this.label3.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(33, 14); this.label3.TabIndex = 2; this.label3.Text = "*FQT"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(383, 6); this.label2.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(29, 14); this.label2.TabIndex = 1; this.label2.Text = "*Lot"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(3, 6); this.label1.Margin = new System.Windows.Forms.Padding(3, 6, 3, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(31, 14); this.label1.TabIndex = 0; this.label1.Text = "Tech"; // // cb_trackintime // this.cb_trackintime.AutoSize = true; this.cb_trackintime.Dock = System.Windows.Forms.DockStyle.Fill; this.cb_trackintime.Location = new System.Drawing.Point(1195, 3); this.cb_trackintime.Margin = new System.Windows.Forms.Padding(1, 3, 1, 1); this.cb_trackintime.Name = "cb_trackintime"; this.cb_trackintime.Size = new System.Drawing.Size(118, 20); this.cb_trackintime.TabIndex = 37; this.cb_trackintime.Text = "ShowTrackintime"; this.cb_trackintime.UseVisualStyleBackColor = true; // // tableLayoutPanel3 // this.tableLayoutPanel3.BackColor = System.Drawing.Color.LightBlue; this.tableLayoutPanel3.ColumnCount = 18; this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 140F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 90F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 120F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); this.tableLayoutPanel3.Controls.Add(this.cb_trackintime, 15, 0); this.tableLayoutPanel3.Controls.Add(this.label1, 0, 0); this.tableLayoutPanel3.Controls.Add(this.label2, 4, 0); this.tableLayoutPanel3.Controls.Add(this.label3, 5, 1); this.tableLayoutPanel3.Controls.Add(this.label4, 2, 1); this.tableLayoutPanel3.Controls.Add(this.btn_query, 1, 3); this.tableLayoutPanel3.Controls.Add(this.tb_lot, 5, 0); this.tableLayoutPanel3.Controls.Add(this.dtp_starttime, 3, 1); this.tableLayoutPanel3.Controls.Add(this.label6, 6, 0); this.tableLayoutPanel3.Controls.Add(this.cb_qty, 7, 0); this.tableLayoutPanel3.Controls.Add(this.btn_clear, 3, 3); this.tableLayoutPanel3.Controls.Add(this.btn_chart, 17, 0); this.tableLayoutPanel3.Controls.Add(this.cb_mask, 16, 0); this.tableLayoutPanel3.Controls.Add(this.label5, 0, 1); this.tableLayoutPanel3.Controls.Add(this.tb_startstep, 1, 1); this.tableLayoutPanel3.Controls.Add(this.btn_addlot, 0, 3); this.tableLayoutPanel3.Controls.Add(this.btn_delete, 2, 3); this.tableLayoutPanel3.Controls.Add(this.btn_save, 6, 3); this.tableLayoutPanel3.Controls.Add(this.btn_submit, 15, 3); this.tableLayoutPanel3.Controls.Add(this.tb_fqt, 6, 1); this.tableLayoutPanel3.Controls.Add(this.label7, 2, 2); this.tableLayoutPanel3.Controls.Add(this.dtp_endtime, 3, 2); this.tableLayoutPanel3.Controls.Add(this.label8, 2, 0); this.tableLayoutPanel3.Controls.Add(this.ccb_Product, 3, 0); this.tableLayoutPanel3.Controls.Add(this.ccb_Tech, 1, 0); this.tableLayoutPanel3.Controls.Add(this.label9, 5, 2); this.tableLayoutPanel3.Controls.Add(this.tb_planid, 6, 2); this.tableLayoutPanel3.Controls.Add(this.label10, 0, 2); this.tableLayoutPanel3.Controls.Add(this.tb_endstep, 1, 2); this.tableLayoutPanel3.Controls.Add(this.btn_cal, 4, 1); this.tableLayoutPanel3.Controls.Add(this.btn_Edit, 16, 3); this.tableLayoutPanel3.Controls.Add(this.btn_Update, 17, 3); this.tableLayoutPanel3.Controls.Add(this.label11, 4, 2); this.tableLayoutPanel3.Controls.Add(this.label12, 7, 1); this.tableLayoutPanel3.Controls.Add(this.ccb_A, 8, 1); this.tableLayoutPanel3.Controls.Add(this.ccb_B, 8, 2); this.tableLayoutPanel3.Controls.Add(this.btn_Gap, 8, 0); this.tableLayoutPanel3.Controls.Add(this.label14, 7, 2); this.tableLayoutPanel3.Controls.Add(this.label13, 4, 3); this.tableLayoutPanel3.Controls.Add(this.btn_Warning, 5, 3); this.tableLayoutPanel3.Controls.Add(this.label15, 14, 0); this.tableLayoutPanel3.Controls.Add(this.label16, 14, 2); this.tableLayoutPanel3.Controls.Add(this.btn_Chart2, 17, 2); this.tableLayoutPanel3.Controls.Add(this.tb_LotList, 15, 1); this.tableLayoutPanel3.Controls.Add(this.comboBox1, 16, 2); this.tableLayoutPanel3.Controls.Add(this.button1, 16, 1); this.tableLayoutPanel3.Controls.Add(this.button2, 17, 1); this.tableLayoutPanel3.Controls.Add(this.label17, 14, 1); this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel3.Margin = new System.Windows.Forms.Padding(0); this.tableLayoutPanel3.Name = "tableLayoutPanel3"; this.tableLayoutPanel3.RowCount = 4; this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F)); this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F)); this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F)); this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 24F)); this.tableLayoutPanel3.Size = new System.Drawing.Size(1494, 96); this.tableLayoutPanel3.TabIndex = 1; this.tableLayoutPanel3.Paint += new System.Windows.Forms.PaintEventHandler(this.tableLayoutPanel3_Paint); // // chart1 // this.chart1.BackImageAlignment = System.Windows.Forms.DataVisualization.Charting.ChartImageAlignmentStyle.Center; chartArea2.Name = "ChartArea1"; this.chart1.ChartAreas.Add(chartArea2); this.chart1.Dock = System.Windows.Forms.DockStyle.Fill; legend2.Alignment = System.Drawing.StringAlignment.Center; legend2.BackColor = System.Drawing.Color.SkyBlue; legend2.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.LeftRight; legend2.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Bottom; legend2.LegendStyle = System.Windows.Forms.DataVisualization.Charting.LegendStyle.Row; legend2.Name = "Legend1"; legend2.TableStyle = System.Windows.Forms.DataVisualization.Charting.LegendTableStyle.Wide; this.chart1.Legends.Add(legend2); this.chart1.Location = new System.Drawing.Point(0, 0); this.chart1.Name = "chart1"; this.chart1.Size = new System.Drawing.Size(989, 409); this.chart1.TabIndex = 6; this.chart1.Text = "chart1"; // // dgv_LotList // this.dgv_LotList.AllowUserToAddRows = false; this.dgv_LotList.AllowUserToDeleteRows = false; this.dgv_LotList.AllowUserToOrderColumns = true; this.dgv_LotList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgv_LotList.Dock = System.Windows.Forms.DockStyle.Fill; this.dgv_LotList.Location = new System.Drawing.Point(0, 0); this.dgv_LotList.Margin = new System.Windows.Forms.Padding(1); this.dgv_LotList.Name = "dgv_LotList"; this.dgv_LotList.ReadOnly = true; this.dgv_LotList.RowTemplate.Height = 23; this.dgv_LotList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dgv_LotList.Size = new System.Drawing.Size(495, 409); this.dgv_LotList.TabIndex = 4; // // gridView1 // this.gridView1.GridControl = this.dgv_railwayTimetable; this.gridView1.Name = "gridView1"; this.gridView1.OptionsBehavior.Editable = false; this.gridView1.OptionsView.ColumnAutoWidth = false; // // dgv_railwayTimetable // this.dgv_railwayTimetable.Dock = System.Windows.Forms.DockStyle.Fill; this.dgv_railwayTimetable.Location = new System.Drawing.Point(0, 0); this.dgv_railwayTimetable.LookAndFeel.SkinName = "VS2010"; this.dgv_railwayTimetable.LookAndFeel.UseDefaultLookAndFeel = false; this.dgv_railwayTimetable.MainView = this.gridView1; this.dgv_railwayTimetable.Name = "dgv_railwayTimetable"; this.dgv_railwayTimetable.Padding = new System.Windows.Forms.Padding(1); this.dgv_railwayTimetable.Size = new System.Drawing.Size(1488, 280); this.dgv_railwayTimetable.TabIndex = 1; this.dgv_railwayTimetable.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Location = new System.Drawing.Point(6, 828); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(200, 18); this.tabControl1.TabIndex = 1; // // tabPage1 // this.tabPage1.Location = new System.Drawing.Point(4, 23); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(192, 0); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "tabPage1"; this.tabPage1.UseVisualStyleBackColor = true; // // tabPage2 // this.tabPage2.Location = new System.Drawing.Point(4, 23); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Size = new System.Drawing.Size(192, 0); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "tabPage2"; this.tabPage2.UseVisualStyleBackColor = true; // // NTOKeyLotRailwayTimetable // this.Appearance.Font = new System.Drawing.Font("Calibri", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Appearance.ForeColor = System.Drawing.Color.Black; this.Appearance.Options.UseFont = true; this.Appearance.Options.UseForeColor = true; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.tableLayoutPanel1); this.Name = "NTOKeyLotRailwayTimetable"; this.Size = new System.Drawing.Size(1500, 852); this.Load += new System.EventHandler(this.NTOKeyLotRailwayTimetable_Load); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel2.ResumeLayout(false); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); this.splitContainer2.Panel1.ResumeLayout(false); this.splitContainer2.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); this.splitContainer2.ResumeLayout(false); this.tableLayoutPanel3.ResumeLayout(false); this.tableLayoutPanel3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgv_LotList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgv_railwayTimetable)).EndInit(); this.tabControl1.ResumeLayout(false); this.ResumeLayout(false); } #endregion private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; private System.Windows.Forms.SplitContainer splitContainer1; private System.Windows.Forms.SplitContainer splitContainer2; private System.Windows.Forms.Button btn_export; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3; private System.Windows.Forms.CheckBox cb_trackintime; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label4; private System.Windows.Forms.Button btn_query; private System.Windows.Forms.TextBox tb_lot; private System.Windows.Forms.DateTimePicker dtp_starttime; private System.Windows.Forms.Label label6; private System.Windows.Forms.ComboBox cb_qty; private System.Windows.Forms.Button btn_clear; private System.Windows.Forms.Button btn_chart; private System.Windows.Forms.CheckBox cb_mask; private System.Windows.Forms.Label label5; private System.Windows.Forms.TextBox tb_startstep; private System.Windows.Forms.Button btn_addlot; private System.Windows.Forms.Button btn_delete; private System.Windows.Forms.Button btn_save; private System.Windows.Forms.Button btn_submit; private System.Windows.Forms.TextBox tb_fqt; private System.Windows.Forms.Label label7; private System.Windows.Forms.DateTimePicker dtp_endtime; private System.Windows.Forms.Label label8; private System.Windows.Forms.ComboBox ccb_Product; private System.Windows.Forms.ComboBox ccb_Tech; private System.Windows.Forms.Label label9; private System.Windows.Forms.TextBox tb_planid; private System.Windows.Forms.Label label10; private System.Windows.Forms.TextBox tb_endstep; private System.Windows.Forms.Button btn_cal; private System.Windows.Forms.Button btn_Edit; private System.Windows.Forms.Button btn_Update; private System.Windows.Forms.Label label11; private System.Windows.Forms.Label label12; private System.Windows.Forms.ComboBox ccb_A; private System.Windows.Forms.ComboBox ccb_B; private System.Windows.Forms.Button btn_Gap; private System.Windows.Forms.Label label14; private System.Windows.Forms.Label label13; private System.Windows.Forms.Button btn_Warning; private System.Windows.Forms.Label label15; private System.Windows.Forms.Label label16; private System.Windows.Forms.Button btn_Chart2; private System.Windows.Forms.TextBox tb_LotList; private System.Windows.Forms.ComboBox comboBox1; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; private System.Windows.Forms.Label label17; private DevExpress.XtraGrid.GridControl dgv_railwayTimetable; private DevExpress.XtraGrid.Views.Grid.GridView gridView1; private System.Windows.Forms.DataGridView dgv_LotList; private System.Windows.Forms.DataVisualization.Charting.Chart chart1; private System.Windows.Forms.TabControl tabControl1; private System.Windows.Forms.TabPage tabPage1; private System.Windows.Forms.TabPage tabPage2; } }这是我的页面designer,现在我需要给它塞到第一个tabpage中
最新发布
11-22
<think> 我们有一个设计器生成的窗体(Form1)和一个TabControl控件,其中TabControl包含多个TabPage。现在,用户希望将设计器中的内容(可能是另一个窗体或控件的设计内容)添加到TabControl的第一个TabPage中。 根据引用[1],我们知道在WinForms中,设计器代码通常放在.Designer.cs文件中。但是,这里用户提到“页面designer中的内容”,可能是指一个已经设计好的用户控件(UserControl)或者是一个窗体的设计内容。然而,直接将一个窗体的内容放入TabPage可能并不合适,因为TabPage是一个容器,通常我们放入的是控件。 常见做法是: 1. 如果已经有一个设计好的用户控件(UserControl),那么我们可以直接在TabPage中加载这个用户控件。 2. 如果设计器内容是一个窗体(Form),我们可以将其内容提取出来,或者将窗体设计改造成用户控件。 但是,用户没有明确说明这个“页面designer”具体是什么。我们假设它是一个已经设计好的用户控件(UserControl),比如名为“MyUserControl”。那么,我们可以这样操作: 步骤: a. 创建用户控件的实例。 b. 将用户控件的Dock属性设置为Fill,使其填充整个TabPage。 c. 将该用户控件添加到TabControl的第一个TabPage的Controls集合中。 示例代码: ```csharp // 假设我们有一个用户控件 MyUserControl MyUserControl myControl = new MyUserControl(); myControl.Dock = DockStyle.Fill; // 将用户控件添加到第一个TabPage tabControl1.TabPages[0].Controls.Add(myControl); ``` 如果“页面designer”指的是另一个窗体的内容,我们通常不建议直接将窗体放入TabPage,因为窗体不能直接作为控件添加。但是,我们可以将窗体的内容合并到用户控件中,或者使用窗体的控件集合,将其中的控件逐个复制到TabPage中(这种方法比较麻烦,且容易出错)。 另一种方法是使用MDI窗体,但这里用户要求的是TabControl,所以不适用。 因此,最合理的方式是确保“页面designer”是一个用户控件(UserControl)。如果不是,则需要先将其转换为用户控件。 如果用户已经设计了一个窗体(比如Form2),想要将其内容放到TabPage中,那么可以: 1. 在解决方案中,添加一个用户控件(UserControl)。 2. 将Form2上的所有控件复制,然后粘贴到用户控件上。 3. 将Form2的代码(事件处理等)迁移到用户控件中。 然后,再按照上面的步骤将用户控件添加到TabPage中。 注意:如果用户控件中有菜单(MenuStrip)等控件,需要注意在TabPage中可能会出现显示问题,因为TabPage本身可能已经包含菜单(根据引用[1]的例子,主窗体可能有MenuStrip)。为了避免冲突,通常每个TabPage应该独立,所以用户控件内部可以有自己的菜单,但需要确保布局正确。 根据引用[2],我们还应该注意视觉样式的处理,但这个问题与当前任务关系不大。 因此,针对用户的问题,我们给出以下步骤: 1. 如果“页面designer”是一个用户控件,则直接实例化并添加到第一个TabPage。 2. 如果不是,则先将设计内容转换为用户控件,然后再添加。 示例代码(假设用户控件为MyUserControl): ```csharp // 确保tabControl1至少有一个TabPage if (tabControl1.TabPages.Count > 0) { // 创建用户控件实例 MyUserControl uc = new MyUserControl(); uc.Dock = DockStyle.Fill; // 填充整个TabPage tabControl1.TabPages[0].Controls.Add(uc); } ``` 注意:如果TabControl的第一个TabPage中原本有其他控件,可能需要先清除(Controls.Clear())或者考虑布局。 如果用户的问题是关于如何将设计器(Designer.cs)中的代码动态生成控件并添加到TabPage,那么我们需要解析设计器代码并动态创建控件。但是,这样做非常复杂,而且通常不推荐,因为设计器代码通常与InitializeComponent方法相关,而该方法是在窗体构造函数中调用的。因此,最好的办法还是使用用户控件。 综上所述,我们推荐使用用户控件的方式。 如果用户的问题中“页面designer”指的是当前窗体的设计器内容(即主窗体的内容),那么用户可能是想将主窗体的内容作为TabControl的第一个标签页。这通常不是常规做法,因为主窗体本身已经是一个容器。但如果我们确实需要这样做,可以考虑将主窗体上的控件全部移动到用户控件中,然后将该用户控件添加到TabPage中,同时隐藏主窗体上原来的控件(或者直接移除)。这样,主窗体上就只剩下TabControl,而原来的内容在第一个TabPage中显示。 步骤: 1. 创建一个用户控件(如MainContent)。 2. 将主窗体上的所有控件(除了TabControl)剪切并粘贴到MainContent用户控件上。 3. 将MainContent用户控件添加到第一个TabPage中,并设置Dock为Fill。 4. 调整主窗体,使其包含TabControl,并删除原来移走的控件。 但是,这个过程可能会破坏原有的事件处理等,需要重新关联事件(如果事件处理代码在窗体类中,可以将事件处理移到用户控件中,或者保留在窗体类中但修改事件订阅方式)。 由于这个过程比较复杂,且用户没有明确说明,我们假设用户是要将一个独立设计好的用户控件添加到TabPage中。 因此,我们给出以下回答: </think>要将设计器中的页面内容添加到第一个 `TabPage` 中,请按照以下步骤操作: ### 实现步骤 1. **创建用户控件** 将设计器中的内容封装成用户控件(`UserControl`): ```csharp // 在解决方案中新建用户控件 (如 PageDesignerControl.cs) public partial class PageDesignerControl : UserControl { public PageDesignerControl() { InitializeComponent(); // 此处放置设计器生成的控件初始化代码 } } ``` 2. **将用户控件添加到第一个 TabPage** 在主窗体的代码中动态加载用户控件: ```csharp private void MainForm_Load(object sender, EventArgs e) { // 创建用户控件实例 var designerContent = new PageDesignerControl(); designerContent.Dock = DockStyle.Fill; // 填充整个TabPage // 添加到第一个TabPage tabControl1.TabPages[0].Controls.Add(designerContent); } ``` 3. **关键设置** - 确保用户控件的 `Dock` 属性设置为 `Fill`(代码中已实现) - 检查 `TabControl` 的 `Dock` 属性(通常设为 `Fill` 以填充窗体) - 如果设计器内容包含菜单/工具栏,需按引用[1]处理停靠属性[^1] ### 注意事项 1. **设计器文件分离** 如引用[1]所述,VS会将设计器代码自动放在 `.Designer.cs` 文件中,直接修改用户控件的设计器文件即可[^1]。 2. **视觉样式处理** 若使用自定义绘制(如引用[2]),需在用户控件中重写 `OnPaint` 方法: ```csharp protected override void OnPaint(PaintEventArgs e) { base.OnPaint(e); if (Application.RenderWithVisualStyles && VisualStyleRenderer.IsElementDefined(element)) { renderer.DrawBackground(e.Graphics, this.ClientRectangle); } } ``` 3. **布局建议** | 控件类型 | 推荐属性设置 | |----------------|--------------------| | TabControl | `Dock = Fill` | | PageDesigner | `Dock = Fill` | | 内部子控件 | 按需设置锚定(Anchor) | ### 示例结构 ```csharp // MainForm.cs public partial class MainForm : Form { public MainForm() => InitializeComponent(); private void MainForm_Load(object sender, EventArgs e) { tabControl1.TabPages[0].Controls.Add(new PageDesignerControl { Dock = DockStyle.Fill }); } } // PageDesignerControl.cs (用户控件) public partial class PageDesignerControl : UserControl { // 设计器生成的控件声明 (自动存放在PageDesignerControl.Designer.cs) public PageDesignerControl() => InitializeComponent(); } ``` ### 常见问题解决 - **内容不显示**:检查用户控件的构造函数是否调用了 `InitializeComponent()` - **布局错乱**:确保所有容器控件的 `Dock` 或 `Anchor` 属性设置正确 - **事件未触发**:在用户控件内部实现事件处理,不要依赖主窗体
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值