主窗体循环逻辑语句[C#] 纯文本查看 复制代码 string loginurl = "http://www.sufeinet.com/member.php?mod=logging&action=login";
string []username = new string[] {"posttest1", "posttest2" };
string[] password = new string[] { "111111 ", "111111" };
Form2 frmBrowse = new Form2();
for (int i = 0; i < username.Length ; i++)
{
frmBrowse.username = Convert.ToString(username[i]);
frmBrowse.password = Convert.ToString(password[i]);
frmBrowse.Show();
frmBrowse.webBrowser1.Navigate(loginurl);
frmBrowse.GetMoney += new DelegateText(GetMoney );
}
求大家纠错。。。。。
|