Beispiel #1
0
        public AdvertisementView(int id, int page, string searchBarText, bool isFromAdminPanel = false)
        {
            InitializeComponent();

            this.page          = page;
            this.searchBarText = searchBarText;
            ad      = new Advertisement(id);
            adOwner = ad.GetAdOwner();

            this.isAdmin = isFromAdminPanel;

            SetUp();
        }