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