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)); }
private void FileVirtual_OnClick(object sender, RoutedEventArgs e) { FileVirtualFrame.Navigate(typeof(FileVirtualPage), OnNotAccount); }
private void Account_OnClick(object sender, RoutedEventArgs e) { FileVirtualFrame.Navigate(typeof(AccountPage), OnAccountConfim); }