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;
            }
        }
Example #2
0
        void ReleaseDesignerOutlets()
        {
            if (ButtonConfirm != null)
            {
                ButtonConfirm.Dispose();
                ButtonConfirm = null;
            }

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

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

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

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