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(); }; }
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; }