You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thread thread = new Thread(
()=>
{
Application.Run(subWebViewerWnd);
}
);
thread.IsBackground = true;
thread.SetApartmentState(ApartmentState.STA);
thread.Start();
`
We are developing a program that mirrors two-way data by adding two browser controls to each main subform.
If you use method 1, you can request and receive data from the main HTML page from the sub HTML page, but if you use method 2, it does not work. This is a situation that needs to be handled in method 2.
I would appreciate it if you could help me figure out which part to look for.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
`1.
subWebViewerWnd.Show();
Thread thread = new Thread(
()=>
{
Application.Run(subWebViewerWnd);
}
);
thread.IsBackground = true;
thread.SetApartmentState(ApartmentState.STA);
thread.Start();
`
We are developing a program that mirrors two-way data by adding two browser controls to each main subform.
If you use method 1, you can request and receive data from the main HTML page from the sub HTML page, but if you use method 2, it does not work. This is a situation that needs to be handled in method 2.
I would appreciate it if you could help me figure out which part to look for.
Thank you for reading the question.
Beta Was this translation helpful? Give feedback.
All reactions