修改显示菜单的颜色

develop
lhiven 1 year ago
parent 7daded4b2a
commit f66836c11f

@ -29,6 +29,7 @@
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CommonConfig));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.groupBox8 = new System.Windows.Forms.GroupBox();
this.button1 = new System.Windows.Forms.Button();
@ -709,6 +710,7 @@
//
resources.ApplyResources(this.dataGridView1, "dataGridView1");
this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dataGridView1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(56)))), ((int)(((byte)(56)))));
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.ID,
@ -717,6 +719,8 @@
this.,
this.});
this.dataGridView1.Name = "dataGridView1";
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.Black;
this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle1;
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellEndEdit);
this.dataGridView1.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dataGridView1_CellFormatting);

@ -124,7 +124,7 @@ namespace Rs.MotionPlat.SysConfig
{
dataGridView1.DataSource = dt;
}
if (GlobalUser.IsSuper())
if (GlobalUser.IsSuper() || GlobalUser.IsVender())
{
groupBox4.Visible = true;
}

@ -140,11 +140,8 @@
<data name="cboxScanBarcodeFailAutoSkip.Text" xml:space="preserve">
<value>扫码失败自动跳过</value>
</data>
<data name="&gt;&gt;cboxLanguage.Name" xml:space="preserve">
<value>cboxLanguage</value>
</data>
<data name="&gt;&gt;cboxDisableIonFanCheck.Name" xml:space="preserve">
<value>cboxDisableIonFanCheck</value>
<data name="&gt;&gt;cboxEnableTestFixtureFiberCheck.Name" xml:space="preserve">
<value>cboxEnableTestFixtureFiberCheck</value>
</data>
<data name="&gt;&gt;cboxLanguage.ZOrder" xml:space="preserve">
<value>1</value>
@ -351,6 +348,9 @@
<data name="label21.Size" type="System.Drawing.Size, System.Drawing">
<value>35, 12</value>
</data>
<data name="&gt;&gt;btnSaveSpeedParam.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="radioButton3.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
@ -382,7 +382,7 @@
<value>59, 12</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>Rs.MotionPlat.BaseForm, Rs.MotionPlat, Version=3.20.24.14, Culture=neutral, PublicKeyToken=null</value>
<value>Rs.MotionPlat.BaseForm, Rs.MotionPlat, Version=3.20.24.21, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="tbarTakeTrayFromNg2InputSpeed.AutoSize" type="System.Boolean, mscorlib">
<value>False</value>
@ -408,9 +408,6 @@
<data name="cboxMsgShowCn.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="&gt;&gt;label15.ZOrder" xml:space="preserve">
<value>13</value>
</data>
<data name="&gt;&gt;groupBox2.Parent" xml:space="preserve">
<value>groupBox8</value>
</data>
@ -501,9 +498,6 @@
<data name="&gt;&gt;英文名.Type" xml:space="preserve">
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="radioButton3.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="&gt;&gt;label24.ZOrder" xml:space="preserve">
<value>2</value>
</data>
@ -615,9 +609,6 @@
<data name="label7.Location" type="System.Drawing.Point, System.Drawing">
<value>39, 70</value>
</data>
<data name="label2.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="&gt;&gt;cboxEnableTestFixtureFiberCheck.Parent" xml:space="preserve">
<value>groupBox8</value>
</data>
@ -642,8 +633,8 @@
<data name="&gt;&gt;label6.Parent" xml:space="preserve">
<value>groupBox4</value>
</data>
<data name="&gt;&gt;cboxSocketHasProductCheck.Name" xml:space="preserve">
<value>cboxSocketHasProductCheck</value>
<data name="cboxInputTrayLoop.Text" xml:space="preserve">
<value>循环跑</value>
</data>
<data name="cboxEnableVirtuleBarCode.Location" type="System.Drawing.Point, System.Drawing">
<value>353, 185</value>
@ -660,8 +651,8 @@
<data name="lblWholeSpeed.Size" type="System.Drawing.Size, System.Drawing">
<value>17, 12</value>
</data>
<data name="txtQifuValue.TextAlign" type="System.Windows.Forms.HorizontalAlignment, System.Windows.Forms">
<value>Center</value>
<data name="&gt;&gt;label29.Name" xml:space="preserve">
<value>label29</value>
</data>
<data name="&gt;&gt;label24.Name" xml:space="preserve">
<value>label24</value>
@ -675,9 +666,6 @@
<data name="tableLayoutPanel1.RowCount" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="txtUpCameraGain.Text" xml:space="preserve">
<value>60</value>
</data>
<data name="cboxSocketHasProductCheck.TabIndex" type="System.Int32, mscorlib">
<value>8</value>
</data>
@ -783,8 +771,8 @@
<data name="groupBox9.Location" type="System.Drawing.Point, System.Drawing">
<value>257, 115</value>
</data>
<data name="txtControlCenterIP.TabIndex" type="System.Int32, mscorlib">
<value>42</value>
<data name="&gt;&gt;label15.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="tbarStockBeltSpeed.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
@ -810,8 +798,8 @@
<data name="groupBox8.Size" type="System.Drawing.Size, System.Drawing">
<value>778, 432</value>
</data>
<data name="label29.Text" xml:space="preserve">
<value>排料重取次数:</value>
<data name="radioButton3.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="&gt;&gt;label27.Parent" xml:space="preserve">
<value>groupBox4</value>
@ -924,9 +912,6 @@
<data name="cboxEnableExceptionHandlingNozzle.Size" type="System.Drawing.Size, System.Drawing">
<value>96, 16</value>
</data>
<data name="dataGridView1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="&gt;&gt;txtDownCameraFlyRegrabNum.Type" xml:space="preserve">
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
@ -975,9 +960,6 @@
<data name="label16.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="&gt;&gt;tbarTakeTrayFromNg2InputSpeed.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="label6.Size" type="System.Drawing.Size, System.Drawing">
<value>71, 12</value>
</data>
@ -993,6 +975,9 @@
<data name="&gt;&gt;lblTakeTrayFromNg2InputSpeed.Name" xml:space="preserve">
<value>lblTakeTrayFromNg2InputSpeed</value>
</data>
<data name="label27.Text" xml:space="preserve">
<value>中控端口:</value>
</data>
<data name="&gt;&gt;groupBox1.Type" xml:space="preserve">
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
@ -1041,8 +1026,8 @@
<data name="cboxRunSpace.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="&gt;&gt;btnSaveSpeedParam.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<data name="txtFlyGrabGain.Size" type="System.Drawing.Size, System.Drawing">
<value>83, 21</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Name" xml:space="preserve">
<value>tableLayoutPanel1</value>
@ -1077,6 +1062,9 @@
<data name="&gt;&gt;label13.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;tbarTakeTrayFromNg2InputSpeed.ZOrder" xml:space="preserve">
<value>6</value>
</data>
<data name="&gt;&gt;txtDownCameraFlyRegrabNum.Name" xml:space="preserve">
<value>txtDownCameraFlyRegrabNum</value>
</data>
@ -1089,6 +1077,9 @@
<data name="&gt;&gt;groupBox3.Name" xml:space="preserve">
<value>groupBox3</value>
</data>
<data name="txtControlCenterIP.TabIndex" type="System.Int32, mscorlib">
<value>42</value>
</data>
<data name="&gt;&gt;txtFlyGrabExposureTime.ZOrder" xml:space="preserve">
<value>0</value>
</data>
@ -1200,6 +1191,9 @@
<data name="&gt;&gt;cboxLocationFailAutoSkip.ZOrder" xml:space="preserve">
<value>8</value>
</data>
<data name="label14.Text" xml:space="preserve">
<value>重拍次数:</value>
</data>
<data name="&gt;&gt;txtControlCenterIP.ZOrder" xml:space="preserve">
<value>3</value>
</data>
@ -1239,8 +1233,8 @@
<data name="cboxLocationFailAutoSkip.TabIndex" type="System.Int32, mscorlib">
<value>53</value>
</data>
<data name="&gt;&gt;tbarTakeTrayFromNg2InputSpeed.ZOrder" xml:space="preserve">
<value>6</value>
<data name="&gt;&gt;label15.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="txtUpCameraGain.TabIndex" type="System.Int32, mscorlib">
<value>42</value>
@ -1251,6 +1245,9 @@
<data name="lblFlyCameraSpeed.Size" type="System.Drawing.Size, System.Drawing">
<value>17, 12</value>
</data>
<data name="txtDischargeRetakeNum.TabIndex" type="System.Int32, mscorlib">
<value>48</value>
</data>
<data name="&gt;&gt;是否显示.Name" xml:space="preserve">
<value>是否显示</value>
</data>
@ -1275,9 +1272,6 @@
<data name="&gt;&gt;lblFlyCameraSpeed.Name" xml:space="preserve">
<value>lblFlyCameraSpeed</value>
</data>
<data name="txtFlyGrabGain.Size" type="System.Drawing.Size, System.Drawing">
<value>83, 21</value>
</data>
<data name="label26.Visible" type="System.Boolean, mscorlib">
<value>False</value>
</data>
@ -1329,6 +1323,9 @@
<data name="&gt;&gt;cboxDisableCheckSocketLock.Type" xml:space="preserve">
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;cboxLanguage.Name" xml:space="preserve">
<value>cboxLanguage</value>
</data>
<data name="groupBox9.TabIndex" type="System.Int32, mscorlib">
<value>43</value>
</data>
@ -1386,12 +1383,12 @@
<data name="cboxEnableIndexTimeStatistics.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="&gt;&gt;cboxEnableIndexTimeStatistics.Parent" xml:space="preserve">
<value>groupBox8</value>
</data>
<data name="&gt;&gt;cboxInputTrayLoop.Type" xml:space="preserve">
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;cboxInputTrayLoop.Parent" xml:space="preserve">
<value>groupBox8</value>
</data>
<data name="&gt;&gt;groupBox8.Name" xml:space="preserve">
<value>groupBox8</value>
</data>
@ -1476,8 +1473,8 @@
<data name="&gt;&gt;label4.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="groupBox10.Location" type="System.Drawing.Point, System.Drawing">
<value>32, 115</value>
<data name="&gt;&gt;cboxEnableIndexTimeStatistics.Parent" xml:space="preserve">
<value>groupBox8</value>
</data>
<data name="label1.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
@ -1578,8 +1575,8 @@
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
<value>74, 18</value>
</data>
<data name="&gt;&gt;label15.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<data name="txtUpCameraExposureTime.Size" type="System.Drawing.Size, System.Drawing">
<value>83, 21</value>
</data>
<data name="&gt;&gt;label1.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
@ -1620,8 +1617,11 @@
<data name="&gt;&gt;lblStockBeltSpeed.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;lblScanBarcodeSpeed.ZOrder" xml:space="preserve">
<value>10</value>
<data name="&gt;&gt;cboxDisableIonFanCheck.Name" xml:space="preserve">
<value>cboxDisableIonFanCheck</value>
</data>
<data name="txtControlCenterIP.Font" type="System.Drawing.Font, System.Drawing">
<value>宋体, 9pt</value>
</data>
<data name="&gt;&gt;cboxEnableExceptionHandlingNozzle.Type" xml:space="preserve">
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
@ -1665,8 +1665,8 @@
<data name="radioButton3.Location" type="System.Drawing.Point, System.Drawing">
<value>12, 6</value>
</data>
<data name="txtControlCenterIP.Font" type="System.Drawing.Font, System.Drawing">
<value>宋体, 9pt</value>
<data name="&gt;&gt;lblScanBarcodeSpeed.ZOrder" xml:space="preserve">
<value>10</value>
</data>
<data name="cboxDisableIonFanCheck.Size" type="System.Drawing.Size, System.Drawing">
<value>120, 16</value>
@ -1734,9 +1734,6 @@
<data name="cboxDisableNPressCheck.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="&gt;&gt;cboxEnableTestFixtureFiberCheck.Name" xml:space="preserve">
<value>cboxEnableTestFixtureFiberCheck</value>
</data>
<data name="label24.Text" xml:space="preserve">
<value>增益:</value>
</data>
@ -1752,9 +1749,6 @@
<data name="txtFlyGrabExposureTime.Text" xml:space="preserve">
<value>60</value>
</data>
<data name="&gt;&gt;label29.Name" xml:space="preserve">
<value>label29</value>
</data>
<data name="&gt;&gt;lblWholeSpeed.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
@ -1848,6 +1842,9 @@
<data name="button1.Size" type="System.Drawing.Size, System.Drawing">
<value>73, 24</value>
</data>
<data name="txtQifuValue.TextAlign" type="System.Windows.Forms.HorizontalAlignment, System.Windows.Forms">
<value>Center</value>
</data>
<data name="&gt;&gt;lblScanBarcodeSpeed.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
@ -1890,8 +1887,8 @@
<data name="&gt;&gt;英文名.Name" xml:space="preserve">
<value>英文名</value>
</data>
<data name="&gt;&gt;cboxInputTrayLoop.Parent" xml:space="preserve">
<value>groupBox8</value>
<data name="&gt;&gt;label15.ZOrder" xml:space="preserve">
<value>13</value>
</data>
<data name="cboxGRR.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
@ -1908,9 +1905,6 @@
<data name="label11.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="txtUpCameraExposureTime.Size" type="System.Drawing.Size, System.Drawing">
<value>83, 21</value>
</data>
<data name="cboxEnableExceptionHandlingNozzle.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
@ -1947,6 +1941,9 @@
<data name="label15.Text" xml:space="preserve">
<value>搬运带料料盘速度:</value>
</data>
<data name="&gt;&gt;cboxSocketHasProductCheck.Name" xml:space="preserve">
<value>cboxSocketHasProductCheck</value>
</data>
<data name="&gt;&gt;tbarTakeTrayFromNg2InputSpeed.Type" xml:space="preserve">
<value>System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
@ -2034,6 +2031,9 @@
<data name="label3.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="groupBox10.Location" type="System.Drawing.Point, System.Drawing">
<value>32, 115</value>
</data>
<data name="txtFlyGrabExposureTime.TextAlign" type="System.Windows.Forms.HorizontalAlignment, System.Windows.Forms">
<value>Center</value>
</data>
@ -2064,9 +2064,6 @@
<data name="&gt;&gt;cboxScanBarcodeFailAutoSkip.Parent" xml:space="preserve">
<value>groupBox8</value>
</data>
<data name="&gt;&gt;label15.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="label14.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
@ -2076,8 +2073,8 @@
<data name="lblScanBarcodeSpeed.Size" type="System.Drawing.Size, System.Drawing">
<value>17, 12</value>
</data>
<data name="cboxMsgShowKo.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
<data name="cboxRunSpace.TabIndex" type="System.Int32, mscorlib">
<value>8</value>
</data>
<data name="&gt;&gt;label16.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
@ -2094,8 +2091,8 @@
<data name="cboxEnableWorkEnviromentCheck.Size" type="System.Drawing.Size, System.Drawing">
<value>120, 16</value>
</data>
<data name="label27.Text" xml:space="preserve">
<value>中控端口:</value>
<data name="dataGridView1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="&gt;&gt;label4.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
@ -2112,8 +2109,8 @@
<data name="label6.Location" type="System.Drawing.Point, System.Drawing">
<value>46, 38</value>
</data>
<data name="cboxInputTrayLoop.Text" xml:space="preserve">
<value>循环跑</value>
<data name="label2.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="groupBox2.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Right</value>
@ -2259,8 +2256,8 @@
<data name="&gt;&gt;ID.Type" xml:space="preserve">
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="label14.Text" xml:space="preserve">
<value>重拍次数:</value>
<data name="&gt;&gt;tbarTakeTrayFromNg2InputSpeed.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="label1.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
@ -2385,6 +2382,9 @@
<data name="&gt;&gt;groupBox9.Type" xml:space="preserve">
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="cboxMsgShowKo.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="cboxInputTrayLoop.Location" type="System.Drawing.Point, System.Drawing">
<value>484, 184</value>
</data>
@ -2529,14 +2529,14 @@
<data name="groupBox4.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="cboxRunSpace.TabIndex" type="System.Int32, mscorlib">
<value>8</value>
<data name="label29.Text" xml:space="preserve">
<value>排料重取次数:</value>
</data>
<data name="&gt;&gt;lblWholeSpeed.ZOrder" xml:space="preserve">
<value>16</value>
</data>
<data name="txtDischargeRetakeNum.TabIndex" type="System.Int32, mscorlib">
<value>48</value>
<data name="txtUpCameraGain.Text" xml:space="preserve">
<value>60</value>
</data>
<data name="cboxDisablePPressCheck.Size" type="System.Drawing.Size, System.Drawing">
<value>96, 16</value>

Loading…
Cancel
Save