private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { foreach (Generator Lyap in Lyaps) { if (Lyap != null) { Lyap.Stop(); } } }
private void cancel_btn_Click(object sender, EventArgs e) { foreach (Generator Lyap in Lyaps) { if (Lyap != null) { Lyap.Stop(); } } toolStripProgressBar1.Value = 0; toolStripStatusLabel1.Text = ""; //byte xmax = Convert.ToByte(XMax); //MessageBox.Show(xmax.ToString()); }
private void Stop() { foreach (LyapunovGenerator Lyap in Lyaps) { Lyap.Stop(); } progressBar1.Value = 0; progressBar2.Value = 0; progressBar3.Value = 0; label14.Text = "Estimated Time Left: "; label15.Text = "Estimated Finish Time: "; label17.Text = "Estimated Time Left: "; label8.Text = "Estimated Finish Time: "; }
private void strt_btn_Click(object sender, EventArgs e) { foreach (Generator Lyap in Lyaps) { if (Lyap != null) { Lyap.Stop(); } } if (!parseArgs()) { return; } Generate(); }