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