async void mainsignin_Tapped(object sender, EventArgs e) { layoutEmail.IsVisible = false; buttonSign.IsVisible = true; buttonSignUp.IsVisible = false; mainSignIn.FontAttributes = FontAttributes.Bold; mainSignUp.FontAttributes = FontAttributes.None; await Task.WhenAll(mainBox.TranslateTo(0, 0, 120, Easing.SinOut), confirmPassword.TranslateTo(0, mainGrid.Height, 500, Easing.SinOut), layoutEmail.TranslateTo(0, mainGrid.Height, 500, Easing.SinOut), Social.TranslateTo(0, -confirmPassword.Height - 15, 500, Easing.SinOut), Social.FadeTo(1, 500)); EmptyEntry(); this.Title = "Вхід"; buttonSignUp.IsVisible = false; buttonSign.IsVisible = true; }
async void mainsignup_Tapped(object sender, EventArgs e) { buttonSign.IsVisible = false; buttonSignUp.IsVisible = true; confirmPassword.IsVisible = true; layoutEmail.IsVisible = true; mainSignUp.FontAttributes = FontAttributes.Bold; mainSignIn.FontAttributes = FontAttributes.None; await Task.WhenAll(mainBox.TranslateTo(mainBox.Width, 0, 120, Easing.SinOut), confirmPassword.TranslateTo(0, 0, 500, Easing.SinOut), layoutEmail.TranslateTo(0, 0, 500, Easing.SinOut), Social.TranslateTo(0, 0, 500, Easing.SinOut), Social.FadeTo(0, 100)); EmptyEntry(); this.Title = "Реєстрація"; buttonSignUp.IsVisible = true; buttonSign.IsVisible = false; }