Reputation: 5037
I cannot use Web Browser control to display html content because i'm using Background worker to open the form.
And therefor i'm using Process.Start() to open a link that contain only a facebook like button
Process.Start("http://www.example.com");
Is there any possibility to control the size of opened window (Height, Width) and start position?
Upvotes: 1
Views: 917
Reputation: 1038850
I cannot use Web Browser control to display html content because i'm using Background worker to open the form.
In this case you could perform this inside an Invoke delegate. Or since you are using a BackgroundWorker
use the RunWorkerCompleted event which is executed once the background task completes.
Upvotes: 2