Exemplo n.º 1
0
 /// <summary>
 /// SaveSettings
 /// </summary>
 void SaveSettings(string fileName)
 {
     XMLSerialize XMLS = new XMLSerialize(SelectedSocketConfiguration, fileName);
     XMLS.Save();
 }
Exemplo n.º 2
0
 /// <summary>
 /// LoadSettings
 /// </summary>
 void LoadSettings(string fileName)
 {
     XMLSerialize XMLS = new XMLSerialize(fileName);
     XMLS.Load(ref SelectedSocketConfiguration);
     if (SelectedSocketConfiguration == null)
         DefaultSettings();
 }