Exemplo n.º 1
0
 public void ReadXml()
 {
     if (File.Exists(Fields.XMLFileName))
     {
         XmlSerializer ser    = new XmlSerializer(typeof(PropsFields));
         TextReader    reader = new StreamReader(Fields.XMLFileName);
         Fields = ser.Deserialize(reader) as PropsFields;
         reader.Close();
     }
 }
Exemplo n.º 2
0
 public Props()
 {
     Fields = new PropsFields();
 }