Ejemplo n.º 1
0
        private void ListBox1_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            selectedVardnadshavare = (Vardnadshavare)listBox1.SelectedItem;

            cmbBoxBarn.ItemsSource = null;
            cmbBoxBarn.ItemsSource = db.GetBarnByVh(selectedVardnadshavare.Id);
        }