Ejemplo n.º 1
0
 private void TabControl_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (AnalisysTastTab.IsSelected)
     {
         allPhones = SmartphoneFileHandler.GetSmartphones();
         List <String> names = allPhones.Select(i => i.Name + " Cena: " + i.Price).ToList();
         smartphonesListBox.ItemsSource = names;
     }
 }
Ejemplo n.º 2
0
 private void FindUsersForSmartphoneBtn_Click(object sender, RoutedEventArgs e)
 {
     allPhones = SmartphoneFileHandler.GetSmartphones();
     GetUserTypeFromChoosedSmartphone(new Smartphone());
 }