Beispiel #1
0
        private void InitForms()
        {
            loadingForm = new LoadingForm();
            messageForm = new MessageForm();
            InitForm(instructionForm = new InstructionForm());
            InitForm(maintenanceForm = new MaintenanceForm());
            InitForm(mainFrm = new PB_MainFrm());
            mainFrm.Width = 1280;
            mainFrm.Height = 1024;

            Application.DoEvents();
            loadingForm.Hide();
            messageForm.Hide();
            instructionForm.Hide();
            maintenanceForm.Hide();

            /*
            InitForm(adsForm = new AdsForm());
            InitForm(documentChooseForm = new DocumentChooseForm());
            //InitForm(prePrintForm = new PrePrintForm());
            InitForm(printForm = new PrintForm());
            */

            if (PrintBoxApp.instance.runOptions.testMode)
            {
                controlForm = new ControlForm();
                controlForm.Show();
            }
        }