public void ReadSetting() { if (!File.Exists(fileName)) { return; } object o = SerializableOperate.ObjectUnSerializable(fileName); if(o != null) { _setting = (SettingClass)o; } }
public void WriteSetting(SettingClass obj) { SerializableOperate.ObjectSerializable(obj, fileName); }