//click new patient
        private void NewPatient_Click(object sender, RoutedEventArgs e)
        {
            NewPatientsWindow patientWindow = new NewPatientsWindow(false);

            //patientWindow.Owner = this.Owner; //TODO idk if i should remove this
            this.Close();
            patientWindow.Show();
        }
Exemple #2
0
        private void NewPatient_Click(object sender, RoutedEventArgs e)
        {
            NewPatientsWindow patientWindow = new NewPatientsWindow(true);

            //patientWindow.Owner = this.Owner; //TODO not sure if i should do this owner stuff
            patientWindow.Show();
            this.Close();
        }