Пример #1
0
        public MfilesVaultListViewModel(EnterpriseCloudViewModel parent)
        {
            _parent = parent;

            DisplayName = "总揽";

            VaultSelectionChangedCmd = new DelegateCommand <ExCommandParameter>(VaultSelectionChanged);
            VaultMouseDoubleClickCmd = new DelegateCommand <ExCommandParameter>(VaultMouseDoubleClick);
        }
Пример #2
0
 public MfilesVaultViewModel(EnterpriseCloudViewModel parent, MfVaultConnection connection)
 {
     _parent       = parent;
     _mfConnection = connection;
     DisplayName   = connection.Name;
     _goback       = new RelayCommand(_ =>
     {
         if (BrowserView != null)
         {
             BrowserView.GoBack();
         }
     });
     _goforward = new RelayCommand(_ =>
     {
         if (BrowserView != null)
         {
             BrowserView.GoForward();
         }
     });
     _searchCmd = new RelayCommand(_ => SearchOp());
 }