1
我有一个解决方案中的2个项目,我的主要项目是项目1和在项目中1主要表单加载事件我从项目2运行窗体,我的问题是如何从项目窗体后显示项目1中的窗体2关闭?如何在特定表单关闭后打开表单?该表单是从C#中的另一个项目?
//Here is the form from project 2 will run on project 1 mains form load
pp2.FormLoader frmLdr = new pp2.FormLoader();
frmLdr.MdiParent = this;
frmLdr.Show();
//the form from project 2 will automatically closes after a couple of seconds, after that this form should be automatically show. How can I possibly do this? Thanks!
FormProcess frmSvrProc = new FormProcess();
frmSvrProc.MdiParent = this;
frmSvrProc.Show();
其中你是否已经在一个Process类的实例上找到了属性MdiParent? (更不用说Show()方法)你的意思是'Form frmShowProc' – Steve
process是表单的名字:D – GrayFullBuster
我很无语....我在问我的想法找到合理的东西来说 – Steve