private void button1_Click(object sender, EventArgs e) { ModuleConfig.SaveSettings(settings); }
public Setting_Form() { InitializeComponent(); settings = new ModuleSettings(); settings = ModuleConfig.GetSettings(); }
int _errsendnum; //发送错误的数据 public CSend_Model() { settings = ModuleConfig.GetSettings(); }
public string SaveSendTime() { settings.SendDatetime = System.DateTime.Now.ToString(); ModuleConfig.SaveSettings(settings); return(settings.Downloaddate); }
public CIncept_Model() { settings = ModuleConfig.GetSettings(); }