public void ReadXML() { if (CheckXML()) { XmlSerializer ser = new XmlSerializer(typeof(XMLPropsFields)); TextReader reader = new StreamReader(Fields.XMLPropsFileName); Fields = ser.Deserialize(reader) as XMLPropsFields; reader.Close(); } }
public Props() { Fields = new XMLPropsFields(); }