问题描述:

Launching form with geckoFX from console application.

Thread _T = new Thread(() =>

{

form = new SurferForm();

Application.Run(form);

});

_T.SetApartmentState( ApartmentState.STA);

_T.Start();

while(form== null ||!form.FormReady)

{

Thread.Sleep(200);

}

After launch I need to navigate then close form with browser and continue work in Console application. But if I do close the form with browser I get the following errors http://prntscr.com/bqamyr

Can you suggest smth?

相关阅读:
Top