예제 #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)));
            }
        }
예제 #2
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();
 }
예제 #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();
        }
예제 #4
0
파일: Form1.cs 프로젝트: zenwalk/tambon
 private void ShowGazetteDialog(RoyalGazetteList data)
 {
     Invoke(new Action(() => RoyalGazetteViewer.ShowGazetteDialog(data, true)));
 }
예제 #5
0
파일: Form1.cs 프로젝트: zenwalk/tambon
 private void GazetteNewsReady(RoyalGazetteList data)
 {
     Invoke(new Action(() => RoyalGazetteViewer.ShowGazetteNewsDialog(data)));
 }
예제 #6
0
파일: Form1.cs 프로젝트: zenwalk/tambon
        private void btn_GazetteShow_Click(object sender, EventArgs e)
        {
            RoyalGazetteList lGazetteList = TambonHelper.GlobalGazetteList.AllAboutEntity(GetCurrentChangwat().Geocode, true);

            RoyalGazetteViewer.ShowGazetteDialog(lGazetteList, false);
        }