private void simpleButton_BackCommit_Click(object sender, EventArgs e)
        {
            try
            {
                int fouceRowIndex = dbGridView.FocusedRowHandle;
                if (fouceRowIndex < 0)
                {
                    dbGrid.Focus();
                    SqlUtil.App.CustomMessageBox.MessageShow("请选择一条病人记录");
                    return;
                }
                DataRow foucesRow = dbGridView.GetDataRow(fouceRowIndex);
                if (null == foucesRow || null == foucesRow["NOOFINPAT"])
                {
                    return;
                }
                int noofinpat = int.Parse(foucesRow["NOOFINPAT"].ToString().Trim());

                //DataTable dt = DS_SqlService.GetRecordsByNoofinpat(noofinpat);
                //if (null == dt || dt.Rows.Count == 0)
                //{
                //    Common.Ctrs.DLG.MessageBox.Show(foucesRow["NAME"] + " 没有病历,无法撤销归档。");
                //    return;
                //}

                if (DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show("您确定要撤销 " + foucesRow["NAME"] + " 的病历提交吗?", "撤销提交病历", DrectSoft.Common.Ctrs.DLG.MyMessageBoxButtons.YesNo) == DialogResult.No)
                {
                    return;
                }
                //DS_BaseService.CheckRecordRebacked(noofinpat.ToString())
                if (foucesRow["islock"].ToString() == "4707" || foucesRow["islock"].ToString() == "4706")
                {
                    int num = DS_SqlService.SetRecordsCancelCommit(noofinpat.ToString());
                    if (num > 0)
                    {
                        DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show("撤销提交成功");
                        dbGridView.DeleteRow(dbGridView.FocusedRowHandle);
                        return;
                    }
                }
                DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show("该病人未提交无法撤销。");
            }
            catch (Exception ex)
            {
                DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show(1, ex);
            }
        }