日期:2014-05-17 浏览次数:20885 次
ThreadPool.QueueUserWorkItem(new WaitCallback(showAppScanfDialog), frm);
private void showAppScanfDialog(object form)
{
frm = (申请及扫描)form;
frm.ShowDialog();
}
ThreadPool.QueueUserWorkItem(new WaitCallback(showScanfAppDialog), ScanfAppFrm);
private void showScanfAppDialog(object form)
{
ScanfAppFrm = (扫描申请)form;
ScanfAppFrm.ShowDialog();
}
ScanfAppFrm.MdiParent = frm;这句代码,运行中这句代码就会提示: