예제 #1
0
        public ListingsView(int subCategory, int category)
        {
            InitializeComponent();

            ButtonEnable(false);

            _presenter = new ListingsPresenter(this);

            _checkedBoxes = new List <string>();

            comboxCategories.SelectedIndex = category;

            ChangeComboBox(subCategory);
        }
예제 #2
0
        public ListingsView()
        {
            InitializeComponent();

            _presenter = new ListingsPresenter(this);

            //_presenter.GetListings();

            _presenter.GetFavorites();

            _checkedBoxes = new List <string>();

            comboxCategories.SelectedIndex = 0;

            ButtonEnable(false);
        }
예제 #3
0
        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;
        }