Example #1
0
        public MainPage()
        {
            this.InitializeComponent();

            ////debug
            //Account.AccountVirtual = new Account()
            //{
            //    Name = "root",
            //    Key = "root"
            //};
            //Account.AccountVirtual.Confirm();
            ////end

            OnAccountConfim = () =>
            {
                FileVirtual_OnClick(this, null);
            };

            OnNotAccount = () =>
            {
                Account_OnClick(this, null);
            };

            FileVirtualFrame.Navigate(typeof(EncryptionFolderPage));
        }
Example #2
0
 private void FileVirtual_OnClick(object sender, RoutedEventArgs e)
 {
     FileVirtualFrame.Navigate(typeof(FileVirtualPage), OnNotAccount);
 }
Example #3
0
 private void Account_OnClick(object sender, RoutedEventArgs e)
 {
     FileVirtualFrame.Navigate(typeof(AccountPage), OnAccountConfim);
 }