Ejemplo n.º 1
0
 private void HandleCharacterChanged(object sender, RoutedEventArgs e)
 {
     if (sender is CharacterSheets characterSheets)
     {
         string character = characterSheets.GetCharacter();
         HubtasticBaseStation.PlayerDataChanged(tabPlayers.SelectedIndex, activePage, character);
     }
 }
Ejemplo n.º 2
0
 private void CharacterSheets_PageChanged(object sender, RoutedEventArgs ea)
 {
     if (sender is CharacterSheets characterSheets && activePage != characterSheets.Page)
     {
         activePage = characterSheets.Page;
         HubtasticBaseStation.PlayerDataChanged(tabPlayers.SelectedIndex, activePage, string.Empty);
     }
 }
Ejemplo n.º 3
0
 private void TabControl_PlayerChanged(object sender, SelectionChangedEventArgs e)
 {
     highlightRectangles = null;
     NextDieRollType     = DiceRollType.None;
     activePage          = ScrollPage.main;
     FocusHelper.ClearActiveStatBoxes();
     HubtasticBaseStation.PlayerDataChanged(PlayerID, activePage, string.Empty);
     SetActionShortcuts(PlayerID);
 }
Ejemplo n.º 4
0
 private void TabControl_PlayerChanged(object sender, SelectionChangedEventArgs e)
 {
     activePage = ScrollPage.main;
     FocusHelper.ClearActiveStatBoxes();
     HubtasticBaseStation.PlayerDataChanged(PlayerID, activePage, string.Empty);
 }