Beispiel #1
0
 public MedicalRecordBrowse(int index, int Type, DataTable tables)
 {
     InitializeComponent();
     TypeNumber = Type;
     TypeIndex  = index;
     m_sUser    = ComponentCommand.GetCurrentDoctor();//获取登录用户信息
     User_Table = tables;
     Init();
 }
 /// <summary>
 ///
 /// </summary>
 public MedicalRecordBrowseForm()
 {
     try
     {
         InitializeComponent();
         InitializeParameter();
         m_sUser      = ComponentCommand.GetCurrentDoctor();//获取登录用户信息
         m_listObject = new List <object>();
         m_listObject.Clear();
         InitUserControl();
     }
     catch (Exception)
     {
         throw;
     }
 }
Beispiel #3
0
 private void MedicalRecordApprove_Load(object sender, EventArgs e)
 {
     try
     {
         InitializeParameters();
         InitializeGrid();
         m_sUser = ComponentCommand.GetCurrentDoctor();
         ComponentCommand.InitializeDepartment(ref this.lookUpEditorDepartment, ref this.lookUpWindowDepartment);
         DrectSoft.Common.DS_Common.CancelMenu(this.panelHead, contextMenuStrip1);
         DrectSoft.Common.DS_Common.CancelMenu(this.panelSubBottom, contextMenuStrip1);
         this.txtDoctor.Focus();
     }
     catch (Exception ex)
     {
         MyMessageBox.Show(1, ex);
     }
 }
Beispiel #4
0
 public MedicalRecordApply()
 {
     try
     {
         InitializeComponent();
         InitializeParameters();
         InitializeGrid();
         m_readMaxTime   = ComponentCommand.GetReadTime();
         m_readMax       = ComponentCommand.GetApplyLimit();
         labelLimit.Text = "注:最大不超过 " + m_readMaxTime + "天;" + "批次申请选择记录数不超过" + m_readMax + "条";
         this.txtTimes.Properties.MaxValue = m_readMaxTime;
         m_sUser = ComponentCommand.GetCurrentDoctor();
         ComponentCommand.InitializeDepartment(ref this.lookUpEditorDepartment, ref this.lookUpWindowDepartment);
         ComponentCommand.InitializeDiagnosis(ref this.lookUpEditorDiagnosis, ref this.lookUpWindowDiagnosis);
         //ComponentCommand.InitializePurpose(ref this.lookUpEditorPurpose, ref this.lookUpWindowPurpose);
     }
     catch (Exception)
     {
         throw;
     }
 }
Beispiel #5
0
        public MedicalRecordApply(IEmrHost app)
        {
            try
            {
                InitializeComponent();
                InitializeParameters();
                InitializeGrid();
                m_readMaxTime   = ComponentCommand.GetReadTime();
                m_readMax       = ComponentCommand.GetApplyLimit();
                labelLimit.Text = "天(*)最大不超过: " + m_readMaxTime + "天;" + "批次申请选择记录数不超过:" + m_readMax + "条";
                m_sUser         = ComponentCommand.GetCurrentDoctor();
                SqlUtil.App     = app;
                ComponentCommand.InitializeDepartment(ref this.lookUpEditorDepartment, ref this.lookUpWindowDepartment);
                ComponentCommand.InitializeDiagnosis(ref this.lookUpEditorDiagnosis, ref this.lookUpWindowDiagnosis);

                // ComponentCommand.InitializePurpose(ref this.lookUpEditorPurpose, ref this.lookUpWindowPurpose);
            }
            catch (Exception)
            {
                throw;
            }
        }
Beispiel #6
0
 public MedicalRecordBrowse()
 {
     InitializeComponent();
     m_sUser = ComponentCommand.GetCurrentDoctor();//获取登录用户信息
     Init();
 }