Exemplo n.º 1
0
        private void Rewards_ColumnClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            if (sortMode1 == RewardSortMode.Asceding)
            {
                rewards.SortRewardsByFullNameDesc();
                sortMode1 = RewardSortMode.Desceding;
            }
            else
            {
                rewards.SortRewardsByFullNameAsc();
                sortMode1 = RewardSortMode.Asceding;
            }

            DisplayReward();
        }