Esempio n. 1
0
        private void optimizeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {
                FrmPleaseWait fpw = new FrmPleaseWait();
                fpw.Show();
                Application.DoEvents();

                count = 0;
                Optimization();

                fpw.Close();

                MessageBox.Show("Optimization Complete !");
            }
            catch
            {
            }
        }
Esempio n. 2
0
        private void RUNToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {
                FrmPleaseWait fpw = new FrmPleaseWait();
                //FrmAbout fa = new FrmAbout();

                //fa.Show();
                fpw.Show();
                //fpw.Text = "Please Wait...";
                Application.DoEvents();
                Calculate();

                //fa.Close();
                fpw.Close();
            }
            catch
            {
            }
            // L * ThetaDR /del_T
        }