void credentialMgr_UserPinEvent(object sender, PinEventArguments e) { if (e.State == Common.UserPinState.PinNotSet) { CredentialSettingsFlyout sf = new CredentialSettingsFlyout(item, credsResourceUrl); sf.ShowIndependent(); } }
private void credentialMgr_UserPinEvent(object sender, PinEventArguments e) { if (e.State == Common.UserPinState.PinNotSet) { //open pin setup popup this.CreatePin.Visibility = Windows.UI.Xaml.Visibility.Visible; this.CredentialPanel.Visibility = Windows.UI.Xaml.Visibility.Collapsed; } else if (e.State == Common.UserPinState.PinSet) { this.VerifyPinPopUP.Visibility = Windows.UI.Xaml.Visibility.Visible; } }