public BandViewModel() { Bandliste = new Model.BandList(); selectedBand = new Model.Band(); AddBandCommand = new AddBandCommand(AddNewBand); NewBand = new Model.Band(); //AddBandCommand = new RelayCommand(AddNewBand); }
public BandViewModel() { Bandliste = new Model.BandList(); selectedBand = new Model.Band(); AddBandCommand = new AddBandCommand(AddNewBand); NewBand = new Model.Band(); DeleteBandCommand = new RelayCommand(DeleteBand); SaveBandCommand = new RelayCommand(GemDataTilDiskAsync); //bruger en anonym metode i min relaycommand DeleteAllBandCommand = new RelayCommand(() => this.Bandliste.Clear()); localfolder = ApplicationData.Current.LocalFolder; }
public BandViewModel() { Bandliste = new Model.BandList(); SelectedBand = new Model.Band(); }