|
@@ -284,8 +284,17 @@ namespace PDF_Master.Helper
|
|
|
//删掉 Settings.Default.UserDate.isInFreeUseTime == false,没有试用期了;
|
|
|
if (!App.IsLogin)
|
|
|
{
|
|
|
- App.mainWindowViewModel.dialogs.ShowDialog(DialogNames.IAPCompareDialog);
|
|
|
- return false;
|
|
|
+ if(Settings.Default.UserDate.Email=="")
|
|
|
+ {
|
|
|
+ App.mainWindowViewModel.OpenRegister();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ App.mainWindowViewModel.OpenLogin();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
return true;
|
|
|
}
|