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(); } }
public Props() { Fields = new PropsFields(); }