/// <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 (); } }
private void SortButton_MouseClick(object sender, MouseEventArgs e) { SortBy = SortBy.Next(); }