Exemplo n.º 1
0
        private void showGraphics_Click(Object sender, EventArgs e)
        {
            List <Guid>          researchesToShow = GetSelectedResearchesIds();
            List <AnalyzeOption> optionsToShow    = GetCheckedOptions(distributedOptionsPanel);

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

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