35 lines
820 B
C#
35 lines
820 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.ComponentModel;
|
|
|
|
namespace FLG0000
|
|
{
|
|
|
|
public class UserSetting : arUtil.Setting
|
|
{
|
|
public string lastType { get; set; }
|
|
public UserSetting(string file)
|
|
{
|
|
this.filename = file;
|
|
var fi = new System.IO.FileInfo(this.filename);
|
|
if (fi.Directory.Exists == false) fi.Directory.Create();
|
|
if (fi.Exists == false)
|
|
{
|
|
this.Load();
|
|
this.Save();
|
|
}
|
|
}
|
|
public override void AfterLoad()
|
|
{
|
|
if (lastType == "") lastType = "00";
|
|
}
|
|
public override void AfterSave()
|
|
{
|
|
//throw new NotImplementedException();
|
|
}
|
|
}
|
|
|
|
}
|