您的位置:首页 > 其它

简单的消息提示

2016-03-21 10:44 190 查看
   //时间控件事件

    protected
void Timer1_Tick(object sender, EventArgs e)

    {

       
if (Label4.Text != "0")//如果有消息执行显示

       
{

           
if (num % 2 == 1)

           
{

               
Image2.Visible = false;

           
}

           
else if (num % 2 == 0)

           
{

               
Image2.ImageUrl = "~/img/hava.jpg";

               
Image2.Visible = true;

           
}

           
num++;

       


//不过状态栏里老是有提示——下载图片。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: