예제 #1
0
        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();
        }
예제 #2
0
 private void save(object sender, RoutedEventArgs e)
 {
     NewEvidenceVM.ExecuteQuestion();
 }
예제 #3
0
 protected internal bool Dirty() => NewEvidenceVM.VMDirty();