void ReleaseDesignerOutlets() { if (NewAccountButton != null) { NewAccountButton.Dispose(); NewAccountButton = null; } if (PasswordTextField != null) { PasswordTextField.Dispose(); PasswordTextField = null; } if (SigninButton != null) { SigninButton.Dispose(); SigninButton = null; } if (UsernameTextField != null) { UsernameTextField.Dispose(); UsernameTextField = null; } }
protected override async void OnAppearing() { base.OnAppearing(); NavigationPage.SetHasNavigationBar(this, false); // pause for a moment before animations await Task.Delay(App.AnimationSpeedFast); // Sequentially animate the login buttons. ScaleTo() makes them "grow" from a singularity to the full button size. await SignInButton.ScaleTo(1, (uint)App.AnimationSpeedSlow, Easing.BounceIn); await NewAccountButton.ScaleTo(1, (uint)App.AnimationSpeedSlow, Easing.Linear); }
void ReleaseDesignerOutlets() { if (SearchField != null) { SearchField.Dispose(); SearchField = null; } if (accountField != null) { accountField.Dispose(); accountField = null; } if (NewAccountButton != null) { NewAccountButton.Dispose(); NewAccountButton = null; } if (passwordField != null) { passwordField.Dispose(); passwordField = null; } if (recordTable != null) { recordTable.Dispose(); recordTable = null; } if (SearchButton != null) { SearchButton.Dispose(); SearchButton = null; } if (websiteField != null) { websiteField.Dispose(); websiteField = null; } if (CancelSearch != null) { CancelSearch.Dispose(); CancelSearch = null; } }