示例#1
0
        private void btnOk_Click(object sender, EventArgs e)
        {
            ThisAddIn.ResetBeginTime();
            DateTime endDate = dtpDischargedDate.Value;

            RegistryID = lsbArchiveList.Text;
            if (RegistryID == "")
            {
                MessageBox.Show("请选中需要归档的患者!", "提示");
                return;
            }

            if (JudgeNoteStatus(RegistryID) == 0)
            {
                return;
            }
            if (JudgeNoteFilingSetup(RegistryID) == 0)
            {
                return;
            }
            //JudgeNoteSign();

            ThisAddIn.Archive_Single(endDate, RegistryID, lsbArchiveList);
            ThisAddIn.ResetBeginTime();
        }