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