コード例 #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;
        }