private void Window_Loaded(object sender, RoutedEventArgs e) { comboBox.ItemsSource = MissaoDAO.RetornarMissoes(); comboBox.DisplayMemberPath = "Name"; comboBox.SelectedValuePath = "IDMissao"; }
private void Window_Loaded(object sender, RoutedEventArgs e) { dtg.ItemsSource = MissaoDAO.RetornarMissoes(); }