public NewPatientAppointmentSystemWindow(Patient patient, NewPatientAppointmentWindow window) { InitializeComponent(); this._patient = patient; _previousWindow = window; LoadDoctorComboBox(); }
private void ShowNewAppointmentWindow() { NewPatientAppointmentWindow window = new NewPatientAppointmentWindow(_loggedInPatient); this.Hide(); window.ShowDialog(); RefreshTable(); }