Example #1
0
 private void LoadXMLMunicipios()
 {
     System.Xml.Serialization.XmlSerializer reader = new System.Xml.Serialization.XmlSerializer(typeof(Brasil));
     System.IO.StreamReader file = new System.IO.StreamReader(@"MunicipioBR.xml");
     brasil = (Brasil)reader.Deserialize(file);
     file.Close();
 }
Example #2
0
        public Cep2IBGE()
        {
            brasil = new Brasil();

            LoadXMLMunicipios();
        }