public ListingsView(int subCategory, int category) { InitializeComponent(); ButtonEnable(false); _presenter = new ListingsPresenter(this); _checkedBoxes = new List <string>(); comboxCategories.SelectedIndex = category; ChangeComboBox(subCategory); }
public ListingsView() { InitializeComponent(); _presenter = new ListingsPresenter(this); //_presenter.GetListings(); _presenter.GetFavorites(); _checkedBoxes = new List <string>(); comboxCategories.SelectedIndex = 0; ButtonEnable(false); }
public ListingsView(string search) { InitializeComponent(); ButtonEnable(false); _presenter = new ListingsPresenter(this); _presenter.GetSearchResults(search); _checkedBoxes = new List <string>(); ResetPriceRanges(); ResetDateRanges(); ResetCategoriesCheckboxes(); radbtnListingsPricePick.IsEnabled = false; radbtnListingsPriceCustom.IsEnabled = false; comboxListingsDatePick.IsEnabled = false; }