Example #1
0
        private void RecalculateResultsToolStripMenuItemOnClick(object sender, EventArgs e)
        {
            var f = Program.FindOpenForm <RecalculateResultsForm>();

            if (f == null)
            {
                f = new RecalculateResultsForm(Workspace);
                f.Show(this);
            }
            else
            {
                RestoreAndActivate(f);
            }
        }
Example #2
0
 private void RecalculateResultsToolStripMenuItemOnClick(object sender, EventArgs e)
 {
     var f = Program.FindOpenForm<RecalculateResultsForm>();
     if (f == null)
     {
         f = new RecalculateResultsForm(Workspace);
         f.Show(this);
     }
     else
     {
         RestoreAndActivate(f);
     }
 }