首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

C# winform 程序里如何用sideBar实现头像闪烁效果!最好发上源码!多谢!

2012-08-17 
C# winform 程序里怎么用sideBar实现头像闪烁效果!最好发下源码!谢谢!急!C# winform 程序里怎么用sideBar

C# winform 程序里怎么用sideBar实现头像闪烁效果!最好发下源码!谢谢!急!
C# winform 程序里怎么用sideBar实现头像闪烁效果!发下源码!谢谢!急!

[解决办法]
图片轮换可以的...我看的代码就是那样的,,

C# code
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace DynamicStockIcon{    public partial class DynamicStockIcon : Form    {        public DynamicStockIcon()        {            InitializeComponent();        }        #region 本程序声明的变量        public static bool flag=false ;        #endregion        private void flicker_Click(object sender,EventArgs e)        {            stocktimer.Enabled = true;        }        private void cease_Click(object sender,EventArgs e)        {            stocktimer.Enabled = false;            stockIcon.Icon = Properties.Resources._1;        }        private void stocktimer_Tick(object sender,EventArgs e)        {            if(flag == false)            {                stockIcon.Icon = Properties.Resources._1;                flag = true;            }            else            {                stockIcon.Icon = Properties.Resources._2;                flag = false;            }        }    }} 

热点排行