Esempio n. 1
0
        internal void UpdateBihOrderDenableConfirmer()
        {
            string m_strOrderExecuteID_Arr = "";

            m_strOrderExecuteID_Arr = GetTheSelectItem();
            if (m_strOrderExecuteID_Arr.Trim().Equals(""))
            {
                MessageBox.Show("请先选择待确认的执行单!", "提示框!", MessageBoxButtons.OK, MessageBoxIcon.Information);

                return;
            }
            //DotorComfirmBox comfirmBox1 = new DotorComfirmBox();
            //if (comfirmBox1.ShowDialog() == DialogResult.OK)
            if (MessageBox.Show("确定进行作废操作?", "提示框!", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes)
            {
                long lngRes = 0;
                lngRes = m_objManage.m_lngBihOrderExecuteDenableConfirmer(m_strOrderExecuteID_Arr, this.m_objViewer.LoginInfo.m_strEmpID, this.m_objViewer.LoginInfo.m_strEmpName);
                if (lngRes > 0)
                {
                    MessageBox.Show("作废成功!", "提示框!", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    //LoadTheDate();
                    //sendTheBill();
                    this.m_objViewer.ucPatientInfo1.m_mthFind(this.m_objViewer.ucPatientInfo1.BihPatient_VO.Zyh, 2);
                    this.m_objViewer.ucPatientInfo1_ZyhChanged();
                }
            }
            //comfirmBox1.Close();

            //IniTheForm();
        }