public FilterSettingsDialog(FilterSettings filterSettings)
 {
     InitializeComponent();
     settings = filterSettings;
     countCombo.SelectedItem = settings.Count.ToString();
     directionBox.SelectedItem = filterSettings.Direction == ListSortDirection.Ascending ? "least" : "most";
 }
예제 #2
0
 public IndexFilter(FilterSettings initSettings)
 {
     settings = initSettings;
 }
 public MainController()
 {
     settings = new Settings(3, 4, 1000, true);
     filterSettings = new FilterSettings(ListSortDirection.Descending, 5);
     index = null;
 }