Exemplo n.º 1
0
 public Login()
 {
     InitializeComponent();
     FlowDirection         = (CyberMentor.Helper.AppSettings.LastUserGravity == "Arabic") ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
     EntryEmail.Completed += (Object sender, EventArgs e) =>
     {
         EntryPassword.Focus();
     };
     EntryPassword.Completed += (Object sender, EventArgs e) =>
     {
         Loginbtn.Focus();
     };
 }
Exemplo n.º 2
0
 public LoginPage()
 {
     InitializeComponent();
     OneSignal.Current.IdsAvailable(IdsAvailable);
     FlowDirection         = (WaselDriver.Helper.Settings.LastUserGravity == "Arabic") ? FlowDirection.RightToLeft : FlowDirection.LeftToRight;
     userService           = new UserServices();
     EntryPhone.Completed += (Object sender, EventArgs e) =>
     {
         EntryEmail.Focus();
     };
     EntryEmail.Completed += (Object sender, EventArgs e) =>
     {
         EntryPassword.Focus();
     };
     Settings.LastUsedEmail   = EntryEmail.Text;
     EntryPassword.Completed += (Object sender, EventArgs e) =>
     {
         Loginbtn.Focus();
     };
     Settings.LastUsedEmail = EntryEmail.Text;
 }