Esempio n. 1
0
 private void close_form()
 {
     if (plotterForm != null)
     {
         plotterForm.Close();
         plotterForm = null;
     }
 }
Esempio n. 2
0
        private void plotToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (CurrentWockets._Controller != null)
                {
                    if (!plotToolStripMenuItem.Checked)
                    {
                        if ((plotterForm == null) || (!plotterForm.Visible))
                            plotterForm = new Form3();
                        if (!plotterForm.Visible)
                            plotterForm.Show();

                    }
                    else
                    {
                        plotterForm.Close();
                        plotterForm = null;
                    }
                }
        }