示例#1
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (firstclick)
            {
                PrintScreenNumber = new PrintScreenNumber(textBox1.Text);
                textBox1.ReadOnly = true;
                firstclick        = false;
            }

            PrintScreenNumber.NextPage();
            textBox1.Text   = PrintScreenNumber.PageURL;
            webBrowser1.Url = new Uri(textBox1.Text);
        }
示例#2
0
        private void Last()
        {
            if (firstclick)
            {
                PrintScreenNumber = new PrintScreenNumber(textBox1.Text);
                textBox1.ReadOnly = true;
                firstclick        = false;
            }

            PrintScreenNumber.LastPage();
            textBox1.Text   = PrintScreenNumber.PageURL;
            webBrowser1.Url = new Uri(textBox1.Text);
        }