懒人源码

轻抚楼主菊花,笑而不语

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

代码下载:http://download.csdn.net/source/2508693

Msg namespace 弹出消息框

 

代码
using System;
using Lazy.Msg;

public partial class LazyMsg : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button1_Click(object sender, EventArgs e)
{
lazyMessage.Show(
this.Page, "hello");

}
protected void Button2_Click(object sender, EventArgs e)
{
lazyMessage.Show(
"点击确定后跳转的页面", "LazyMsg.aspx");
}
protected void Button3_Click(object sender, EventArgs e)
{
lazyMessage.Show(
"关闭当前页面", true);
}
protected void Button4_Click(object sender, EventArgs e)
{
lazyMessage.GotoParentWindow(
"LazyMsg.aspx");
}
protected void Button5_Click(object sender, EventArgs e)
{
lazyMessage.OpenWebForm(
"LazyMsg.aspx");
}
protected void Button6_Click(object sender, EventArgs e)
{
lazyMessage.OpenWebForm(
"LazyMsg.aspx","lazycode","xxxxx");
}
protected void Button7_Click(object sender, EventArgs e)
{
lazyMessage.OpenWebForm(
"LazyMsg.aspx", true);
}
protected void Button8_Click(object sender, EventArgs e)
{
lazyMessage.CloseWindow();
}
}

 

posted on 2010-07-02 13:50  lazyCode  阅读(253)  评论(0编辑  收藏  举报