private void btn_PopulationAllProvinces_Click(object sender, EventArgs e) { Int32 year = Convert.ToInt32(edtYear.Value); PopulationDataEntry country = TambonHelper.GetCountryPopulationData(year); // CheckPopulationData(downloader); var dataForm = new PopulationByEntityTypeViewer(); dataForm.Country = country; dataForm.Show(); }