private void CancelButton_Click(object sender, RoutedEventArgs e) { OnCanceling(); if (_dialogResult == true) { if (ProductModelDataForm != null) { RaiseCanExecuteChanged(); NavStateTrue(); ProductModelDataForm.CancelEdit(); ProductModelDataForm.BeginEdit(); } } }
private void ProductModelDataGrid_AddingNewDataItem(object sender, GridViewAddingNewEventArgs e) { ProductModelDataForm.AddNewItem(); }
private void PreviousButton_Click(object sender, RoutedEventArgs e) { ProductModelDataForm.MoveCurrentToPrevious(); }
private void NextButton_Click(object sender, RoutedEventArgs e) { ProductModelDataForm.MoveCurrentToNext(); }