private void ListBox_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (Lista.SelectedIndex == 0) { Conteudo.Navigate(new ListagemInimigos(haloAPI)); } }
public MainWindow() { InitializeComponent(); BtnHome.Visibility = Visibility.Collapsed; txblTitulo.Text = BtnHome.Content.ToString(); Conteudo.Navigate(new Home()); }