Ejemplo n.º 1
0
        public void AddNewWod()
        {
            var tempWod = new Model.Planing();

            tempWod.menu = Newplan.menu;
            planListe.Add(tempWod);
        }
Ejemplo n.º 2
0
 public PlaningViewModel()
 {
     Newplan              = new Model.Planing();
     AddPlaningCommand    = new AddPlanCommand(AddNewWod);
     planListe            = new Model.PlaningList();
     _selectedWod         = new Model.Planing();
     RemovePlaningCommand = new RemovePlanCommand(RemoveThisWod);
     SavePlaningCommand   = new SavePlanCommand(GemDataTilDiskAsync);
     LoadPlaningCommand   = new HentPlanCommand(HentDataFraDiskAsync);
     localfolder          = ApplicationData.Current.LocalFolder;
     HentDataFraDiskAsync();
 }