Пример #1
0
 public void ReadXml()
 {
     if (File.Exists(XMLFileName))
     {
         XmlSerializer ser    = new XmlSerializer(typeof(PropsFields));
         TextReader    reader = new StreamReader(XMLFileName);
         Fields = ser.Deserialize(reader) as PropsFields;
         reader.Close();
     }
 }
Пример #2
0
 public Props()
 {
     Fields = new PropsFields();
 }