Пример #1
0
 public PostViewModel(TabberViewModel _tabm)
 {
     this.tabm = _tabm;
     this.DisplayName = Properties.Resources.menu_Post;
     this.LoadCategories();
     this.SetLabels(true);
 }
Пример #2
0
 public OfferDetailsViewModel(TabberViewModel tab, JobOffer offer)
 {
     this.DisplayName = " | #" + offer.OfferID;
     this.tabvm = tab;
     this.CurrentJobOffer = offer;
     this.DisplayOffer(offer);
 }
Пример #3
0
        public PeopleOffersViewModel(TabberViewModel _tabm)
        {
            this.tabm = _tabm;
            this.DisplayName = Properties.Resources.menu_People;

            this.InitVM();
            this.LoadOffers();
        }
Пример #4
0
        public PeopleOffersViewModel(TabberViewModel _tabm, int categoryID)
        {
            this.DisplayName = " | " + Properties.Resources.menu_Jobs;
            this.tabm = _tabm;
            this.CategoryID = categoryID;

            this.InitVM();
            this.LoadOffers();
        }
        public JobOffersCategoriesViewModel(TabberViewModel _tabm)
        {
            this.tabm = _tabm;
            this.DisplayName = Properties.Resources.menu_Jobs;

            if (this.dbRepo == null)
                this.dbRepo = new BombaJobRepository();
            this.LoadCategories();
        }
Пример #6
0
        public SendMessageViewModel(TabberViewModel _tabm, JobOffer jo)
        {
            this.tabm = _tabm;
            this.currentOffer = jo;
            this.DisplayName = " | #" + this.currentOffer.OfferID;

            if (this.dbRepo == null)
                this.dbRepo = new BombaJobRepository();
        }
Пример #7
0
        public JobOffersViewModel(TabberViewModel _tabm)
        {
            this.DisplayName = Properties.Resources.menu_Jobs;
            this.tabm = _tabm;
            this.CategoryID = 0;

            this.InitVM();
            this.LoadOffers();
        }
Пример #8
0
        public NewestOffersViewModel(TabberViewModel _tabm)
        {
            this.tabm = _tabm;
            this.DisplayName = Properties.Resources.menu_Newest;

            if (this.dbRepo == null)
                this.dbRepo = new BombaJobRepository();
            this.LoadOffers();
        }
Пример #9
0
        public SearchResultsViewModel(TabberViewModel _tabm, string sQuery)
        {
            this.tabm = _tabm;
            this.SearchQuery = sQuery;
            this.DisplayName = " | " + Properties.Resources.menu_Search;

            if (this.dbRepo == null)
                this.dbRepo = new BombaJobRepository();

            this.StartSearch();
            if (Properties.Settings.Default.stOnlineSearch)
                this.DoSearch();
            else
                this.SearchOffers();
        }