public void AddAppt(int clinicId) { User.setClinicID(clinicId); NewAppointmentWizard wizard = new NewAppointmentWizard(clinicId); wizard.ShowDialog(_owner); SessionManager.Instance.ClearActivePatient(); }
private void addApptButton_Click(object sender, EventArgs e) { int clinicId = ((Clinic)comboBox2.SelectedItem).clinicID; User.setClinicID(clinicId); NewAppointmentWizard wizard = new NewAppointmentWizard(clinicId); wizard.ShowDialog(this); SessionManager.Instance.ClearActivePatient(); GetNewAppointmentList(); }