日期:2014-05-17 浏览次数:20884 次
private void BarCodeToolStripMenuItem_Click(object sender, EventArgs e)
{
Thread td = new Thread(MessageShow);
td.Start();
}
public void MessageShow()
{
MessageForm msg = new MessageForm();
this.Invoke(new MethodInvoker(delegate
{
msg.MdiParent = this;
}));
msg.Show();
}
MessageForm msg = new MessageForm();
this.Invoke(new MethodInvoker(delegate
{
msg.Show();
}));