Exemplo n.º 1
0
        /**************************************************************************************************/
        private void NewActivePatient(object sender, NewActivePatientEventArgs e)
        {
            flowLayoutPanel1.Enabled = false;

            if (proband != null)
                proband.ReleaseListeners(this);

            proband = e.newActivePatient;
            proband.AddHandlersWithLoad(null, activePatientLoaded, null);
        }
Exemplo n.º 2
0
        /**************************************************************************************************/
        private void NewActivePatient(object sender, NewActivePatientEventArgs e)
        {
            //ClearControls();

            if (proband != null)
                proband.ReleaseListeners(this);

            if (e.newActivePatient != null)
            {
                proband = e.newActivePatient;
                proband.AddHandlersWithLoad(null, activePatientLoaded, null);
            }
        }
Exemplo n.º 3
0
        /**************************************************************************************************/
        private void NewActivePatient(object sender, NewActivePatientEventArgs e)
        {
            ClearExistingNotes();

            patientRecordHeader1.setPatient(e.newActivePatient);

            SessionManager.Instance.GetActivePatient().Tasks.AddHandlersWithLoad(
                ActivePatientTaskListChanged,
                ActivePatientTasksLoaded,
                ActivePatientTasksChanged);
        }
Exemplo n.º 4
0
 /**************************************************************************************************/
 private void NewActivePatient(object sender, NewActivePatientEventArgs e)
 {
     patientRecordHeader1.setPatient(e.newActivePatient);
 }
Exemplo n.º 5
0
 /**************************************************************************************************/
 private void NewActivePatient(object sender, NewActivePatientEventArgs e)
 {
     InitNewPatient();
 }
Exemplo n.º 6
0
 private void NewActivePatient(object sender, NewActivePatientEventArgs e)
 {
     this.riskClinic.Enabled = true;
     this.documents.Enabled = true;
     this.riskCalcs.Enabled = true;
     editSurvey.Enabled = true;
     button6.Enabled = true;
 }
Exemplo n.º 7
0
 /**************************************************************************************************/
 private void NewActivePatient(object sender, NewActivePatientEventArgs e)
 {
     InitSelectedRelative();
 }
Exemplo n.º 8
0
        /**************************************************************************************************/
        private void NewActivePatient(object sender, NewActivePatientEventArgs e)
        {
            //if (backgroundWorker1.IsBusy)
            //{
            //    backgroundWorker1.CancelAsync();
            //}
            proband.ReleaseListeners(this);
            listView1.Items.Clear();

            InitNewPatient();
        }
Exemplo n.º 9
0
        /**************************************************************************************************/
        private void NewActivePatient(object sender, NewActivePatientEventArgs e)
        {
            if (backgroundWorker1.IsBusy)
            {
                backgroundWorker1.CancelAsync();
            }

            listView1.Items.Clear();

            InitNewPatient();
        }
Exemplo n.º 10
0
        /**************************************************************************************************/
        private void NewActivePatient(object sender, NewActivePatientEventArgs e)
        {
            if (proband != null)
                proband.ReleaseListeners(this);

            InitSelectedRelative();
        }
Exemplo n.º 11
0
        /**************************************************************************************************/
        private void NewActivePatient(object sender, NewActivePatientEventArgs e)
        {
            proband.ReleaseListeners(this);

            InitNewPatient();
        }
Exemplo n.º 12
0
 void NewActivePatientEventHandler(object sender, NewActivePatientEventArgs e)
 {
     InitNewPatient();
 }
Exemplo n.º 13
0
 private void NewActivePatient(object sender, NewActivePatientEventArgs e)
 {
     if (e.newActivePatient != null)
     {
         flowLayoutPanel1.Enabled = true;
     }
     else
     {
         flowLayoutPanel1.Enabled = false;
     }
 }
Exemplo n.º 14
0
        /**************************************************************************************************/
        private void NewActivePatient(object sender, NewActivePatientEventArgs e)
        {
            if (e.sendingView != this)
                InitSelectedRelative();

            FillControls();
        }
Exemplo n.º 15
0
 /**************************************************************************************************/
 private void NewActivePatient(object sender, NewActivePatientEventArgs e)
 {
     foreach (Control c in panel2.Controls)
     {
         TextBox t = (TextBox)c;
         t.Text = "";
     }
     InitNewPatient();
 }
Exemplo n.º 16
0
 /**************************************************************************************************/
 private void NewActivePatient(object sender, NewActivePatientEventArgs e)
 {
     patientRecordHeader1.setPatient(e.newActivePatient);
     this.riskClinic.Enabled = true;
     this.pedigree.Enabled = true;
     this.notes.Enabled = true;
     this.newTask.Enabled = true;
     this.orders.Enabled = true;
 }
Exemplo n.º 17
0
        /**************************************************************************************************/
        private void NewActivePatient(object sender, NewActivePatientEventArgs e)
        {
            ClearControls();

            patientRecordHeader1.setPatient(SessionManager.Instance.GetActivePatient());

            loadingCircle1.Visible = true;
            loadingCircle1.Enabled = true;

            if (proband != null)
                proband.ReleaseListeners(this);

            proband = e.newActivePatient;
            if (proband != null)
            {
                Enabled = true;
                proband.AddHandlersWithLoad(null, activePatientLoaded, null);

                backgroundWorker1.RunWorkerAsync();
            }
            else
            {
                Enabled = false;
            }
        }
Exemplo n.º 18
0
 /**************************************************************************************************/
 private void NewActivePatient(object sender, NewActivePatientEventArgs e)
 {
     e.newActivePatient.FHx.AddHandlersWithLoad(FHChanged, FHLoaded, null);
 }