e582. Drawing with Color

public void paint(Graphics g) {
        Graphics2D g2d = (Graphics2D)g;
    
        // Use a predefined color
        g2d.setColor(Color.red);
        // Draw shapes...; see e586 Drawing Simple Shapes
    
        // Use a custom color
        int red = 230;
        int green = 45;
        int blue = 67;
        g2d.setColor(new Color(red, green, blue));
        // Draw shapes...; see e586 Drawing Simple Shapes
    }

 

Related Examples
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
namespace CSVDataPlotter { partial class MainForm { /// <summary> /// Required designer variable. /// </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() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend(); this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart(); this.btnLoad = new System.Windows.Forms.Button(); this.dataTimer = new System.Windows.Forms.Timer(this.components); ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit(); this.SuspendLayout(); // // chart1 // chartArea1.Name = "MainArea"; this.chart1.ChartAreas.Add(chartArea1); legend1.Name = "Legend1"; this.chart1.Legends.Add(legend1); this.chart1.Location = new System.Drawing.Point(12, 50); this.chart1.Name = "chart1"; this.chart1.Size = new System.Drawing.Size(776, 350); this.chart1.TabIndex = 0; this.chart1.Text = "chart1"; // // btnLoad // this.btnLoad.Font = new System.Drawing.Font("Microsoft YaHei", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnLoad.Location = new System.Drawing.Point(12, 12); this.btnLoad.Name = "btnLoad"; this.btnLoad.Size = new System.Drawing.Size(150, 32); this.btnLoad.TabIndex = 1; this.btnLoad.Text = "加载CSV文件"; this.btnLoad.UseVisualStyleBackColor = true; this.btnLoad.Click += new System.EventHandler(this.btnLoad_Click); // // dataTimer // this.dataTimer.Interval = 5000; this.dataTimer.Tick += new System.EventHandler(this.DataTimer_Tick); // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(800, 450); this.Controls.Add(this.btnLoad); this.Controls.Add(this.chart1); this.Name = "MainForm"; this.Text = "CSV数据图表"; this.Load += new System.EventHandler(this.MainForm_Load); ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit(); this.ResumeLayout(false); } #endregion private System.Windows.Forms.DataVisualization.Charting.Chart chart1; private System.Windows.Forms.Button btnLoad; private System.Windows.Forms.Timer dataTimer; } }严重性 代码 说明 项目 文件 行 禁止显示状态 错误 CS1061 “MainForm”未包含“MainForm_Load”的定义,并且找不到可接受第一个“MainForm”类型参数的可访问扩展方法“MainForm_Load”(是否缺少 using 指令或程序集引用?) CSVDataPlotter D:\software\DLL\CSVDataPlotter\CSVDataPlotter\Form1.Designer.cs 78 活动
08-09
带开环升压转换器和逆变器的太阳能光伏系统 太阳能光伏系统驱动开环升压转换器和SPWM逆变器提供波形稳定、设计简单的交流电的模型 Simulink模型展示了一个完整的基于太阳能光伏的直流到交流电力转换系统,该系统由简单、透明、易于理解的模块构建而成。该系统从配置为提供真实直流输出电压的光伏阵列开始,然后由开环DC-DC升压转换器进行处理。升压转换器将光伏电压提高到适合为单相全桥逆变器供电的稳定直流链路电平。 逆变器使用正弦PWM(SPWM)开关来产生干净的交流输出波形,使该模型成为研究直流-交流转换基本操作的理想选择。该设计避免了闭环和MPPT的复杂性,使用户能够专注于光伏接口、升压转换和逆变器开关的核心概念。 此模型包含的主要功能: •太阳能光伏阵列在标准条件下产生~200V电压 •具有固定占空比操作的开环升压转换器 •直流链路电容器,用于平滑和稳定转换器输出 •单相全桥SPWM逆变器 •交流负载,用于观察实际输出行为 •显示光伏电压、升压输出、直流链路电压、逆变器交流波形和负载电流的组织良好的范围 •完全可编辑的结构,适合分析、实验和扩展 该模型旨在为太阳能直流-交流转换提供一个干净高效的仿真框架。布局简单明了,允许用户快速了解信号流,检查各个阶段,并根据需要修改参数。 系统架构有意保持模块化,因此可以轻松扩展,例如通过添加MPPT、动态负载行为、闭环升压控制或并网逆变器概念。该模型为进一步开发或整合到更大的可再生能源模拟中奠定了坚实的基础。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值