is begininvoke like CWinThread::PostThreadMessage in mfc?

A

alexl

if not, what would be?

Also how do you start different threads that have event loops in .net.

could I do it like this?

static void Main()
{
new Thread(newform).Start();
new Thread(newform).Start();

}

public static void newform()
{
Form f = new Form();
Application.Run(f);
}


thx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top