Esempio n. 1
0
 private void PaymentTypeComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (PaymentTypeComboBox.SelectedItem != null)
     {
         if (PaymentTypeComboBox.SelectedItem == Gotowka)
         {
             AccountNumber.Visibility      = Visibility.Hidden;
             AccountNumberLabel.Visibility = Visibility.Hidden;
             AccountNumber.Clear();
         }
         else
         {
             AccountNumber.Visibility      = Visibility.Visible;
             AccountNumberLabel.Visibility = Visibility.Visible;
         }
     }
 }