Exemple #1
0
        private void showValues_Click(Object sender, EventArgs e)
        {
            List <Guid>          researchesToShow = GetSelectedResearchesIds();
            List <AnalyzeOption> optionsToShow    = GetCheckedOptions(globalOptionsPanel);

            if (researchesToShow.Count() == 0 || optionsToShow.Count() == 0)
            {
                MessageBox.Show("There are no selected researches or checked options.", "Information");
                return;
            }
            GlobalOptionsWindow w = new GlobalOptionsWindow(researchesToShow, optionsToShow);

            w.Show();
        }
 private void showValues_Click(object sender, EventArgs e)
 {
     List<Guid> researchesToShow = GetSelectedResearchesIds();
     List<AnalyzeOption> optionsToShow = GetCheckedOptions(globalOptionsPanel);
     if (researchesToShow.Count() == 0 || optionsToShow.Count() == 0)
     {
         MessageBox.Show("There are no selected researches or checked options.", "Information");
         return;
     }
     GlobalOptionsWindow w = new GlobalOptionsWindow(researchesToShow, optionsToShow);
     w.Show();
 }