|
@@ -779,7 +779,7 @@ namespace PDF_Master.ViewModels.PageEdit
|
|
if ((bool)dialog.ShowDialog())
|
|
if ((bool)dialog.ShowDialog())
|
|
{
|
|
{
|
|
//付费锁
|
|
//付费锁
|
|
- if (!ServiceHelper.IAPBeforeFunction(true))
|
|
|
|
|
|
+ if (!ServiceHelper.IAPBeforeFunction())
|
|
{
|
|
{
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -865,7 +865,7 @@ namespace PDF_Master.ViewModels.PageEdit
|
|
if (e.Result == ButtonResult.OK && e.Parameters != null)
|
|
if (e.Result == ButtonResult.OK && e.Parameters != null)
|
|
{
|
|
{
|
|
//付费锁
|
|
//付费锁
|
|
- if (!ServiceHelper.IAPBeforeFunction(true))
|
|
|
|
|
|
+ if (!ServiceHelper.IAPBeforeFunction())
|
|
{
|
|
{
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -905,7 +905,7 @@ namespace PDF_Master.ViewModels.PageEdit
|
|
if (e.Result == ButtonResult.OK && e.Parameters != null)
|
|
if (e.Result == ButtonResult.OK && e.Parameters != null)
|
|
{
|
|
{
|
|
//付费锁
|
|
//付费锁
|
|
- if (!ServiceHelper.IAPBeforeFunction(true))
|
|
|
|
|
|
+ if (!ServiceHelper.IAPBeforeFunction())
|
|
{
|
|
{
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -971,7 +971,7 @@ namespace PDF_Master.ViewModels.PageEdit
|
|
if ((string)type == ParameterNames.InsertType_Blank)
|
|
if ((string)type == ParameterNames.InsertType_Blank)
|
|
{
|
|
{
|
|
//付费锁
|
|
//付费锁
|
|
- if (!ServiceHelper.IAPBeforeFunction(true))
|
|
|
|
|
|
+ if (!ServiceHelper.IAPBeforeFunction())
|
|
{
|
|
{
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -1032,7 +1032,7 @@ namespace PDF_Master.ViewModels.PageEdit
|
|
if ((bool)dialog.ShowDialog())
|
|
if ((bool)dialog.ShowDialog())
|
|
{
|
|
{
|
|
//付费锁
|
|
//付费锁
|
|
- if (!ServiceHelper.IAPBeforeFunction(true))
|
|
|
|
|
|
+ if (!ServiceHelper.IAPBeforeFunction())
|
|
{
|
|
{
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -1079,7 +1079,7 @@ namespace PDF_Master.ViewModels.PageEdit
|
|
if (e.Result == ButtonResult.OK && e.Parameters != null)
|
|
if (e.Result == ButtonResult.OK && e.Parameters != null)
|
|
{
|
|
{
|
|
//付费锁
|
|
//付费锁
|
|
- if (!ServiceHelper.IAPBeforeFunction(true))
|
|
|
|
|
|
+ if (!ServiceHelper.IAPBeforeFunction())
|
|
{
|
|
{
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -1408,7 +1408,7 @@ namespace PDF_Master.ViewModels.PageEdit
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
//付费锁
|
|
//付费锁
|
|
- if (!ServiceHelper.IAPBeforeFunction(true))
|
|
|
|
|
|
+ if (!ServiceHelper.IAPBeforeFunction())
|
|
{
|
|
{
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -1950,7 +1950,7 @@ namespace PDF_Master.ViewModels.PageEdit
|
|
DataTrackingHelper.AddFirstAndSecondaryPath(DataTrackingHelper.FirstPath.Reading, DataTrackingHelper.SecondaryPath.Copy);
|
|
DataTrackingHelper.AddFirstAndSecondaryPath(DataTrackingHelper.FirstPath.Reading, DataTrackingHelper.SecondaryPath.Copy);
|
|
DataTrackingHelper.IsClearEntryPath = true;
|
|
DataTrackingHelper.IsClearEntryPath = true;
|
|
DataTrackingHelper.SendEvent(DataTrackingHelper.EventType.SubTbr_PageEdit, "SubTbr_Btn", "Btn_SubTbr_Copy");
|
|
DataTrackingHelper.SendEvent(DataTrackingHelper.EventType.SubTbr_PageEdit, "SubTbr_Btn", "Btn_SubTbr_Copy");
|
|
- if (!ServiceHelper.IAPBeforeFunction(true))
|
|
|
|
|
|
+ if (!ServiceHelper.IAPBeforeFunction())
|
|
{
|
|
{
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -2008,7 +2008,7 @@ namespace PDF_Master.ViewModels.PageEdit
|
|
/// </summary>
|
|
/// </summary>
|
|
private void Paste(int Index = -1)
|
|
private void Paste(int Index = -1)
|
|
{
|
|
{
|
|
- if (!ServiceHelper.IAPBeforeFunction(true))
|
|
|
|
|
|
+ if (!ServiceHelper.IAPBeforeFunction())
|
|
{
|
|
{
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -2326,7 +2326,7 @@ namespace PDF_Master.ViewModels.PageEdit
|
|
{
|
|
{
|
|
PageEditItem pageEditItem = null;
|
|
PageEditItem pageEditItem = null;
|
|
int index = -1;
|
|
int index = -1;
|
|
- if (!ServiceHelper.IAPBeforeFunction(true))
|
|
|
|
|
|
+ if (!ServiceHelper.IAPBeforeFunction())
|
|
{
|
|
{
|
|
return index;
|
|
return index;
|
|
}
|
|
}
|
|
@@ -3102,7 +3102,7 @@ namespace PDF_Master.ViewModels.PageEdit
|
|
/// <param name="rightRotate"></param>
|
|
/// <param name="rightRotate"></param>
|
|
private async void RotateSelectedPages(bool rightRotate = true, List<int> pageitems = null, bool isFromUndoRedo = false)
|
|
private async void RotateSelectedPages(bool rightRotate = true, List<int> pageitems = null, bool isFromUndoRedo = false)
|
|
{
|
|
{
|
|
- if (!ServiceHelper.IAPBeforeFunction(true))
|
|
|
|
|
|
+ if (!ServiceHelper.IAPBeforeFunction())
|
|
{
|
|
{
|
|
return;
|
|
return;
|
|
}
|
|
}
|