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(); }
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(); }
private void ShowGazetteDialog(RoyalGazetteList data) { Invoke(new Action(() => RoyalGazetteViewer.ShowGazetteDialog(data, true))); }
private void GazetteNewsReady(RoyalGazetteList data) { Invoke(new Action(() => RoyalGazetteViewer.ShowGazetteNewsDialog(data))); }
private void btn_GazetteShow_Click(object sender, EventArgs e) { RoyalGazetteList lGazetteList = TambonHelper.GlobalGazetteList.AllAboutEntity(GetCurrentChangwat().Geocode, true); RoyalGazetteViewer.ShowGazetteDialog(lGazetteList, false); }