示例#1
0
        public static void  setLeavePath(string path)
        {
            // MessageBox.Show(s);
            UpdateAppConfig ua = new UpdateAppConfig();

            ua.updateAppConfig("LeavePath", path);
        }
示例#2
0
        public static void  setRecordPath(string path)
        {
            //  ConfigurationManager.AppSettings.Remove("RecordPath");
            // ConfigurationManager.AppSettings.Add("RecordPath", path);
            // ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None).Save(ConfigurationSaveMode.Modified);
            // ConfigurationManager.RefreshSection("appSettings");
            UpdateAppConfig ua = new UpdateAppConfig();

            ua.updateAppConfig("RecordPath", path);
        }