|
@@ -59,9 +59,9 @@ namespace PDF_Office
|
|
|
#endif
|
|
|
LicenseVerify();
|
|
|
|
|
|
+ InitSettings();
|
|
|
+
|
|
|
|
|
|
- if (Settings.Default.RecentOpenFiles == null)
|
|
|
- Settings.Default.RecentOpenFiles = new RecentOpenFiles();
|
|
|
|
|
|
try
|
|
|
{
|
|
@@ -79,6 +79,15 @@ namespace PDF_Office
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ private void InitSettings()
|
|
|
+ {
|
|
|
+ if (Settings.Default.RecentOpenFiles == null)
|
|
|
+ Settings.Default.RecentOpenFiles = new RecentOpenFiles();
|
|
|
+
|
|
|
+ if (Settings.Default.AppProperties == null)
|
|
|
+ Settings.Default.AppProperties = new PDFSettings.APPSettingProperties();
|
|
|
+ }
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 创建启动窗口
|
|
|
/// </summary>
|