Ejemplo n.º 1
0
        private void ActorsListBox_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            character = (CharacterFilter)actorsListBox.SelectedItem;
            CharacterDescriptionWindow characterDescriptionWindow = new CharacterDescriptionWindow(character.Name, actors);

            characterDescriptionWindow.Show();
        }
Ejemplo n.º 2
0
 private void ActorsListBox_KeyUp(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Enter)
     {
         character = (CharacterFilter)actorsListBox.SelectedItem;
         CharacterDescriptionWindow characterDescriptionWindow = new CharacterDescriptionWindow(character.Name, actors);
         characterDescriptionWindow.Show();
     }
 }