private void smartInstanceBox_SelectionChanged(object sender, SelectionChangedEventArgs e) { string smartInstance = smartInstanceBox.SelectedItem.ToString(); foundDatabases = SmartList.GetDatabases(smartInstance); this.smartDatabaseBox.ItemsSource = foundDatabases; }
public MainWindow() { InitializeComponent(); foundInstances = SmartList.GetInstances(); this.smartInstanceBox.ItemsSource = foundInstances; }