Exemple #1
0
        public override void SendMsg()
        {
            getinfo info   = new getinfo(url, text);
            string  imgurl = info.PrintPageNodes();

            if (imgurl != ":(")
            {
                getimg img     = new getimg();
                send   sendmsg = new send();
                sendmsg.SendEmail(address, img.Downloadimg(imgurl));
            }
        }
Exemple #2
0
        private void sendbtn_Click(object sender, EventArgs e)
        {
            foreach (sendemaildata data in dbdata.jtttdata.ToList())
            {
                getinfo info   = new getinfo(data.url, data.text);
                string  imgurl = info.PrintPageNodes();
                if (imgurl != ":(")
                {
                    getimg img     = new getimg();
                    send   sendmsg = new send();
                    sendmsg.SendEmail(data.address, img.Downloadimg(imgurl));
                }

                //data.parseSiteWithKeyword();
            }
        }
Exemple #3
0
        public override void ShowInfo()
        {
            getimg  img     = new getimg();
            send    sendmsg = new send();
            getinfo info    = new getinfo(url, text);
            string  imgurl  = info.PrintPageNodes();

            if (imgurl != ":(")
            {
                Form       sf = new Form();
                PictureBox pb = new PictureBox();
                pb.Image    = new Bitmap(img.Downloadimg(imgurl));
                pb.SizeMode = PictureBoxSizeMode.AutoSize;
                sf.Controls.Add(pb);
                sf.AutoSize = true;
                sf.Show();
            }
        }