예제 #1
0
        public void DisplayForm(string sTaskFolder, bool bAutoRun,
                                CInternalConfiguration internalConfig, CConfiguration config)
        {
            _config = config;
            if (internalConfig.selectedExecutionModel == null)
            {
                MessageBox.Show("Please select execution model");
                return;
            }

            this.Text = "Run Simulation using : " + internalConfig.selectedExecutionModel.objMain.Description;
            UpdateStatus("Ready");

            textFolderName.Text = sTaskFolder;
            _internalConfig     = internalConfig;

            if (bAutoRun)
            {
                AsyncRunSimulation();
            }

            //Add Code
            this.ShowDialog();
        }
예제 #2
0
 public fMain()
 {
     InitializeComponent();
     _internalConfig = new CInternalConfiguration();
 }