|
|
@@ -29,7 +29,7 @@
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OQC_SamplingDataCollection));
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
this.ob_checkno_label = new System.Windows.Forms.Label();
|
|
|
this.obd_outboxcode_label = new System.Windows.Forms.Label();
|
|
|
this.ms_sncode_label = new System.Windows.Forms.Label();
|
|
|
@@ -59,18 +59,12 @@
|
|
|
this.bc_code1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.bc_name1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.WaitChooseDGV = new UAS_MES.CustomControl.DataGrid_View.DataGridViewWithCheckBox();
|
|
|
+ this.ChooseAll = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
+ this.bc_code = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.bc_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.ob_remark = new UAS_MES.CustomControl.TextBoxWithIcon.EnterTextBox();
|
|
|
this.sncode = new UAS_MES.CustomControl.TextBoxWithIcon.EnterTextBox();
|
|
|
this.CheckTypeDGV = new UAS_MES.CustomControl.DataGrid_View.DataGridViewWithCheckBox();
|
|
|
- this.choose = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
- this.oi_itemcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.oi_checkkind = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.oi_sampleqty = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.oi_checkqty = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.oi_ng = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
- this.oi_leveldefect = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
|
|
- this.ois_remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.ois_status = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.ChooseedReject = new UAS_MES.CustomControl.ButtonUtil.ArrowRightButton();
|
|
|
this.WaitReject = new UAS_MES.CustomControl.ButtonUtil.ArrowLeftButton();
|
|
|
this.oi_checkqty1 = new UAS_MES.CustomControl.TextBoxWithIcon.EnterTextBox();
|
|
|
@@ -90,9 +84,15 @@
|
|
|
this.ob_makecode_dgv = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.obd_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.BadGroupCode = new UAS_MES.CustomControl.ComBoxWithFocus.ComBoxWithFocus();
|
|
|
- this.ChooseAll = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
- this.bc_code = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.bc_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.choose = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
+ this.oi_itemcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.oi_checkkind = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.oi_sampleqty = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.oi_checkqty = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.oi_ng = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
|
|
+ this.oi_leveldefect = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
|
|
+ this.ois_remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.ois_status = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.ChoosedDGV)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.WaitChooseDGV)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.CheckTypeDGV)).BeginInit();
|
|
|
@@ -484,6 +484,29 @@
|
|
|
this.WaitChooseDGV.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.WaitChooseDGV_CellContentClick);
|
|
|
this.WaitChooseDGV.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.WaitChooseDGV_DataError);
|
|
|
//
|
|
|
+ // ChooseAll
|
|
|
+ //
|
|
|
+ this.ChooseAll.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
+ this.ChooseAll.DataPropertyName = "ChooseAll";
|
|
|
+ this.ChooseAll.HeaderText = "勾选";
|
|
|
+ this.ChooseAll.Name = "ChooseAll";
|
|
|
+ this.ChooseAll.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
+ this.ChooseAll.Width = 60;
|
|
|
+ //
|
|
|
+ // bc_code
|
|
|
+ //
|
|
|
+ this.bc_code.DataPropertyName = "bc_code";
|
|
|
+ this.bc_code.HeaderText = "不良代码";
|
|
|
+ this.bc_code.Name = "bc_code";
|
|
|
+ this.bc_code.ReadOnly = true;
|
|
|
+ //
|
|
|
+ // bc_name
|
|
|
+ //
|
|
|
+ this.bc_name.DataPropertyName = "bc_name";
|
|
|
+ this.bc_name.HeaderText = "不良名称";
|
|
|
+ this.bc_name.Name = "bc_name";
|
|
|
+ this.bc_name.ReadOnly = true;
|
|
|
+ //
|
|
|
// ob_remark
|
|
|
//
|
|
|
this.ob_remark.AllPower = null;
|
|
|
@@ -542,79 +565,6 @@
|
|
|
this.CheckTypeDGV.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.CheckTypeDGV_CellValueChanged);
|
|
|
this.CheckTypeDGV.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.CheckTypeDGV_DataError);
|
|
|
//
|
|
|
- // choose
|
|
|
- //
|
|
|
- this.choose.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
- this.choose.DataPropertyName = "choose";
|
|
|
- this.choose.HeaderText = "勾选";
|
|
|
- this.choose.Name = "choose";
|
|
|
- this.choose.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
- this.choose.Width = 60;
|
|
|
- //
|
|
|
- // oi_itemcode
|
|
|
- //
|
|
|
- this.oi_itemcode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
- this.oi_itemcode.DataPropertyName = "oi_itemcode";
|
|
|
- this.oi_itemcode.HeaderText = "项目编号";
|
|
|
- this.oi_itemcode.Name = "oi_itemcode";
|
|
|
- //
|
|
|
- // oi_checkkind
|
|
|
- //
|
|
|
- this.oi_checkkind.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
- this.oi_checkkind.DataPropertyName = "oi_checkkind";
|
|
|
- dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
- this.oi_checkkind.DefaultCellStyle = dataGridViewCellStyle4;
|
|
|
- this.oi_checkkind.HeaderText = "项目名称";
|
|
|
- this.oi_checkkind.Name = "oi_checkkind";
|
|
|
- this.oi_checkkind.Width = 96;
|
|
|
- //
|
|
|
- // oi_sampleqty
|
|
|
- //
|
|
|
- this.oi_sampleqty.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
- this.oi_sampleqty.DataPropertyName = "oi_sampleqty";
|
|
|
- this.oi_sampleqty.HeaderText = "样本数";
|
|
|
- this.oi_sampleqty.Name = "oi_sampleqty";
|
|
|
- this.oi_sampleqty.Width = 96;
|
|
|
- //
|
|
|
- // oi_checkqty
|
|
|
- //
|
|
|
- this.oi_checkqty.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
|
|
|
- this.oi_checkqty.DataPropertyName = "oi_checkqty";
|
|
|
- this.oi_checkqty.HeaderText = "已检数";
|
|
|
- this.oi_checkqty.Name = "oi_checkqty";
|
|
|
- this.oi_checkqty.Width = 81;
|
|
|
- //
|
|
|
- // oi_ng
|
|
|
- //
|
|
|
- this.oi_ng.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
- this.oi_ng.DataPropertyName = "oi_ng";
|
|
|
- this.oi_ng.HeaderText = "是否通过";
|
|
|
- this.oi_ng.Name = "oi_ng";
|
|
|
- this.oi_ng.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
- this.oi_ng.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
|
- //
|
|
|
- // oi_leveldefect
|
|
|
- //
|
|
|
- this.oi_leveldefect.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
- this.oi_leveldefect.DataPropertyName = "oi_leveldefect";
|
|
|
- this.oi_leveldefect.HeaderText = "缺陷等级";
|
|
|
- this.oi_leveldefect.Name = "oi_leveldefect";
|
|
|
- this.oi_leveldefect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
- this.oi_leveldefect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
|
- this.oi_leveldefect.Width = 80;
|
|
|
- //
|
|
|
- // ois_remark
|
|
|
- //
|
|
|
- this.ois_remark.DataPropertyName = "ois_remark";
|
|
|
- this.ois_remark.HeaderText = "备注";
|
|
|
- this.ois_remark.Name = "ois_remark";
|
|
|
- //
|
|
|
- // ois_status
|
|
|
- //
|
|
|
- this.ois_status.DataPropertyName = "ois_status";
|
|
|
- this.ois_status.HeaderText = "是否检验";
|
|
|
- this.ois_status.Name = "ois_status";
|
|
|
- //
|
|
|
// ChooseedReject
|
|
|
//
|
|
|
this.ChooseedReject.Image = ((System.Drawing.Image)(resources.GetObject("ChooseedReject.Image")));
|
|
|
@@ -879,28 +829,81 @@
|
|
|
this.BadGroupCode.TabIndex = 219;
|
|
|
this.BadGroupCode.SelectedIndexChanged += new System.EventHandler(this.BadGroupCode_SelectedIndexChanged);
|
|
|
//
|
|
|
- // ChooseAll
|
|
|
+ // choose
|
|
|
//
|
|
|
- this.ChooseAll.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
- this.ChooseAll.DataPropertyName = "ChooseAll";
|
|
|
- this.ChooseAll.HeaderText = "勾选";
|
|
|
- this.ChooseAll.Name = "ChooseAll";
|
|
|
- this.ChooseAll.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
- this.ChooseAll.Width = 60;
|
|
|
+ this.choose.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
+ this.choose.DataPropertyName = "choose";
|
|
|
+ this.choose.HeaderText = "勾选";
|
|
|
+ this.choose.Name = "choose";
|
|
|
+ this.choose.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
+ this.choose.Width = 60;
|
|
|
//
|
|
|
- // bc_code
|
|
|
+ // oi_itemcode
|
|
|
//
|
|
|
- this.bc_code.DataPropertyName = "bc_code";
|
|
|
- this.bc_code.HeaderText = "不良代码";
|
|
|
- this.bc_code.Name = "bc_code";
|
|
|
- this.bc_code.ReadOnly = true;
|
|
|
+ this.oi_itemcode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
+ this.oi_itemcode.DataPropertyName = "oi_itemcode";
|
|
|
+ this.oi_itemcode.HeaderText = "项目编号";
|
|
|
+ this.oi_itemcode.Name = "oi_itemcode";
|
|
|
+ this.oi_itemcode.Visible = false;
|
|
|
//
|
|
|
- // bc_name
|
|
|
+ // oi_checkkind
|
|
|
//
|
|
|
- this.bc_name.DataPropertyName = "bc_name";
|
|
|
- this.bc_name.HeaderText = "不良名称";
|
|
|
- this.bc_name.Name = "bc_name";
|
|
|
- this.bc_name.ReadOnly = true;
|
|
|
+ this.oi_checkkind.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
+ this.oi_checkkind.DataPropertyName = "oi_checkkind";
|
|
|
+ dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
+ this.oi_checkkind.DefaultCellStyle = dataGridViewCellStyle1;
|
|
|
+ this.oi_checkkind.HeaderText = "项目名称";
|
|
|
+ this.oi_checkkind.Name = "oi_checkkind";
|
|
|
+ this.oi_checkkind.Width = 96;
|
|
|
+ //
|
|
|
+ // oi_sampleqty
|
|
|
+ //
|
|
|
+ this.oi_sampleqty.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
+ this.oi_sampleqty.DataPropertyName = "oi_sampleqty";
|
|
|
+ this.oi_sampleqty.HeaderText = "样本数";
|
|
|
+ this.oi_sampleqty.Name = "oi_sampleqty";
|
|
|
+ this.oi_sampleqty.Width = 96;
|
|
|
+ //
|
|
|
+ // oi_checkqty
|
|
|
+ //
|
|
|
+ this.oi_checkqty.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
|
|
|
+ this.oi_checkqty.DataPropertyName = "oi_checkqty";
|
|
|
+ this.oi_checkqty.HeaderText = "已检数";
|
|
|
+ this.oi_checkqty.Name = "oi_checkqty";
|
|
|
+ this.oi_checkqty.Width = 81;
|
|
|
+ //
|
|
|
+ // oi_ng
|
|
|
+ //
|
|
|
+ this.oi_ng.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
+ this.oi_ng.DataPropertyName = "oi_ng";
|
|
|
+ this.oi_ng.HeaderText = "是否通过";
|
|
|
+ this.oi_ng.Name = "oi_ng";
|
|
|
+ this.oi_ng.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
+ this.oi_ng.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
|
+ //
|
|
|
+ // oi_leveldefect
|
|
|
+ //
|
|
|
+ this.oi_leveldefect.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
+ this.oi_leveldefect.DataPropertyName = "oi_leveldefect";
|
|
|
+ this.oi_leveldefect.HeaderText = "缺陷等级";
|
|
|
+ this.oi_leveldefect.Name = "oi_leveldefect";
|
|
|
+ this.oi_leveldefect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
+ this.oi_leveldefect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
|
+ this.oi_leveldefect.Width = 80;
|
|
|
+ //
|
|
|
+ // ois_remark
|
|
|
+ //
|
|
|
+ this.ois_remark.DataPropertyName = "ois_remark";
|
|
|
+ this.ois_remark.HeaderText = "备注";
|
|
|
+ this.ois_remark.Name = "ois_remark";
|
|
|
+ this.ois_remark.Visible = false;
|
|
|
+ //
|
|
|
+ // ois_status
|
|
|
+ //
|
|
|
+ this.ois_status.DataPropertyName = "ois_status";
|
|
|
+ this.ois_status.HeaderText = "是否检验";
|
|
|
+ this.ois_status.Name = "ois_status";
|
|
|
+ this.ois_status.Visible = false;
|
|
|
//
|
|
|
// OQC_SamplingDataCollection
|
|
|
//
|
|
|
@@ -1018,6 +1021,9 @@
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn or_id;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn bc_code1;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn bc_name1;
|
|
|
+ private System.Windows.Forms.DataGridViewCheckBoxColumn ChooseAll;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn bc_code;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn bc_name;
|
|
|
private System.Windows.Forms.DataGridViewCheckBoxColumn choose;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn oi_itemcode;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn oi_checkkind;
|
|
|
@@ -1027,8 +1033,5 @@
|
|
|
private System.Windows.Forms.DataGridViewComboBoxColumn oi_leveldefect;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ois_remark;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ois_status;
|
|
|
- private System.Windows.Forms.DataGridViewCheckBoxColumn ChooseAll;
|
|
|
- private System.Windows.Forms.DataGridViewTextBoxColumn bc_code;
|
|
|
- private System.Windows.Forms.DataGridViewTextBoxColumn bc_name;
|
|
|
}
|
|
|
}
|