|
|
@@ -12,22 +12,16 @@ using System;
|
|
|
using System.Collections;
|
|
|
using System.ComponentModel;
|
|
|
using System.Data;
|
|
|
-using System.Linq;
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
+using Dongke.IBOSS.Basics.FlowSetting;
|
|
|
using Dongke.IBOSS.PRD.Basics.BaseControls;
|
|
|
using Dongke.IBOSS.PRD.Basics.BaseResources;
|
|
|
using Dongke.IBOSS.PRD.Client.CommonModule;
|
|
|
using Dongke.IBOSS.PRD.Client.Controls;
|
|
|
using Dongke.IBOSS.PRD.Client.DataModels;
|
|
|
-using Dongke.IBOSS.PRD.WCF.Proxys;
|
|
|
-using Dongke.IBOSS.Basics.FlowSetting;
|
|
|
-using Dongke.IBOSS.PRD.WCF.Proxys.PCModuleService;
|
|
|
using Dongke.IBOSS.PRD.WCF.DataModels;
|
|
|
-using Dongke.IBOSS.PRD.WCF.Services;
|
|
|
-using Dongke.IBOSS.PRD.Service.BarcodePrintService;
|
|
|
-using Dongke.IBOSS.PRD.Service.DataModels;
|
|
|
-using Dongke.IBOSS.PRD.WCF.Contracts;
|
|
|
+using Dongke.IBOSS.PRD.WCF.Proxys;
|
|
|
|
|
|
namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
{
|
|
|
@@ -183,6 +177,12 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
this.txtBarCodePrintCopies.DataValue = this._procedureEntity.BarCodePrintCopies;
|
|
|
|
|
|
this.ddlPrintType.SelectedValue = this._procedureEntity.PrintType;
|
|
|
+ //xuwei add 2019-12-11
|
|
|
+ if (!string.IsNullOrEmpty(this._procedureEntity.SemiGoodsLevel))
|
|
|
+ {
|
|
|
+ string[] ids = this._procedureEntity.SemiGoodsLevel.Split(',');
|
|
|
+ cklSemiGoodsLevel.SetItemCheckedByValueID(true, ids);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -210,26 +210,23 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle79 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle80 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle81 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle82 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle83 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle84 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle85 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle86 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle87 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle88 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle89 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle90 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle91 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ 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 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();
|
|
|
+ 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 dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(F_PC_0206));
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
|
+ this.ddlProcessModelType = new Dongke.IBOSS.PRD.Basics.BaseControls.DKListBoxComboBox();
|
|
|
this.groupBoxSemi = new System.Windows.Forms.GroupBox();
|
|
|
- this.cbSemiScrap = new Dongke.IBOSS.PRD.Basics.BaseControls.C_CheckBox();
|
|
|
- this.cbSemiCheck = new Dongke.IBOSS.PRD.Basics.BaseControls.C_CheckBox();
|
|
|
- this.cbSemiRework = new Dongke.IBOSS.PRD.Basics.BaseControls.C_CheckBox();
|
|
|
- this.cbSemiAccept = new Dongke.IBOSS.PRD.Basics.BaseControls.C_CheckBox();
|
|
|
this.ddlPrintType = new Dongke.IBOSS.PRD.Basics.BaseControls.C_ComboBox();
|
|
|
this.c_Label6 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
|
|
|
this.txtBarCodePrintCopies = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DGV_Digital();
|
|
|
@@ -287,7 +284,7 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
this.JobsName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.btnCancel = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
|
|
|
this.btnSave = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
|
|
|
- this.ddlProcessModelType = new Dongke.IBOSS.PRD.Basics.BaseControls.DKListBoxComboBox();
|
|
|
+ this.cklSemiGoodsLevel = new Dongke.WinForm.Controls.CklCheckedListBox();
|
|
|
this.groupBox1.SuspendLayout();
|
|
|
this.groupBoxSemi.SuspendLayout();
|
|
|
this.groupBox4.SuspendLayout();
|
|
|
@@ -341,68 +338,46 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
this.groupBox1.TabStop = false;
|
|
|
this.groupBox1.Text = "基本属性";
|
|
|
//
|
|
|
+ // ddlProcessModelType
|
|
|
+ //
|
|
|
+ this.ddlProcessModelType.BackColor = System.Drawing.Color.Yellow;
|
|
|
+ this.ddlProcessModelType.BackgroundColor = System.Drawing.SystemColors.Window;
|
|
|
+ this.ddlProcessModelType.DataSource = null;
|
|
|
+ this.ddlProcessModelType.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.ddlProcessModelType.FormattingEnabled = true;
|
|
|
+ this.ddlProcessModelType.IsMustInput = true;
|
|
|
+ //
|
|
|
+ //
|
|
|
+ //
|
|
|
+ this.ddlProcessModelType.ListBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
+ this.ddlProcessModelType.ListBox.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.ddlProcessModelType.ListBox.Location = new System.Drawing.Point(0, 0);
|
|
|
+ this.ddlProcessModelType.ListBox.Name = "";
|
|
|
+ this.ddlProcessModelType.ListBox.Size = new System.Drawing.Size(141, 136);
|
|
|
+ this.ddlProcessModelType.ListBox.TabIndex = 0;
|
|
|
+ this.ddlProcessModelType.ListBox.SelectedIndexChanged += new System.EventHandler(this.cobProcessModelType_SelectedIndexChanged);
|
|
|
+ this.ddlProcessModelType.Location = new System.Drawing.Point(544, 25);
|
|
|
+ this.ddlProcessModelType.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.ddlProcessModelType.Name = "ddlProcessModelType";
|
|
|
+ this.ddlProcessModelType.Size = new System.Drawing.Size(143, 23);
|
|
|
+ this.ddlProcessModelType.TabIndex = 25;
|
|
|
+ this.ddlProcessModelType.SelectedIndexChanged += new System.EventHandler(this.cobProcessModelType_SelectedIndexChanged);
|
|
|
+ //
|
|
|
// groupBoxSemi
|
|
|
//
|
|
|
this.groupBoxSemi.BackColor = System.Drawing.Color.Transparent;
|
|
|
- this.groupBoxSemi.Controls.Add(this.cbSemiScrap);
|
|
|
- this.groupBoxSemi.Controls.Add(this.cbSemiCheck);
|
|
|
- this.groupBoxSemi.Controls.Add(this.cbSemiRework);
|
|
|
- this.groupBoxSemi.Controls.Add(this.cbSemiAccept);
|
|
|
+ this.groupBoxSemi.Controls.Add(this.cklSemiGoodsLevel);
|
|
|
this.groupBoxSemi.Location = new System.Drawing.Point(472, 61);
|
|
|
this.groupBoxSemi.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.groupBoxSemi.Name = "groupBoxSemi";
|
|
|
this.groupBoxSemi.Padding = new System.Windows.Forms.Padding(4);
|
|
|
- this.groupBoxSemi.Size = new System.Drawing.Size(497, 68);
|
|
|
+ this.groupBoxSemi.Size = new System.Drawing.Size(220, 149);
|
|
|
this.groupBoxSemi.TabIndex = 24;
|
|
|
this.groupBoxSemi.TabStop = false;
|
|
|
this.groupBoxSemi.Tag = "";
|
|
|
- this.groupBoxSemi.Text = "半检登记";
|
|
|
+ this.groupBoxSemi.Text = "半检产品等级";
|
|
|
this.groupBoxSemi.Visible = false;
|
|
|
//
|
|
|
- // cbSemiScrap
|
|
|
- //
|
|
|
- this.cbSemiScrap.AutoSize = true;
|
|
|
- this.cbSemiScrap.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.cbSemiScrap.Location = new System.Drawing.Point(231, 32);
|
|
|
- this.cbSemiScrap.Name = "cbSemiScrap";
|
|
|
- this.cbSemiScrap.Size = new System.Drawing.Size(59, 19);
|
|
|
- this.cbSemiScrap.TabIndex = 1;
|
|
|
- this.cbSemiScrap.Text = "废品";
|
|
|
- this.cbSemiScrap.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // cbSemiCheck
|
|
|
- //
|
|
|
- this.cbSemiCheck.AutoSize = true;
|
|
|
- this.cbSemiCheck.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.cbSemiCheck.Location = new System.Drawing.Point(158, 32);
|
|
|
- this.cbSemiCheck.Name = "cbSemiCheck";
|
|
|
- this.cbSemiCheck.Size = new System.Drawing.Size(59, 19);
|
|
|
- this.cbSemiCheck.TabIndex = 1;
|
|
|
- this.cbSemiCheck.Text = "复检";
|
|
|
- this.cbSemiCheck.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // cbSemiRework
|
|
|
- //
|
|
|
- this.cbSemiRework.AutoSize = true;
|
|
|
- this.cbSemiRework.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.cbSemiRework.Location = new System.Drawing.Point(85, 32);
|
|
|
- this.cbSemiRework.Name = "cbSemiRework";
|
|
|
- this.cbSemiRework.Size = new System.Drawing.Size(59, 19);
|
|
|
- this.cbSemiRework.TabIndex = 1;
|
|
|
- this.cbSemiRework.Text = "返工";
|
|
|
- this.cbSemiRework.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // cbSemiAccept
|
|
|
- //
|
|
|
- this.cbSemiAccept.AutoSize = true;
|
|
|
- this.cbSemiAccept.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.cbSemiAccept.Location = new System.Drawing.Point(12, 32);
|
|
|
- this.cbSemiAccept.Name = "cbSemiAccept";
|
|
|
- this.cbSemiAccept.Size = new System.Drawing.Size(59, 19);
|
|
|
- this.cbSemiAccept.TabIndex = 0;
|
|
|
- this.cbSemiAccept.Text = "良品";
|
|
|
- this.cbSemiAccept.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
// ddlPrintType
|
|
|
//
|
|
|
this.ddlPrintType.BackColor = System.Drawing.SystemColors.Window;
|
|
|
@@ -462,11 +437,11 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
this.groupBox4.BackColor = System.Drawing.Color.Transparent;
|
|
|
this.groupBox4.Controls.Add(this.radioJobsPrice);
|
|
|
this.groupBox4.Controls.Add(this.radioNotPrice);
|
|
|
- this.groupBox4.Location = new System.Drawing.Point(472, 142);
|
|
|
+ this.groupBox4.Location = new System.Drawing.Point(703, 61);
|
|
|
this.groupBox4.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.groupBox4.Name = "groupBox4";
|
|
|
this.groupBox4.Padding = new System.Windows.Forms.Padding(4);
|
|
|
- this.groupBox4.Size = new System.Drawing.Size(220, 68);
|
|
|
+ this.groupBox4.Size = new System.Drawing.Size(266, 68);
|
|
|
this.groupBox4.TabIndex = 9;
|
|
|
this.groupBox4.TabStop = false;
|
|
|
this.groupBox4.Tag = "";
|
|
|
@@ -841,8 +816,8 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
// dgvGoods
|
|
|
//
|
|
|
this.dgvGoods.AllowUserToModifyRows = true;
|
|
|
- dataGridViewCellStyle79.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
|
|
|
- this.dgvGoods.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle79;
|
|
|
+ dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
|
|
|
+ this.dgvGoods.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
|
|
this.dgvGoods.CellBackColorNochanged = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
|
this.dgvGoods.CellBackColorReadOnly = System.Drawing.SystemColors.Control;
|
|
|
this.dgvGoods.CellHeight = 23;
|
|
|
@@ -850,14 +825,14 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
this.dgvGoods.ChildNodeColumnText = null;
|
|
|
this.dgvGoods.ColumnDeep = 1;
|
|
|
this.dgvGoods.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
|
- dataGridViewCellStyle80.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
- dataGridViewCellStyle80.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
|
|
|
- dataGridViewCellStyle80.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- dataGridViewCellStyle80.ForeColor = System.Drawing.Color.White;
|
|
|
- dataGridViewCellStyle80.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
- dataGridViewCellStyle80.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
- dataGridViewCellStyle80.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
- this.dgvGoods.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle80;
|
|
|
+ dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
+ dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
|
|
|
+ dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
|
|
|
+ dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
+ dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
+ this.dgvGoods.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
|
|
this.dgvGoods.ColumnHeadersHeight = 29;
|
|
|
this.dgvGoods.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
|
|
this.dgvGoods.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
@@ -868,14 +843,14 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
this.GoodsSpecification});
|
|
|
this.dgvGoods.ColumnTreeView = null;
|
|
|
this.dgvGoods.ContextMenuVisible = ((Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags)((Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags.Refine | Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags.FileOut)));
|
|
|
- dataGridViewCellStyle81.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
- dataGridViewCellStyle81.BackColor = System.Drawing.SystemColors.Window;
|
|
|
- dataGridViewCellStyle81.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- dataGridViewCellStyle81.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
- dataGridViewCellStyle81.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
- dataGridViewCellStyle81.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
- dataGridViewCellStyle81.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
- this.dgvGoods.DefaultCellStyle = dataGridViewCellStyle81;
|
|
|
+ dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
|
+ dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
|
|
|
+ dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
|
|
|
+ dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
+ dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
+ this.dgvGoods.DefaultCellStyle = dataGridViewCellStyle3;
|
|
|
this.dgvGoods.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
this.dgvGoods.DynamicColumnName = "";
|
|
|
this.dgvGoods.EnableHeadersVisualStyles = false;
|
|
|
@@ -898,8 +873,8 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
this.dgvGoods.RefreshAtHscroll = false;
|
|
|
this.dgvGoods.RowHeadersWidth = 50;
|
|
|
this.dgvGoods.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
|
- dataGridViewCellStyle82.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
|
|
|
- this.dgvGoods.RowsDefaultCellStyle = dataGridViewCellStyle82;
|
|
|
+ dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
|
|
|
+ this.dgvGoods.RowsDefaultCellStyle = dataGridViewCellStyle4;
|
|
|
this.dgvGoods.RowTemplate.Height = 21;
|
|
|
this.dgvGoods.Size = new System.Drawing.Size(968, 310);
|
|
|
this.dgvGoods.SortOrderColumnName = null;
|
|
|
@@ -972,8 +947,8 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
// dgvUser
|
|
|
//
|
|
|
this.dgvUser.AllowUserToModifyRows = true;
|
|
|
- dataGridViewCellStyle83.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
|
|
|
- this.dgvUser.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle83;
|
|
|
+ dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
|
|
|
+ this.dgvUser.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle5;
|
|
|
this.dgvUser.CellBackColorNochanged = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
|
this.dgvUser.CellBackColorReadOnly = System.Drawing.SystemColors.Control;
|
|
|
this.dgvUser.CellHeight = 23;
|
|
|
@@ -981,14 +956,14 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
this.dgvUser.ChildNodeColumnText = null;
|
|
|
this.dgvUser.ColumnDeep = 1;
|
|
|
this.dgvUser.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
|
- dataGridViewCellStyle84.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
- dataGridViewCellStyle84.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
|
|
|
- dataGridViewCellStyle84.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- dataGridViewCellStyle84.ForeColor = System.Drawing.Color.White;
|
|
|
- dataGridViewCellStyle84.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
- dataGridViewCellStyle84.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
- dataGridViewCellStyle84.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
- this.dgvUser.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle84;
|
|
|
+ dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
+ dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
|
|
|
+ dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ dataGridViewCellStyle6.ForeColor = System.Drawing.Color.White;
|
|
|
+ dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
+ dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
+ this.dgvUser.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
|
|
|
this.dgvUser.ColumnHeadersHeight = 29;
|
|
|
this.dgvUser.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
|
|
this.dgvUser.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
@@ -1020,8 +995,8 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
this.dgvUser.RefreshAtHscroll = false;
|
|
|
this.dgvUser.RowHeadersWidth = 50;
|
|
|
this.dgvUser.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
|
- dataGridViewCellStyle85.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
|
|
|
- this.dgvUser.RowsDefaultCellStyle = dataGridViewCellStyle85;
|
|
|
+ dataGridViewCellStyle7.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
|
|
|
+ this.dgvUser.RowsDefaultCellStyle = dataGridViewCellStyle7;
|
|
|
this.dgvUser.RowTemplate.Height = 21;
|
|
|
this.dgvUser.Size = new System.Drawing.Size(968, 310);
|
|
|
this.dgvUser.SortOrderColumnName = null;
|
|
|
@@ -1086,8 +1061,8 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
// dgvDefect
|
|
|
//
|
|
|
this.dgvDefect.AllowUserToModifyRows = true;
|
|
|
- dataGridViewCellStyle86.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
|
|
|
- this.dgvDefect.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle86;
|
|
|
+ dataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
|
|
|
+ this.dgvDefect.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle8;
|
|
|
this.dgvDefect.CellBackColorNochanged = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
|
this.dgvDefect.CellBackColorReadOnly = System.Drawing.SystemColors.Control;
|
|
|
this.dgvDefect.CellHeight = 23;
|
|
|
@@ -1095,14 +1070,14 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
this.dgvDefect.ChildNodeColumnText = null;
|
|
|
this.dgvDefect.ColumnDeep = 1;
|
|
|
this.dgvDefect.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
|
- dataGridViewCellStyle87.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
- dataGridViewCellStyle87.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
|
|
|
- dataGridViewCellStyle87.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- dataGridViewCellStyle87.ForeColor = System.Drawing.Color.White;
|
|
|
- dataGridViewCellStyle87.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
- dataGridViewCellStyle87.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
- dataGridViewCellStyle87.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
- this.dgvDefect.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle87;
|
|
|
+ dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
+ dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
|
|
|
+ dataGridViewCellStyle9.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ dataGridViewCellStyle9.ForeColor = System.Drawing.Color.White;
|
|
|
+ dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
+ dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
+ this.dgvDefect.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9;
|
|
|
this.dgvDefect.ColumnHeadersHeight = 29;
|
|
|
this.dgvDefect.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
|
|
this.dgvDefect.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
@@ -1134,8 +1109,8 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
this.dgvDefect.RefreshAtHscroll = false;
|
|
|
this.dgvDefect.RowHeadersWidth = 50;
|
|
|
this.dgvDefect.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
|
- dataGridViewCellStyle88.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
|
|
|
- this.dgvDefect.RowsDefaultCellStyle = dataGridViewCellStyle88;
|
|
|
+ dataGridViewCellStyle10.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
|
|
|
+ this.dgvDefect.RowsDefaultCellStyle = dataGridViewCellStyle10;
|
|
|
this.dgvDefect.RowTemplate.Height = 21;
|
|
|
this.dgvDefect.Size = new System.Drawing.Size(968, 310);
|
|
|
this.dgvDefect.SortOrderColumnName = null;
|
|
|
@@ -1199,8 +1174,8 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
// dgvMissDefect
|
|
|
//
|
|
|
this.dgvMissDefect.AllowUserToModifyRows = true;
|
|
|
- dataGridViewCellStyle89.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
|
|
|
- this.dgvMissDefect.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle89;
|
|
|
+ dataGridViewCellStyle11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
|
|
|
+ this.dgvMissDefect.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11;
|
|
|
this.dgvMissDefect.CellBackColorNochanged = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
|
this.dgvMissDefect.CellBackColorReadOnly = System.Drawing.SystemColors.Control;
|
|
|
this.dgvMissDefect.CellHeight = 23;
|
|
|
@@ -1208,14 +1183,14 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
this.dgvMissDefect.ChildNodeColumnText = null;
|
|
|
this.dgvMissDefect.ColumnDeep = 1;
|
|
|
this.dgvMissDefect.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
|
- dataGridViewCellStyle90.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
- dataGridViewCellStyle90.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
|
|
|
- dataGridViewCellStyle90.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- dataGridViewCellStyle90.ForeColor = System.Drawing.Color.White;
|
|
|
- dataGridViewCellStyle90.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
- dataGridViewCellStyle90.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
- dataGridViewCellStyle90.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
- this.dgvMissDefect.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle90;
|
|
|
+ dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
+ dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
|
|
|
+ dataGridViewCellStyle12.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ dataGridViewCellStyle12.ForeColor = System.Drawing.Color.White;
|
|
|
+ dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
|
+ dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
|
+ dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
+ this.dgvMissDefect.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
|
|
|
this.dgvMissDefect.ColumnHeadersHeight = 29;
|
|
|
this.dgvMissDefect.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
|
|
this.dgvMissDefect.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
@@ -1249,8 +1224,8 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
this.dgvMissDefect.RefreshAtHscroll = false;
|
|
|
this.dgvMissDefect.RowHeadersWidth = 50;
|
|
|
this.dgvMissDefect.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
|
- dataGridViewCellStyle91.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
|
|
|
- this.dgvMissDefect.RowsDefaultCellStyle = dataGridViewCellStyle91;
|
|
|
+ dataGridViewCellStyle13.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
|
|
|
+ this.dgvMissDefect.RowsDefaultCellStyle = dataGridViewCellStyle13;
|
|
|
this.dgvMissDefect.RowTemplate.Height = 21;
|
|
|
this.dgvMissDefect.Size = new System.Drawing.Size(968, 310);
|
|
|
this.dgvMissDefect.SortOrderColumnName = null;
|
|
|
@@ -1347,30 +1322,13 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
this.btnSave.UseVisualStyleBackColor = false;
|
|
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
|
|
//
|
|
|
- // ddlProcessModelType
|
|
|
- //
|
|
|
- this.ddlProcessModelType.BackColor = System.Drawing.Color.Yellow;
|
|
|
- this.ddlProcessModelType.BackgroundColor = System.Drawing.SystemColors.Window;
|
|
|
- this.ddlProcessModelType.DataSource = null;
|
|
|
- this.ddlProcessModelType.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.ddlProcessModelType.FormattingEnabled = true;
|
|
|
- this.ddlProcessModelType.IsMustInput = true;
|
|
|
- //
|
|
|
+ // cklSemiGoodsLevel
|
|
|
//
|
|
|
- //
|
|
|
- this.ddlProcessModelType.ListBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
- this.ddlProcessModelType.ListBox.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.ddlProcessModelType.ListBox.Location = new System.Drawing.Point(0, 0);
|
|
|
- this.ddlProcessModelType.ListBox.Name = "";
|
|
|
- this.ddlProcessModelType.ListBox.Size = new System.Drawing.Size(141, 136);
|
|
|
- this.ddlProcessModelType.ListBox.TabIndex = 0;
|
|
|
- this.ddlProcessModelType.ListBox.SelectedIndexChanged += new System.EventHandler(this.cobProcessModelType_SelectedIndexChanged);
|
|
|
- this.ddlProcessModelType.Location = new System.Drawing.Point(544, 25);
|
|
|
- this.ddlProcessModelType.Margin = new System.Windows.Forms.Padding(4);
|
|
|
- this.ddlProcessModelType.Name = "ddlProcessModelType";
|
|
|
- this.ddlProcessModelType.Size = new System.Drawing.Size(143, 23);
|
|
|
- this.ddlProcessModelType.TabIndex = 25;
|
|
|
- this.ddlProcessModelType.SelectedIndexChanged += new System.EventHandler(this.cobProcessModelType_SelectedIndexChanged);
|
|
|
+ this.cklSemiGoodsLevel.FormattingEnabled = true;
|
|
|
+ this.cklSemiGoodsLevel.Location = new System.Drawing.Point(24, 26);
|
|
|
+ this.cklSemiGoodsLevel.Name = "cklSemiGoodsLevel";
|
|
|
+ this.cklSemiGoodsLevel.Size = new System.Drawing.Size(172, 104);
|
|
|
+ this.cklSemiGoodsLevel.TabIndex = 0;
|
|
|
//
|
|
|
// F_PC_0206
|
|
|
//
|
|
|
@@ -1399,7 +1357,6 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
this.groupBox1.ResumeLayout(false);
|
|
|
this.groupBox1.PerformLayout();
|
|
|
this.groupBoxSemi.ResumeLayout(false);
|
|
|
- this.groupBoxSemi.PerformLayout();
|
|
|
this.groupBox4.ResumeLayout(false);
|
|
|
this.groupBox4.PerformLayout();
|
|
|
this.GetDataOgrp.ResumeLayout(false);
|
|
|
@@ -1735,6 +1692,15 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
//打印类型 xuwei add 2019-11-20
|
|
|
this._procedureEntity.PrintType = Convert.ToInt32(this.ddlPrintType.SelectedValue.ToString());
|
|
|
|
|
|
+ //半检产品等级 xuwei add 2019-12-11
|
|
|
+ //string cklStr = "";
|
|
|
+ //for(int i=0;i<cklSemiGoodsLevel.CheckedValues.Length;i++)
|
|
|
+ //{
|
|
|
+ // if (i > 0) cklStr += ",";
|
|
|
+ // cklStr += cklSemiGoodsLevel.CheckedValues[i].ToString();
|
|
|
+ //}
|
|
|
+ this._procedureEntity.SemiGoodsLevel = cklSemiGoodsLevel.CheckedValue;
|
|
|
+
|
|
|
#region 计件方式
|
|
|
this._procedureEntity.PieceType =
|
|
|
radioJobsPrice.Checked ? Constant.ProcedurePieceType.JobsPiece.GetHashCode() : Constant.ProcedurePieceType.NoPiece.GetHashCode();
|
|
|
@@ -1828,6 +1794,21 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
this.ddlPrintType.SelectedValue = this._procedureEntity.PrintType;
|
|
|
//加载 打印类型 xuwei end
|
|
|
|
|
|
+ //加载 半检产品等级 xuwei begin 2019-12-5
|
|
|
+ this.cklSemiGoodsLevel.DisplayMember = "GOODSLEVELNAME";
|
|
|
+ this.cklSemiGoodsLevel.ValueMember = "GOODSLEVELTYPEID";
|
|
|
+ cre.NameSpace = "ProcedureSemi";
|
|
|
+ cre.Name = "GetGoodsGradeDataSemi";
|
|
|
+ cre.Properties["procedureId"] = 0;
|
|
|
+ DataTable dtGoodsLevel = PMModuleProxyNew.Service.HandleRequest(cre).Data.Tables[0];
|
|
|
+ this.cklSemiGoodsLevel.DataSource = dtGoodsLevel;
|
|
|
+ if(!string.IsNullOrEmpty(this._procedureEntity.SemiGoodsLevel))
|
|
|
+ {
|
|
|
+ string[] ids = this._procedureEntity.SemiGoodsLevel.Split(',');
|
|
|
+ cklSemiGoodsLevel.SetItemCheckedByValueID(true, ids);
|
|
|
+ }
|
|
|
+ //加载 半检产品等级 xuwei end
|
|
|
+
|
|
|
#endregion
|
|
|
|
|
|
#region 窗体赋值
|
|
|
@@ -2173,8 +2154,11 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
private void cobProcessModelType_SelectedIndexChanged(object sender, EventArgs e)
|
|
|
{
|
|
|
//半检登记框组的显示隐藏
|
|
|
- string temp = ddlProcessModelType.SelectedValue.ToString();
|
|
|
- groupBoxSemi.Visible = ddlProcessModelType.SelectedValue.ToString() == "-3";
|
|
|
+ if(ddlProcessModelType.SelectedValue != null)
|
|
|
+ {
|
|
|
+ string temp = ddlProcessModelType.SelectedValue.ToString();
|
|
|
+ groupBoxSemi.Visible = ddlProcessModelType.SelectedValue.ToString() == "-3";
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|