private void UpdateThumbnailListViewSortOrder(ImageRakerThumnbnailListViewItemComparer.SortOrder order, bool update) { if (update) { comparer.SetSortOrder(order); thumbnailListView.Sort(); string sortOrder = comparer.GetSortOrder().ToString(); Config.Instance.SetConfig("SortOrder", sortOrder); } }
private void SortThumbnailListView(ImageRakerThumnbnailListViewItemComparer.CompareMethod method, bool update) { if (update) { comparer.SetCompareMethod(method); thumbnailListView.Sort(); string compareMethod = comparer.GetCompareMethod().ToString(); Config.Instance.SetConfig("CompareMethod", compareMethod); } }