Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function abc
- {
- Thread t = new Thread(new ThreadStart(xyz));
- t.SetApartmentState(ApartmentState.STA);
- t.Start( );
- }
- function xyz
- {
- the code of Windows form..or whatever which is causing the error
- }
Add Comment
Please, Sign In to add comment