private void AddEditStudent(object obj) { var addEditStudentWindow = new AddEditStudentView(obj as StudentWrapper); addEditStudentWindow.Closed += AddEditStudentWindow_Closed; addEditStudentWindow.ShowDialog(); }
private void AddEditStudent(object obj) { var addEditStudentWindow = new AddEditStudentView(SelectedStudent); addEditStudentWindow.Closed += AddEditStudentWindow_Closed; addEditStudentWindow.ShowDialog(); }