private void tsm_hand_Click(object sender, EventArgs e) { if (dgv_01.CurrentRow != null) { string str_pdcode = dgv_01.CurrentRow.Cells["wf_code_back"].Value.ToString(); string bccCode = Convert.ToString(dgv_01.CurrentRow.Cells["set_code"].Value); string bcuCode = Convert.ToString(dgv_01.CurrentRow.Cells["bcuCode"].Value); string setCode = string.IsNullOrEmpty(bcuCode) ? bccCode : CnasUtilityTools.ConcatTwoString(bcuCode, bccCode); HCSSM_procedure_manual HCSSM_procedure_manual01 = new HCSSM_procedure_manual(str_pdcode, setCode, CnasHCSWorkflowInterface01); if (HCSSM_procedure_manual01.Rec_data > -1) { HCSSM_procedure_manual01.ShowDialog(); if (HCSSM_procedure_manual01.Rec_data == 0) { GetWorkSets(); } } else { MessageBox.Show(PromptMessageXmlHelper.Instance.GetPromptMessage("notconfigmanWf", EnumPromptMessage.warning, new string[] { str_pdcode }), "信息提示", MessageBoxButtons.OK, MessageBoxIcon.Error); HCSSM_procedure_manual01.Dispose(); } } else { MessageBox.Show(PromptMessageXmlHelper.Instance.GetPromptMessage("secdealset", EnumPromptMessage.warning), "信息提示", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
private void tsm_hand_Click(object sender, EventArgs e) { if (dgv_01.CurrentRow != null) { string str_pdcode = dgv_01.CurrentRow.Cells["wf_code_back"].Value.ToString(); HCSSM_procedure_manual HCSSM_procedure_manual01 = new HCSSM_procedure_manual(str_pdcode, dgv_01.CurrentRow.Cells["set_code"].Value.ToString(), CnasHCSWorkflowInterface01); if (HCSSM_procedure_manual01.Rec_data > -1) { HCSSM_procedure_manual01.ShowDialog(); if (HCSSM_procedure_manual01.Rec_data == 0) { load_workorder(""); } } else { Cnas.wns.CnasMetroFramework.MetroMessageBox.Show(this, "流程【" + str_pdcode + "】没有任何手动处理配置,请联系管理员!!!", "信息提示"); HCSSM_procedure_manual01.Dispose(); } } else { Cnas.wns.CnasMetroFramework.MetroMessageBox.Show(this, "对不起!请先选择要处理的包!!!", "信息提示"); } }