asp.net机器人注册原理

2020-12-02 11:02

阅读:399

标签:winform   io   for   c   .net   app   

1.新建webapplication,添加webForm 拖拽两个TextBox,一个Button,Button单击事件中写

 File.AppendAllText("f:/a.txt",TextBox1.Text+":"+TextBox2.Text+"  ");

2.新建winform窗体,拖拽WebBrowser,属性url修改为注册页面的地址。再次拖拽button。单击事件中写

            webBrowser1.Document.GetElementById("TextBox1").SetAttribute("Value","2222");
            webBrowser1.Document.GetElementById("TextBox2").SetAttribute("Value", "bbbb");
            webBrowser1.Document.GetElementById("Button1").InvokeMember("Click");

3.运行查看效果,即为简单的机器人注册原理。

asp.net机器人注册原理,搜素材,soscw.com

asp.net机器人注册原理

标签:winform   io   for   c   .net   app   

原文地址:http://www.cnblogs.com/fanshaomin/p/3700080.html


评论


亲,登录后才可以留言!