Пример #1
0
 private void PinControl_OnDoAction(object sender, UI.Controls.PinControlEvents e)
 {
     if (((UI.Controls.PinControlEvents.ACTIONS)e.action) == UI.Controls.PinControlEvents.ACTIONS.GO_NEXT_VIEW)
     {
         Persistence.Session.Instance.Pin = (string)e.pin;
         Navigation.PushAsync(new vStepsPinMatch());
     }
     ;
 }
Пример #2
0
        private void PinControl_OnDoAction(object sender, UI.Controls.PinControlEvents e)
        {
            UI.Controls.PinControlEvents.ACTIONS action = ((UI.Controls.PinControlEvents.ACTIONS)e.action);

            if (action == UI.Controls.PinControlEvents.ACTIONS.GO_NEXT_VIEW)
            {
                Navigation.PushAsync(new Suricato.Views.vMessage(
                                         AppResource.InicioConteudoFinal,
                                         true,
                                         UI.Controls.TopBar.ACTION_SUB_BAR_TYPE.STEPS,
                                         4,
                                         new Views.vMain(),
                                         AppResource.Iniciar));
            }
            else if (action == UI.Controls.PinControlEvents.ACTIONS.PINS_NOT_MATCH)
            {
                Navigation.PushPopupAsync(new PopUps.PopUpMessage(AppResource.InicioSenhaConfirmaTituloPopup, AppResource.InicioSenhaConfirmaNaoBatePopUp, AppResource.TextoBotaoGenericoFechar));
            }
            ;
        }