string UserID = MyWeb.Web.ReadCookie(this, "", "UserID");
        if (UserID == "")
        {
            this.Visible = false;
            MyWeb.Msg.Show(this, "请先登录");
            return;
        }
上面的就我的代码,不能弹出,显示空白页面。