Example #1
0
        /// <summary>
        /// 绑定出院未归档病历
        /// </summary>
        private void LoadOutHospitalLock()
        {
            try
            {
                if (m_OutHospitalLock == null)
                {
                    m_OutHospitalLock = new OutHospitalNoLock(m_app);
                }
                m_OutHospitalLock.Dock = DockStyle.Fill;
                xtraTabPageOutHospitalLock.Controls.Add(m_OutHospitalLock);
                xtraTabPageOutHospitalLock.PageVisible = true;
                m_OutHospitalLock.RefreshData();

                xtraTabQcManager.SelectedTabPage = xtraTabPageOutHospitalLock;
                //关闭Tab页再重新选中上级的按钮,此处要重新加上TAb add by ywk
                xtraTabQcManager.TabPages.Add(xtraTabPageOutHospitalLock);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Example #2
0
        /// <summary>
        /// 绑定出院未归档病历
        /// </summary>
        private void LoadOutHospitalLock()
        {
            if (m_OutHospitalLock == null)
            {
                m_OutHospitalLock = new OutHospitalNoLock(m_app);
            }

            m_OutHospitalLock.Dock = DockStyle.Fill;
            xtraTabPageOutHospitalLock.Controls.Add(m_OutHospitalLock);
            xtraTabPageOutHospitalLock.PageVisible = true;
            m_OutHospitalLock.RefreshData();

            xtraTabControl1.SelectedTabPage = xtraTabPageOutHospitalLock;
        }