there anyway I can fill out a form with code in a C# web browser control when a timer has elapsed?
void time_Elapsed(object sender, System.Timers.ElapsedEventArgs e) { if (currentTime == foo) { timer.Stop(); // I want to set // webBrowser1.Document.GetElementById("NewQ_Gender").SetAttribute("value", "Male"); } }
This webBrowser1 line only works inside document_completed event? What can i use for the time elapsed?
Thank you