Пример #1
0
 private void Rewards_ColumnClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (sortModeRewards == SortMode.Asceding)
     {
         rewards.SortRewards("descending");
         sortModeRewards = SortMode.Desceding;
     }
     else
     {
         rewards.SortRewards("ascending");
         sortModeRewards = SortMode.Asceding;
     }
     DisplayReward();
 }