private void addNewOption() { var addWindow = new Windows.Door.AddOptionWindow(); addWindow.Select(Options.Where(t => !t.IsNecessary && !t.IsIncluded)); EnabledOptions.Refresh(); OnPropertyChanged("OptionsCount"); }
private void deleteOption() { SelectedOption.IsIncluded = false; EnabledOptions.Refresh(); OnPropertyChanged("OptionsCount"); }