示例#1
0
        public void Execute(object parameter)
        {
            var instance = new DeletePatientWindow(SelectedPatient);

            instance.ShowDialog();
        }
示例#2
0
        /// <summary>
        /// Open an instance of the deletePatientWindow
        /// </summary>
        /// <param name="selectedPatient">Values from selected patient in the patient search page</param>
        public void OpenDeleteWindow(PatientModel selectedPatient)
        {
            var instance = new DeletePatientWindow(selectedPatient);

            instance.ShowDialog();
        }