Пример #1
0
        private void lblStatisticLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            int id = Convert.ToInt32(lblId.Text);
            // _home.Controls.Clear();

            string users = JobOfferService.GetClickedUsersInOfferByOfferId(id).Count.ToString();

            //  MessageBox.Show("Numri i klikimeve apo vjen sakt " + JobOfferService.GetClickedUsersInOfferByOfferId(id).Count);
            //foreach (var item in JobOfferService.GetClickedUsersInOfferByOfferId(id))
            //{
            //    users += item.Name + " " + item.LastName + "\n";
            //}

            MessageBox.Show("Users that checked your Offers are:\n " + users);
            //OfferStatistic o1 = new OfferStatistic(id);
            //o1.Show();
            //   MessageBox.Show("Users that clicked on this " + JobOfferService.GetClickedUsersInOfferByOfferId(id).ToString());
        }
Пример #2
0
        private void btnShowStatistic_Click(object sender, EventArgs e)
        {
            int id = Convert.ToInt32(lblId.ToString());

            MessageBox.Show("Users that clicked on this " + JobOfferService.GetClickedUsersInOfferByOfferId(id).ToString());
        }