Esempio n. 1
0
        /// <summary>
        /// 
        /// </summary>
        public ObjVersion(string versionFilePath)
        {
            //設定の取得
            setting = new SharedPreferences(versionFilePath);

            getPreferenceData();
        }
Esempio n. 2
0
        public ObjSetting()
        {
            try
            {
                //設定の取得
                setting = new SharedPreferences(LpsPathControllerCus.getSettingFilePath());

                //読み込み
                getPreferenceData();

            }
            catch (System.Exception err)
            {
                //設定ファイルの読み込みエラーの旨、異常位置を知らせるウインドウを出すべき
                LpsLogControllerCus.writingLog(this.GetType().Name, MethodBase.GetCurrentMethod().Name, LpsPathControllerCus.getSettingFilePath() + "が存在しないため作成します" + Environment.NewLine + err);
            }
        }
Esempio n. 3
0
        public void loadDefault()
        {
            //設定データの削除
            LpsPathControllerCus.delteFile(LpsPathControllerCus.getSettingFilePath());

            //設定の取得
            setting = new SharedPreferences(LpsPathControllerCus.getSettingFilePath());

            //読み込み
            getPreferenceData();
        }