private void btnStartNewProj_Click(object sender, EventArgs e) { //unload splash screen this.Hide(); // load MDI form MDImain frmMDI = new MDImain(Project, Network, Links, FreewayFacilities, OrigDestPairs); frmMDI.Show(); }
private void btnOpenExistProj_Click(object sender, EventArgs e) { string FileName = Main.GetFilename(FileListingTitle, RegistryDirectory, RegistryPathForStoredFilenames, Filter, InitialDirectory); if (FileName != "") { Project.FileName = FileName; XXE_Calculations.FileInputOutput.ReadXmlFile(FileName, Project, Network, Links, OrigDestPairs); //unload splash screen this.Hide(); // Load MDI form MDImain frmMDI = new MDImain(Project, Network, Links, FreewayFacilities, OrigDestPairs); frmMDI.Show(); MDImain.theMain.OpenAllDataForms(); } }