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

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

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

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

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

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

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

            if (PasswordBar != null)
            {
                PasswordBar.Dispose();
                PasswordBar = null;
            }
        }
コード例 #2
0
        void ReleaseDesignerOutlets()
        {
            if (LoginBackButton != null)
            {
                LoginBackButton.Dispose();
                LoginBackButton = null;
            }

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

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

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

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

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