WebBrower通過Timer提供按鈕事件

this.timer1.Enabled = true;
this.timer1.Interval = 1000 * 2;

private void timer1_Tick(object sender, EventArgs e)
        {
            this.timer1.Enabled = false;
            ClickBtn.InvokeMember("Click");//执行按扭操作
        }

你可能感兴趣的:(WebBrower通過Timer提供按鈕事件)