void ReleaseDesignerOutlets()
 {
     if (ErrorText != null)
     {
         ErrorText.Dispose();
         ErrorText = null;
     }
     if (LoginButton != null)
     {
         LoginButton.Dispose();
         LoginButton = null;
     }
     if (PasswordText != null)
     {
         PasswordText.Dispose();
         PasswordText = null;
     }
     if (SignupButton != null)
     {
         SignupButton.Dispose();
         SignupButton = null;
     }
     if (UsernameText != null)
     {
         UsernameText.Dispose();
         UsernameText = null;
     }
 }
Exemplo n.º 2
0
 void ReleaseDesignerOutlets()
 {
     if (Email != null)
     {
         Email.Dispose();
         Email = null;
     }
     if (ErrorText != null)
     {
         ErrorText.Dispose();
         ErrorText = null;
     }
     if (FirstNameChoice != null)
     {
         FirstNameChoice.Dispose();
         FirstNameChoice = null;
     }
     if (LastNameChoice != null)
     {
         LastNameChoice.Dispose();
         LastNameChoice = null;
     }
     if (PasswordChoice != null)
     {
         PasswordChoice.Dispose();
         PasswordChoice = null;
     }
     if (PasswordConfirm != null)
     {
         PasswordConfirm.Dispose();
         PasswordConfirm = null;
     }
     if (Signup != null)
     {
         Signup.Dispose();
         Signup = null;
     }
     if (UsernameChoice != null)
     {
         UsernameChoice.Dispose();
         UsernameChoice = null;
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (BoxView != null)
            {
                BoxView.Dispose();
                BoxView = null;
            }

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

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

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

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

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

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

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

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

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

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