Пример #1
0
 public YourProfileForm()
 {
     InitializeComponent();
     DisplayUser(AuthHelper.CurrentUserDetails);
     AddAds(PanelReservedAds, AdController.GetReservedAds().ToShortAdUcList());
     AddAds(PanelYourAds, AdController.GetPostedAds().ToShortAdUcList());
 }
Пример #2
0
 public void UpdateDisplay()
 {
     DisplayUser(AuthController.GetUpdatedCurrentUserDetails());
     AddAds(PanelReservedAds, AdController.GetReservedAds().ToShortAdUcList());
     AddAds(PanelYourAds, AdController.GetPostedAds().ToShortAdUcList());
 }