string UserID = MyWeb.Web.ReadCookie(this, "", "UserID");
if (UserID == "")
{
this.Visible = false;
MyWeb.Msg.Show(this, "请先登录");
return;
}
上面的就我的代码,不能弹出,显示空白页面。
if (UserID == "")
{
this.Visible = false;
MyWeb.Msg.Show(this, "请先登录");
return;
}
上面的就我的代码,不能弹出,显示空白页面。
MyWeb.Msg.Show(this.page, "请先登录");
,设个断点,MyWeb.Msg.Show(this, "请先登录");看这句是怎么执行的