コード例 #1
0
 /// <summary>
 /// Selects the next sorting mechanism
 /// </summary>
 private void nextSort()
 {
     currentSort = currentSort.Next();
     if (currentSort == SortBy.PACKAGE_ORDER && !currentPackage.ownOrder)
     {
         currentSort = currentSort.Next();
     }
 }
コード例 #2
0
 /// <summary>
 /// Selects the next sorting mechanism
 /// </summary>
 private void nextSort()
 {
     currentSort = currentSort.Next ();
     if (currentSort == SortBy.PACKAGE_ORDER && !currentPackage.ownOrder) {
         currentSort = currentSort.Next ();
     }
 }
コード例 #3
0
ファイル: SortButton.cs プロジェクト: thepunkduck/CodeWatcher
 private void SortButton_MouseClick(object sender, MouseEventArgs e)
 {
     SortBy = SortBy.Next();
 }