コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (CreateNewAccountLabel != null)
            {
                CreateNewAccountLabel.Dispose();
                CreateNewAccountLabel = null;
            }

            if (EmailAddressInput != null)
            {
                EmailAddressInput.Dispose();
                EmailAddressInput = null;
            }

            if (LoginButton != null)
            {
                LoginButton.Dispose();
                LoginButton = null;
            }

            if (PasswordInput != null)
            {
                PasswordInput.Dispose();
                PasswordInput = null;
            }
        }
コード例 #2
0
        private void ConfigureGestureRecognisers()
        {
            var tapGesture = new UITapGestureRecognizer(NavigateToCreateAccount);

            CreateNewAccountLabel.AddGestureRecognizer(tapGesture);
        }