Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            textBox2.Text = Method.GetCookies(url);

            cookie = Method.GetCookies(url);

            MessageBox.Show("获取登陆信息成功,请返回主界面点击获取登陆信息");
            this.Close();
        }
Пример #2
0
        private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
        {
            textBox2.Text = Method.GetCookies(url);

            WebBrowser.cookie = Method.GetCookies(url);
        }