private async void ViewModel_SuccessEvent(object sender, System.EventArgs e) { ToolbarItems.Clear(); SuccessContent.TranslationY = Xamarin.Essentials.DeviceDisplay.MainDisplayInfo.Height / 2; await SuccessContent.TranslateTo(0, 0, 800, Easing.CubicIn); await SuccessLabel.FadeTo(1, 1000); }
void ReleaseDesignerOutlets() { if (Login != null) { Login.Dispose(); Login = null; } if (LoginActivityIndicator != null) { LoginActivityIndicator.Dispose(); LoginActivityIndicator = null; } if (Password != null) { Password.Dispose(); Password = null; } if (Server != null) { Server.Dispose(); Server = null; } if (SuccessLabel != null) { SuccessLabel.Dispose(); SuccessLabel = null; } if (Username != null) { Username.Dispose(); Username = null; } }