public PostViewModel(TabberViewModel _tabm) { this.tabm = _tabm; this.DisplayName = Properties.Resources.menu_Post; this.LoadCategories(); this.SetLabels(true); }
public OfferDetailsViewModel(TabberViewModel tab, JobOffer offer) { this.DisplayName = " | #" + offer.OfferID; this.tabvm = tab; this.CurrentJobOffer = offer; this.DisplayOffer(offer); }
public PeopleOffersViewModel(TabberViewModel _tabm) { this.tabm = _tabm; this.DisplayName = Properties.Resources.menu_People; this.InitVM(); this.LoadOffers(); }
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(); }
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(); }
public JobOffersViewModel(TabberViewModel _tabm) { this.DisplayName = Properties.Resources.menu_Jobs; this.tabm = _tabm; this.CategoryID = 0; this.InitVM(); this.LoadOffers(); }
public NewestOffersViewModel(TabberViewModel _tabm) { this.tabm = _tabm; this.DisplayName = Properties.Resources.menu_Newest; if (this.dbRepo == null) this.dbRepo = new BombaJobRepository(); this.LoadOffers(); }
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(); }