Пример #1
0
        public void AddAppt(int clinicId)
        {
            User.setClinicID(clinicId);

            NewAppointmentWizard wizard = new NewAppointmentWizard(clinicId);
            wizard.ShowDialog(_owner);

            SessionManager.Instance.ClearActivePatient();
        }
Пример #2
0
        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();
        }