このエラーが表示される理由を説明できますか?
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?)