Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var x = new System.Threading.Thread(delegate ()
- {
- form.ShowDialog();
- //System.Windows.Forms.Application.Run(form);
- });
- x.SetApartmentState(ApartmentState.STA);
- x.Start();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement