Esempio 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();
     }
 }
Esempio n. 2
0
 public Props()
 {
     Fields = new PropsFields();
 }