|
@@ -28,12 +28,13 @@
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
+ this.pbClose = new System.Windows.Forms.PictureBox();
|
|
|
this.dgvLog = new System.Windows.Forms.DataGridView();
|
|
|
this.ColCutHoleName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.ColStep = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
@@ -42,11 +43,10 @@
|
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
|
this.lblLogCount = new System.Windows.Forms.Label();
|
|
|
- this.pbClose = new System.Windows.Forms.PictureBox();
|
|
|
this.panel1.SuspendLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.pbClose)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvLog)).BeginInit();
|
|
|
this.panel2.SuspendLayout();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.pbClose)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// label1
|
|
@@ -71,52 +71,66 @@
|
|
|
this.panel1.Size = new System.Drawing.Size(718, 30);
|
|
|
this.panel1.TabIndex = 3;
|
|
|
//
|
|
|
+ // pbClose
|
|
|
+ //
|
|
|
+ this.pbClose.BackColor = System.Drawing.Color.Black;
|
|
|
+ this.pbClose.BackgroundImage = global::HOZProject.Properties.Resources.exit_Gray;
|
|
|
+ this.pbClose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
|
|
+ this.pbClose.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
|
+ this.pbClose.Dock = System.Windows.Forms.DockStyle.Right;
|
|
|
+ this.pbClose.Location = new System.Drawing.Point(686, 0);
|
|
|
+ this.pbClose.Name = "pbClose";
|
|
|
+ this.pbClose.Size = new System.Drawing.Size(32, 30);
|
|
|
+ this.pbClose.TabIndex = 107;
|
|
|
+ this.pbClose.TabStop = false;
|
|
|
+ this.pbClose.Click += new System.EventHandler(this.btnClose_Click);
|
|
|
+ //
|
|
|
// dgvLog
|
|
|
//
|
|
|
this.dgvLog.AllowUserToAddRows = false;
|
|
|
this.dgvLog.AllowUserToDeleteRows = false;
|
|
|
this.dgvLog.AllowUserToResizeColumns = false;
|
|
|
this.dgvLog.AllowUserToResizeRows = false;
|
|
|
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
- dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
|
|
|
- dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.HighlightText;
|
|
|
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
- this.dgvLog.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
|
|
+ dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
+ dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;
|
|
|
+ dataGridViewCellStyle9.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
+ dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
+ this.dgvLog.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9;
|
|
|
this.dgvLog.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
|
|
this.dgvLog.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
this.ColCutHoleName,
|
|
|
this.ColStep,
|
|
|
this.ColTime,
|
|
|
this.ColState});
|
|
|
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
|
|
|
- dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.HighlightText;
|
|
|
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
- this.dgvLog.DefaultCellStyle = dataGridViewCellStyle2;
|
|
|
+ dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
+ dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Window;
|
|
|
+ dataGridViewCellStyle10.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
+ dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
+ this.dgvLog.DefaultCellStyle = dataGridViewCellStyle10;
|
|
|
this.dgvLog.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
this.dgvLog.EnableHeadersVisualStyles = false;
|
|
|
this.dgvLog.Location = new System.Drawing.Point(0, 30);
|
|
|
this.dgvLog.MultiSelect = false;
|
|
|
this.dgvLog.Name = "dgvLog";
|
|
|
this.dgvLog.ReadOnly = true;
|
|
|
- dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
- dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
|
|
|
- dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
- dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.HighlightText;
|
|
|
- dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
- dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
- this.dgvLog.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
|
|
+ dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
+ dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control;
|
|
|
+ dataGridViewCellStyle11.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
+ dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
+ this.dgvLog.RowHeadersDefaultCellStyle = dataGridViewCellStyle11;
|
|
|
this.dgvLog.RowHeadersVisible = false;
|
|
|
this.dgvLog.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
|
- dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
- this.dgvLog.RowsDefaultCellStyle = dataGridViewCellStyle4;
|
|
|
+ dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
+ this.dgvLog.RowsDefaultCellStyle = dataGridViewCellStyle12;
|
|
|
this.dgvLog.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
this.dgvLog.RowTemplate.Height = 23;
|
|
|
this.dgvLog.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
@@ -197,24 +211,11 @@
|
|
|
this.lblLogCount.AutoSize = true;
|
|
|
this.lblLogCount.Font = new System.Drawing.Font("宋体", 10F);
|
|
|
this.lblLogCount.ForeColor = System.Drawing.Color.Black;
|
|
|
- this.lblLogCount.Location = new System.Drawing.Point(52, 4);
|
|
|
+ this.lblLogCount.Location = new System.Drawing.Point(57, 4);
|
|
|
this.lblLogCount.Name = "lblLogCount";
|
|
|
- this.lblLogCount.Size = new System.Drawing.Size(0, 14);
|
|
|
+ this.lblLogCount.Size = new System.Drawing.Size(28, 14);
|
|
|
this.lblLogCount.TabIndex = 0;
|
|
|
- //
|
|
|
- // pbClose
|
|
|
- //
|
|
|
- this.pbClose.BackColor = System.Drawing.Color.Black;
|
|
|
- this.pbClose.BackgroundImage = global::HOZProject.Properties.Resources.exit_Gray;
|
|
|
- this.pbClose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
|
|
- this.pbClose.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
|
- this.pbClose.Dock = System.Windows.Forms.DockStyle.Right;
|
|
|
- this.pbClose.Location = new System.Drawing.Point(686, 0);
|
|
|
- this.pbClose.Name = "pbClose";
|
|
|
- this.pbClose.Size = new System.Drawing.Size(32, 30);
|
|
|
- this.pbClose.TabIndex = 107;
|
|
|
- this.pbClose.TabStop = false;
|
|
|
- this.pbClose.Click += new System.EventHandler(this.btnClose_Click);
|
|
|
+ this.lblLogCount.Text = "0条";
|
|
|
//
|
|
|
// UControl_Log
|
|
|
//
|
|
@@ -229,10 +230,10 @@
|
|
|
this.Size = new System.Drawing.Size(718, 398);
|
|
|
this.panel1.ResumeLayout(false);
|
|
|
this.panel1.PerformLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.pbClose)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvLog)).EndInit();
|
|
|
this.panel2.ResumeLayout(false);
|
|
|
this.panel2.PerformLayout();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.pbClose)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
}
|