|
@@ -12,7 +12,47 @@ using static PDF_Master.Model.Dialog.ToolsDialogs.SaftyDialogs.DeleteSafetySetti
|
|
|
namespace PDF_Master.ViewModels.TipContent
|
|
|
{
|
|
|
public class FileRestrictedTipViewModel : BindableBase, INavigationAware
|
|
|
- {
|
|
|
+ {
|
|
|
+ #region 文案
|
|
|
+ private string T_restrictedTitle;
|
|
|
+ public string T_RestrictedTitle
|
|
|
+ {
|
|
|
+ get { return T_restrictedTitle; }
|
|
|
+ set
|
|
|
+ {
|
|
|
+ SetProperty(ref T_restrictedTitle, value);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ private string T_releaseRestrictedContent;
|
|
|
+ public string T_ReleaseRestrictedContent
|
|
|
+ {
|
|
|
+ get { return T_releaseRestrictedContent; }
|
|
|
+ set
|
|
|
+ {
|
|
|
+ SetProperty(ref T_releaseRestrictedContent, value);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ private string T_releaseRestricted;
|
|
|
+ public string T_ReleaseRestricted
|
|
|
+ {
|
|
|
+ get { return T_releaseRestricted; }
|
|
|
+ set
|
|
|
+ {
|
|
|
+ SetProperty(ref T_releaseRestricted, value);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private void IntString()
|
|
|
+ {
|
|
|
+ T_RestrictedTitle = App.MainPageLoader.GetString("TipContent_RestrictedTitle");
|
|
|
+ T_ReleaseRestrictedContent = App.MainPageLoader.GetString("TipContent_RestrictedContent");
|
|
|
+ T_ReleaseRestricted = App.MainPageLoader.GetString("TipContent_ReleaseRestricted");
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
+
|
|
|
public string unicode = null;
|
|
|
public IEventAggregator eventAggregator;
|
|
|
public IDialogService DialogService;
|
|
@@ -22,6 +62,7 @@ namespace PDF_Master.ViewModels.TipContent
|
|
|
public DelegateCommand RestrictCommand { get; set; }
|
|
|
public FileRestrictedTipViewModel(IEventAggregator eventAggregator, IDialogService dialogService)
|
|
|
{
|
|
|
+ IntString();
|
|
|
this.eventAggregator = eventAggregator;
|
|
|
this.DialogService = dialogService;
|
|
|
unicode = App.mainWindowViewModel.SelectedItem.Unicode;
|