0
왜이 오류가 발생하는지 설명 할 수 있습니까?System.Windows.Forms.HtmlDocument에 GetElementByID에 대한 정의가 없습니다.
private void startButton_Click(object sender, EventArgs e)
{
HtmlElement mainNav = webBrowser1.Document.GetElementByID("home");
mainNav.InvokeMember("click");
}
오류 1
'System.Windows.Forms.HtmlDocument' does not contain a definition for 'GetElementByID' and no extension method 'GetElementByID' accepting a first argument of type 'System.Windows.Forms.HtmlDocument' could be found (are you missing a using directive or an assembly reference?)
나 자신을 죽일 시간. – AndB
@AndrewBrigance : 극한 것 같습니다. 얼굴에 가볍게 때리는 것일까 요? : D –
나는 내 옆에 메모에서 말했듯이 때로는 여분의 눈이 필요합니다. 커피 한 잔 마시고 싶을 때가 아닐까요? –