Beispiel #1
0
 public InfoFromFilter(InfoFromFilter oldNod)
 {
     this.id          = oldNod.id;
     this.seller      = oldNod.seller;
     this.topic       = oldNod.topic;
     this.price       = oldNod.price;
     this.link        = oldNod.link;
     this.description = oldNod.description;
     this.popup       = oldNod.popup;
 }
Beispiel #2
0
        void copyList2Listbox(List<InfoFromFilter> toBePrinted)
        {

            List<UInt64> toBeStopPopup = new List<UInt64>();

            foreach (InfoFromFilter item in toBePrinted)
            {
                if (item.popup)
                {

                    outputMs += Environment.NewLine + item.price.ToString() + " " + item.topic + " " + Constants.BASEURL + item.link;
                    Thread msgthread = new Thread(() => informUser(item.price.ToString(), item.topic, item.link,item.seller));
                    msgthread.Start();




                }


                toBeStopPopup.Add(item.id);
            }





            for (int j = 0; j < toBeStopPopup.Count; j++)
            {
                for (int i = 0; i < listOfOffers.Count; i++)
                {
                    if (listOfOffers[i].id == toBeStopPopup[j])
                    {

                        var tmpNod = new InfoFromFilter(listOfOffers[i]);
                        tmpNod.popup = false;



                        listOfOffers[i] = tmpNod;

                        break;
                    }
                }
            }
            //MessageBox.Show(outputMs, "Important Message");


        }
Beispiel #3
0
            public InfoFromFilter(InfoFromFilter oldNod)
            {
                this.id = oldNod.id;
                this.seller = oldNod.seller;
                this.topic = oldNod.topic;
                this.price = oldNod.price;
                this.link = oldNod.link;
                this.description = oldNod.description;
                this.popup = oldNod.popup;

            }