Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
        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();
            }
        }