Exemplo n.º 1
0
 private void btnDates_Click(object sender, EventArgs e)
 {
     StatisticsAnnouncementDates lStatistics = new StatisticsAnnouncementDates((Int32)edtYearStart.Value, (Int32)edtYearEnd.Value);
     DoCalculate(lStatistics);
     if (lStatistics.StrangeAnnouncements.Count > 0)
     {
         Invoke(new Action(() => RoyalGazetteViewer.ShowGazetteDialog(lStatistics.StrangeAnnouncements,false)));
     }
 }
Exemplo n.º 2
0
        private void btnDates_Click(object sender, EventArgs e)
        {
            StatisticsAnnouncementDates statistics = new StatisticsAnnouncementDates((Int32)edtYearStart.Value, (Int32)edtYearEnd.Value);

            DoCalculate(statistics);
            if (statistics.StrangeAnnouncements.Any())
            {
                // Invoke(new Action(() => RoyalGazetteViewer.ShowGazetteDialog(statistics.StrangeAnnouncements, false)));
            }
        }