public void m_mthSaveData()
        {
            if (this.m_objViewer.txtName.Text.Trim() == "")
            {
                MessageBox.Show("必需输入名称");
                this.m_objViewer.txtName.Focus();
                return;
            }
            if (this.m_objViewer.txtCode.Text.Trim() == "")
            {
                MessageBox.Show("必需助记码");
                this.m_objViewer.txtCode.Focus();
                return;
            }
            clsDomainConrol_ConcertreCipe m_objDoMain = new clsDomainConrol_ConcertreCipe();

            if (m_objDoMain.m_mthCheckCodeIsUsed(this.m_objViewer.txtCode.Text.Trim(), "", "0") == 3)
            {
                if (MessageBox.Show("助记码已经使用,是否继续?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2) == DialogResult.No)
                {
                    return;
                }
            }
            DataRow AddNewRow = this.m_objViewer.dtMain.NewRow();

            AddNewRow["RECIPENAME_CHR"] = this.m_objViewer.txtName.Text.Trim();
            string isDetp = "0";

            if (this.m_objViewer.ra_public.Checked == true)
            {
                AddNewRow["strPRIVILEGE"] = "0";
            }
            if (this.m_objViewer.ra_private.Checked == true)
            {
                AddNewRow["strPRIVILEGE"] = "1";
            }
            if (this.m_objViewer.ra_dep.Checked == true)
            {
                AddNewRow["strPRIVILEGE"] = "2";
                isDetp = "1";
            }
            string strRecordID = "";

            AddNewRow["USERCODE_CHR"]     = this.m_objViewer.txtCode.Text.Trim();
            AddNewRow["PYCODE_CHR"]       = this.m_objViewer.txtPy.Text.Trim();
            AddNewRow["DISEASENAME_VCHR"] = this.m_objViewer.txtRemark.Text.Trim();
            AddNewRow["WBCODE_CHR"]       = this.m_objViewer.txtWb.Text.Trim();
            AddNewRow["CREATERID_CHR"]    = this.m_objViewer.LoginInfo.m_strEmpID;
            DataTable dt = this.m_objViewer.dtDetail.Clone();

            for (int i1 = 0; i1 < this.m_objViewer.listView1.CheckedItems.Count; i1++)
            {
                DataRow drTemp = (DataRow)this.m_objViewer.listView1.CheckedItems[i1].Tag;
                drTemp["sort_int"] = i1;
                dt.Rows.Add(drTemp.ItemArray);
            }
            ///////////////////////////////////
            object[] AddNewRowArr = AddNewRow.ItemArray;
            long     l            = m_objDoMain.m_lngAddNewConcertre(out strRecordID, AddNewRowArr, dt, this.m_objViewer.dtDepement, isDetp, 0);

            if (l > 0)
            {
                this.m_objViewer.Close();
            }
            else
            {
                MessageBox.Show("保存失败!");
            }
        }