Пример #1
0
        public void ReadSetting()
        {
            if (!File.Exists(fileName))
            {
                return;
            }

             object o    = SerializableOperate.ObjectUnSerializable(fileName);

            if(o != null)
            {
                _setting = (SettingClass)o;
            }
        }
Пример #2
0
 public void WriteSetting(SettingClass obj)
 {
     SerializableOperate.ObjectSerializable(obj, fileName);
 }