Dog flutter forum automatically brushes VIP dog food
Start idle dog food reply too slow to think of oneself want to write a, success always give me haha.
It took me an hour to learn to write slowly, although the code is simple, but it's enough for you.
usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Linq;usingSystem.Text;usingSystem.Windows.Forms;usingSystem.Net;usingSystem.IO;namespacewindowsformsapplication1{ Public Partial classForm1:form { PublicForm1 () {InitializeComponent (); } Private voidForm1_Load (Objectsender, EventArgs e) { varRequest = (HttpWebRequest) webrequest.create ("Http://bbs.goupu.org/member.php?mod=logging&action=login");//Create: Creating a WebRequest objectWebBrowser1.Document.Encoding ="UTF-8";//fix Web page garbled//HttpWebResponse Object instance: This class is used to get and manipulate HTTP answer var can be changed to HttpWebResponse varResponse = (HttpWebResponse) request. GetResponse ();//GetResponse: Get a reply//constructing a Data flow object instanceStream stream = Response. GetResponseStream ();//GetResponseStream: Get the reply streamStreamReader sr =NewStreamReader (stream);//reading characters from the byte stream//reads from the current position of the stream to the end and appears in the Webbrower control stringContent =Sr. ReadToEnd (); Webbrowser1.documenttext=content; HtmlElement User= webbrowser1.document.all["username"]; HtmlElement Pass= webbrowser1.document.all["Password"]; HtmlElement but= webbrowser1.document.all["Loginsubmit"]; if(user==NULL|| pass==NULL|| but==NULL) { return; } user. SetAttribute ("value","User name"); Pass. SetAttribute ("value","Password"); MessageBox.Show (user. ToString ()); But. InvokeMember ("Click"); } Private voidButton1_Click (Objectsender, EventArgs e) {HtmlElement text= webbrowser1.document.all["message"]; Text. SetAttribute ("value","+ 10 bags of dog food"); HtmlElement but= WebBrowser1.Document.GetElementById ("Postsubmit"); But. InvokeMember ("Click"); } Private voidButton2_Click (Objectsender, EventArgs e) {timer1. Enabled=true; Timer1. Interval= +; Timer1. Start (); HtmlElement img= WebBrowser1.Document.GetElementById ("Fastpostmessage"); Img. SetAttribute ("value","+ 10 bags of dog food"); HtmlElement BUT1= webbrowser1.document.all["Replysubmit"]; But1. InvokeMember ("Click"); Timer1. Stop (); } }}
Dog flutter forum automatically brushes VIP dog food