示例#1
0
        void HandleSortButtonTouchUpInside(object sender, EventArgs e)
        {
            ObservableCollection <Character> oldList = new ObservableCollection <Character>(CombatState.CombatList);

            CombatState.SortCombatList(true, true);
            ReloadList(oldList);
            MainUI.SaveCombatState();
        }
示例#2
0
        void HandlePrevButtonTouchUpInside(object sender, EventArgs e)
        {
            int index1 = ActiveCharacterIndex;

            CombatState.MovePrevious();
            int index2 = ActiveCharacterIndex;

            ReloadListRows(new List <int> {
                index1, index2
            });
            MainUI.SaveCombatState();
        }