コード例 #1
0
ファイル: AppSettings40.cs プロジェクト: morbius1st/PDFMerge1
            // initialize and create the setting objects
            static MachSettings()
            {
                Admin = new SettingsMgr <MachSettingInfo40>(ResetData);
                Info  = Admin.Info;
                Data  = Info.Data;

                Info.Configure();
            }
コード例 #2
0
ファイル: AppSettings40.cs プロジェクト: morbius1st/PDFMerge1
            public static void ResetData()
            {
                if (Admin == null)
                {
                    return;
                }
                // this makes sure the above static class points
                // to the current data structure
                Info = Admin.Info;
                Data = Info.Data;

                Info.Configure();
            }