private void AddExciseStamp(object sender, RoutedEventArgs e) { if (CurWares.AddExciseStamp(TBExciseStamp.Text)) { //Додання акцизноії марки до алкоголю SetStateView(eStateMainWindows.WaitInput); } else { MessageBox.Show($"Дана акцизна марка вже використана"); } }
private void ExciseStampNone(object sender, RoutedEventArgs e) { CurWares.AddExciseStamp("None"); SetStateView(eStateMainWindows.WaitInput); }