123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- using PDF_Master.DataConvert;
- using Prism.Commands;
- using Prism.Mvvm;
- using Prism.Regions;
- using Prism.Services.Dialogs;
- using System;
- using System.Collections.Generic;
- using System.Diagnostics;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Data;
- namespace PDF_Master.ViewModels.Dialog.ServiceDialog
- {
- public class IAPCompareDialogViewModel : BindableBase,IDialogAware
- {
-
-
- public string Title => "";
- public event Action<IDialogResult> RequestClose;
- #region 文案
- #endregion
- private string _Text_Signup = "";
- public string Text_Signup
- {
- get { return _Text_Signup; }
- set
- {
- SetProperty(ref _Text_Signup, value);
- }
- }
- private string _uristore = "https://www.pdfreaderpro.com/windows/store/permanent";
- public string Uristore
- {
- get { return _uristore; }
- set
- {
- SetProperty(ref _uristore, value);
- }
- }
- public DelegateCommand LinkstoreCommand { get; set; }
-
- private void InitString()
- {
- //Text_Signup = App.ServiceLoader.GetString("Text_Signup");
- LinkstoreCommand = new DelegateCommand(Linkstore);
- }
- private void Linkstore()
- {
- Process.Start(new ProcessStartInfo(Uristore));
- }
- public bool CanCloseDialog()
- {
- return true;
- }
- public void OnDialogClosed()
- {
-
- }
- public void OnDialogOpened(IDialogParameters parameters)
- {
-
- }
- public DelegateCommand GoLoginCommand { get; set; }
- public IAPCompareDialogViewModel(IRegionManager regionManager, IDialogService dialogService)
- {
-
- //GoLoginCommand = new DelegateCommand(GoLogin);
- InitString();
- }
- }
- }
|