Пример #1
0
 private void Close_Click(object sender, RoutedEventArgs e)
 {
     if (_cancelable)
     {
         AddNewPart?.Invoke(string.Empty, _newPackage);
         HideHandlerDialog();
     }
 }
Пример #2
0
 private void PartType_Click(object sender, RoutedEventArgs e)
 {
     _result = ((Button)(sender)).Content.ToString();
     AddNewPart?.Invoke(_result, _newPackage);
     HideHandlerDialog();
 }