Esempio n. 1
0
        /// <summary>
        /// 界面导入当前病区数据
        /// </summary>
        internal void LoadTheDate()
        {
            if (m_objViewer.m_txtArea.Tag == null || ((string)m_objViewer.m_txtArea.Tag).Trim().Equals(""))
            {
                MessageBox.Show("病区必须选!", "提示框!", MessageBoxButtons.OK, MessageBoxIcon.Information);
                m_objViewer.m_txtArea.Focus();
                return;
            }
            this.m_objViewer.m_dtvPersonList.Rows.Clear();
            clsBIHPatientInfo[] m_arrObjPatient;
            DataTable           m_dtPatients;
            long lngRes = m_objManage.m_lngGetPersonListByArea((string)m_objViewer.m_txtArea.Tag, out m_dtPatients);

            m_mthGetPatientInfoFromDateTable(m_dtPatients, out m_arrObjPatient);
            BindThePersonList(m_arrObjPatient);
            SelectAll();
        }