Пример #1
0
        void ReleaseDesignerOutlets()
        {
            if (ButtonLogin != null)
            {
                ButtonLogin.Dispose();
                ButtonLogin = null;
            }

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

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

            if (txtUsuarioLogin != null)
            {
                txtUsuarioLogin.Dispose();
                txtUsuarioLogin = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (ButtonLogin != null)
            {
                ButtonLogin.Dispose();
                ButtonLogin = null;
            }

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

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

            if (TextFieldUsername != null)
            {
                TextFieldUsername.Dispose();
                TextFieldUsername = null;
            }
        }
Пример #3
0
        void ReleaseDesignerOutlets()
        {
            if (LabelLoginInfo != null)
            {
                LabelLoginInfo.Dispose();
                LabelLoginInfo = null;
            }

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

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

            if (LabelLoggingIn != null)
            {
                LabelLoggingIn.Dispose();
                LabelLoggingIn = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (ButtonLogin != null)
            {
                ButtonLogin.Dispose();
                ButtonLogin = null;
            }

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

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

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

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

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

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

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