按钮点击导航与C#

按钮点击导航与C#,c#,button,web,webbrowser-control,navigateurl,C#,Button,Web,Webbrowser Control,Navigateurl,我想确保在下一页单击按钮时。我试过: using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; namespace ffffffffffffgd { /// <summary> /// Description of MainForm. /// </summary> public partial clas

我想确保在下一页单击按钮时。我试过:

using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;

namespace ffffffffffffgd
{
    /// <summary>
    /// Description of MainForm.
    /// </summary>
    public partial class MainForm : Form
    {
        public MainForm()
        {
            //
            // The InitializeComponent() call is required for Windows Forms designer support.
            //
            InitializeComponent();

            //
            // TODO: Add constructor code after the InitializeComponent() call.
            //
        }
        void Button1Click(object sender, EventArgs e)
        {
    webBrowser1.Navigate("https://www.scifi.hu");
    webBrowser1.Navigate("http://onlinepont-online.cc");
    webBrowser1.Navigate("https://filmbolond-onlinefilm.net");
    webBrowser1.Navigate("https://www.mafab.hu");
    webBrowser1.Navigate("https://lichess.org/");
        }
    }
}
使用系统;
使用System.Collections.Generic;
使用系统图;
使用System.Windows.Forms;
命名空间ffffffffffffffgd
{
/// 
///主窗体的描述。
/// 
公共部分类主窗体:窗体
{
公共表格(
{
//
//Windows窗体设计器支持需要InitializeComponent()调用。
//
初始化组件();
//
//TODO:在InitializeComponent()调用后添加构造函数代码。
//
}
无效按钮1单击(对象发送者,事件参数e)
{
webBrowser1.导航(“https://www.scifi.hu");
webBrowser1.导航(“http://onlinepont-online.cc");
webBrowser1.导航(“https://filmbolond-onlinefilm.net");
webBrowser1.导航(“https://www.mafab.hu");
webBrowser1.导航(“https://lichess.org/");
}
}
}

您的问题不清楚。请澄清。请同时提供您的aspx代码。可能您的按钮缺少runer=“server”或其他内容。我想确保在下一页单击按钮时,与第一页()相同。不要转到下一页。