Exemple #1
0
 public void Add(StudentVM student)
 {
     Students.Add(student);
     onPropertyChanged("Students");
 }
Exemple #2
0
        public void Remove(StudentVM student)
        {
            bool x = Students.Remove(student);

            onPropertyChanged("Students");
        }
Exemple #3
0
        protected override void CommandExecute(object parameter)
        {
            StudentVM student = parameter as StudentVM;

            ClassRoomVM.Remove(student);
        }