public void ReadXml()
 {
     if (File.Exists(FILE_NAME))
     {
         XmlSerializer serializer = new XmlSerializer(typeof(SettingsFields));
         TextReader    reader     = new StreamReader(FILE_NAME);
         fields = serializer.Deserialize(reader) as SettingsFields;
         reader.Close();
     }
     else
     {
         WriteXml();
     }
 }
 public Settings()
 {
     fields = new SettingsFields();
     ReadXml();
 }