Пример #1
0
 public BusinessProfile(Business b1, int offers)
 {
     InitializeComponent();
     lblBusinessName.Text     = b1.Name;
     lblBusinessCategory.Text = b1.BusinessCategory.Name;
     lblOffersShared.Text     = offers.ToString();
     lblBusinessType.Text     = b1.BusinessType.Type;
     lblTechOffers.Text       = JobOfferService.GetJobBsyCategoryAndBusinessName("Technology", b1.Name).ToString();
     MessageBox.Show(LoggedData.LoggedJobSeeker.City + " " + b1.Name);
     lblCityOffersNum.Text = JobOfferService.GetOffersByCityAndBusinessName(b1.Name, LoggedData.LoggedJobSeeker.City).Count.ToString();
 }