public static void InitSysFun() { if (SysFunConfig.Read() != null) { } else { SysFunConfig.Save(); SysFunConfig.Config(); MessageBox.Show("系统功能参数读取失败", "Warn", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly); } }
private void chbIsLRUV_CheckedChanged(object sender, EventArgs e) { SysFunConfig.IsLRUV = chbIsLRUV.Checked; SysFunConfig.Config(); SysFunConfig.Save(); }
private void CbxLoadPatten_SelectedIndexChanged(object sender, EventArgs e) { SysFunConfig.LoadPatten = CbxLoadPatten.Text; SysFunConfig.Config(); SysFunConfig.Save(); }