tags:

views:

61

answers:

1

here code

delegate void CheckNewsDelegate();

void CheckNews()
{            
    frmNews news = new frmNews();
    news.Show();            
}

CheckNewsDelegate dlg = new CheckNewsDelegate(CheckNews);
dlg.BeginInvoke(null, null);

new form not create normal. how fix it?

+1  A: 

You can do this, but need to start an application message queue on the other thread. Replace the CheckNews function with

void CheckNews()
{            
    frmNews news = new frmNews();
    Application.Run(news);         
}
Kleinux