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)));
            }
        }
 internal static void ShowGazetteDialog(RoyalGazetteList iList, Boolean iFiltered, String iTitle)
 {
     var lDataForm = new RoyalGazetteViewer();
     lDataForm.Filtered = iFiltered;
     lDataForm.Data = iList;
     if ( !String.IsNullOrEmpty(iTitle) )
     {
         lDataForm.Text = iTitle;
     }
     lDataForm.Show();
 }
Beispiel #3
0
        internal static void ShowGazetteDialog(RoyalGazetteList iList, Boolean iFiltered, String iTitle)
        {
            var lDataForm = new RoyalGazetteViewer();

            lDataForm.Filtered = iFiltered;
            lDataForm.Data     = iList;
            if (!String.IsNullOrEmpty(iTitle))
            {
                lDataForm.Text = iTitle;
            }
            lDataForm.Show();
        }
Beispiel #4
0
 private void ShowGazetteDialog(RoyalGazetteList data)
 {
     Invoke(new Action(() => RoyalGazetteViewer.ShowGazetteDialog(data, true)));
 }
Beispiel #5
0
 private void GazetteNewsReady(RoyalGazetteList data)
 {
     Invoke(new Action(() => RoyalGazetteViewer.ShowGazetteNewsDialog(data)));
 }
Beispiel #6
0
        private void btn_GazetteShow_Click(object sender, EventArgs e)
        {
            RoyalGazetteList lGazetteList = TambonHelper.GlobalGazetteList.AllAboutEntity(GetCurrentChangwat().Geocode, true);

            RoyalGazetteViewer.ShowGazetteDialog(lGazetteList, false);
        }