Exemplo n.º 1
0
        private void btnThesaban_Click(object sender, EventArgs e)
        {
            Int32 lGeocode = GetCurrentChangwat().Geocode;
            ConstituencyChecker lChecker = new ConstituencyChecker(lGeocode);
            String lResult = String.Empty;

            foreach (PopulationDataEntry lEntry in lChecker.ThesabanWithoutConstituencies())
            {
                lResult = lResult + lEntry.Geocode.ToString() + " " + lEntry.English + Environment.NewLine;
            }
            var lForm = new StringDisplayForm("Thesaban without constituency announcement", lResult);

            lForm.Show();
        }
Exemplo n.º 2
0
 private void btnThesaban_Click(object sender, EventArgs e)
 {
     Int32 lGeocode = GetCurrentChangwat().Geocode;
     ConstituencyChecker lChecker = new ConstituencyChecker(lGeocode);
     String lResult = String.Empty;
     foreach ( PopulationDataEntry lEntry in lChecker.ThesabanWithoutConstituencies() )
     {
         lResult = lResult + lEntry.Geocode.ToString() + " " + lEntry.English + Environment.NewLine;
     }
     var lForm = new StringDisplayForm("Thesaban without constituency announcement", lResult);
     lForm.Show();
 }