/**************************************************************************************************/ 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; } }
/**************************************************************************************************/ private void NewActivePatient(object sender, NewActivePatientEventArgs e) { if (e.sendingView != this) { InitSelectedRelative(); } FillControls(); }
/**************************************************************************************************/ private void NewActivePatient(object sender, NewActivePatientEventArgs e) { if (proband != null) { proband.ReleaseListeners(this); } InitSelectedRelative(); }
/**************************************************************************************************/ private void NewActivePatient(object sender, NewActivePatientEventArgs e) { foreach (Control c in panel2.Controls) { TextBox t = (TextBox)c; t.Text = ""; } InitNewPatient(); }
private void NewActivePatient(object sender, NewActivePatientEventArgs e) { if (e.newActivePatient != null) { flowLayoutPanel1.Enabled = true; } else { flowLayoutPanel1.Enabled = false; } }
/**************************************************************************************************/ private void NewActivePatient(object sender, NewActivePatientEventArgs e) { ClearExistingNotes(); patientRecordHeader1.setPatient(e.newActivePatient); SessionManager.Instance.GetActivePatient().Tasks.AddHandlersWithLoad( ActivePatientTaskListChanged, ActivePatientTasksLoaded, ActivePatientTasksChanged); }
/**************************************************************************************************/ private void NewActivePatient(object sender, NewActivePatientEventArgs e) { //if (backgroundWorker1.IsBusy) //{ // backgroundWorker1.CancelAsync(); //} proband.ReleaseListeners(this); listView1.Items.Clear(); InitNewPatient(); }
/**************************************************************************************************/ private void NewActivePatient(object sender, NewActivePatientEventArgs e) { if (backgroundWorker1.IsBusy) { backgroundWorker1.CancelAsync(); } listView1.Items.Clear(); InitNewPatient(); }
/**************************************************************************************************/ private void NewActivePatient(object sender, NewActivePatientEventArgs e) { flowLayoutPanel1.Enabled = false; if (proband != null) { proband.ReleaseListeners(this); } proband = e.newActivePatient; proband.AddHandlersWithLoad(null, activePatientLoaded, null); }
/**************************************************************************************************/ private void NewActivePatient(object sender, NewActivePatientEventArgs e) { //ClearControls(); if (proband != null) { proband.ReleaseListeners(this); } proband = e.newActivePatient; proband.AddHandlersWithLoad(null, activePatientLoaded, null); }
void NewActivePatientEventHandler(object sender, NewActivePatientEventArgs e) { InitNewPatient(); }
/**************************************************************************************************/ private void NewActivePatient(object sender, NewActivePatientEventArgs e) { patientRecordHeader1.setPatient(e.newActivePatient); }
/**************************************************************************************************/ private void NewActivePatient(object sender, NewActivePatientEventArgs e) { InitNewPatient(); }
/**************************************************************************************************/ private void NewActivePatient(object sender, NewActivePatientEventArgs e) { InitSelectedRelative(); }
/**************************************************************************************************/ private void NewActivePatient(object sender, NewActivePatientEventArgs e) { e.newActivePatient.FHx.AddHandlersWithLoad(FHChanged, FHLoaded, null); }
/**************************************************************************************************/ private void NewActivePatient(object sender, NewActivePatientEventArgs e) { proband.ReleaseListeners(this); InitNewPatient(); }