Esempio n. 1
0
        private void TabPartySelect_OnSelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (_refreshing)
            {
                return;
            }

            _selectedIndex = TabPartySelect.SelectedIndex;
            PartyEditor.Load((Characters)_selectedIndex);
            PartyEditor.Refresh();
        }
Esempio n. 2
0
        public void Refresh()
        {
            _refreshing = true;

            if (_selectedIndex == -1)
            {
                TabPartySelect.SelectedIndex = 0;
                _selectedIndex = 0;
            }

            PartyEditor.Load((Characters)_selectedIndex);
            PartyEditor.Refresh();

            _refreshing = false;
        }