private async void Start() { await Loading.Show(); newEvidenceValid = new NewEvidenceValid(); NewEvidenceVM = new NewEvidenceVM(GetList); this.DataContext = NewEvidenceVM; InitializeComponent(); button = Save; NewEvidenceVM.ParameterPassingAfterLoad(ref content, new Func <bool>(() => newEvidenceValid.Validate(newEvidenceValid)), SetEnabledSave, (bool x) => { }); validatorClass = newEvidenceValid; ConnectValidators(); await Loading.Hide(); }
private void save(object sender, RoutedEventArgs e) { NewEvidenceVM.ExecuteQuestion(); }
protected internal bool Dirty() => NewEvidenceVM.VMDirty();