|
@@ -28,10 +28,10 @@
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
- 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();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = 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();
|
|
@@ -84,6 +84,8 @@
|
|
|
this.pbClose.TabIndex = 107;
|
|
|
this.pbClose.TabStop = false;
|
|
|
this.pbClose.Click += new System.EventHandler(this.btnClose_Click);
|
|
|
+ this.pbClose.MouseEnter += new System.EventHandler(this.pbClose_MouseEnter);
|
|
|
+ this.pbClose.MouseLeave += new System.EventHandler(this.pbClose_MouseLeave);
|
|
|
//
|
|
|
// dgvLog
|
|
|
//
|
|
@@ -91,46 +93,46 @@
|
|
|
this.dgvLog.AllowUserToDeleteRows = false;
|
|
|
this.dgvLog.AllowUserToResizeColumns = false;
|
|
|
this.dgvLog.AllowUserToResizeRows = false;
|
|
|
- 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;
|
|
|
+ dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
+ dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
|
|
|
+ dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
+ dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
+ this.dgvLog.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
|
|
|
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});
|
|
|
- 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;
|
|
|
+ dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
+ dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window;
|
|
|
+ dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
+ dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
+ this.dgvLog.DefaultCellStyle = dataGridViewCellStyle6;
|
|
|
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;
|
|
|
- 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;
|
|
|
+ dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
+ dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
|
|
|
+ dataGridViewCellStyle7.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
+ dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
+ this.dgvLog.RowHeadersDefaultCellStyle = dataGridViewCellStyle7;
|
|
|
this.dgvLog.RowHeadersVisible = false;
|
|
|
this.dgvLog.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
|
- dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
- this.dgvLog.RowsDefaultCellStyle = dataGridViewCellStyle12;
|
|
|
+ dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
+ this.dgvLog.RowsDefaultCellStyle = dataGridViewCellStyle8;
|
|
|
this.dgvLog.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
|
this.dgvLog.RowTemplate.Height = 23;
|
|
|
this.dgvLog.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|