S
S
sergeevpetro2015-07-14 15:36:31
Programming
sergeevpetro, 2015-07-14 15:36:31

C# working with WebBrowser without form freezes?

Hello gentlemen!
Interested in such a question ... how can you implement work with WebBrowser so that the form never freezes during page loading?
I tried using BackgroundWoker - it didn't help, I manually created the thread - it didn't help, I tried to create a new form with a component and call it from the main form - it didn't help, it always freezes. And I tried it through Invoke ... I'm
interested in a specific solution to the problem, and not any guesses ...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
AxisPod, 2015-07-15
@sergeevpetro

And for some reason, it seems that in no way, WebBrowser loads the page itself, with its own methods, and does it in the interface thread.

J
jackroll, 2015-07-14
@jackroll

Tried using BackgroundWoker - did not help, manually creating a thread - did not help

Perhaps it is worth deepening your knowledge in this area and trying again

M
MrDywar Pichugin, 2015-07-14
@Dywar

Using async and await in C# - best practices .
Comrade jackroll is correct.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question