public AddPersonCommand(AdvancedModel parent) { this.parent = parent; parent.PropertyChanged += delegate { CanExecuteChanged?.Invoke(this, EventArgs.Empty); }; }
public AdvancedWindow() { InitializeComponent(); DataContext = new AdvancedModel(); }