Example #1
0
        public void AddRegistratie(Registratie registratie)
        {
            registratieController.Add(registratie);

            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs("Registraties"));
                PropertyChanged(this, new PropertyChangedEventArgs("IsStartEnabled"));
                PropertyChanged(this, new PropertyChangedEventArgs("IsStopEnabled"));
            }
        }
Example #2
0
 public void Add()
 {
     locatieController.Add(
         new Locatie()
     {
         Naam      = Name,
         Latitude  = Position.Latitude,
         Longitude = Position.Longitude,
         Radius    = Radius
     });
 }