Exemplo n.º 1
0
 /// <summary>
 /// Removes the currently selected product, after the question.
 /// </summary>
 private void RemoveCurrent()
 {
     if (MessageBox.Show(localizator.RemoveProductText(), localizator.RemoveProductCaption(), MessageBoxButton.YesNoCancel, MessageBoxImage.Warning) == MessageBoxResult.Yes)
     {
         Products.Remove(Product);
     }
 }