/// <summary>
 /// Selects the next sorting mechanism
 /// </summary>
 private void nextSort()
 {
     currentSort = currentSort.Next();
     if (currentSort == SortBy.PACKAGE_ORDER && !currentPackage.ownOrder)
     {
         currentSort = currentSort.Next();
     }
 }
 /// <summary>
 /// Selects the next sorting mechanism
 /// </summary>
 private void nextSort()
 {
     currentSort = currentSort.Next ();
     if (currentSort == SortBy.PACKAGE_ORDER && !currentPackage.ownOrder) {
         currentSort = currentSort.Next ();
     }
 }
Beispiel #3
0
 private void SortButton_MouseClick(object sender, MouseEventArgs e)
 {
     SortBy = SortBy.Next();
 }