【文件属性】:
文件名称:闪烁应用程序窗体,不用timer控件,C#源代码[DllImport("User32")] public static extern bool FlashWindow(IntPtr hWnd, bool bInvert); try
文件大小:35KB
文件格式:RAR
更新时间:2012-02-11 08:52:41
闪烁应用程序窗体,不用timer控件,C#源代码[DllImport("User32")] public static extern bool
闪烁应用程序窗体,不用timer控件,C#源代码[DllImport("User32")] public static extern bool FlashWindow(IntPtr hWnd, bool bInvert); try
{
int MyTimes = 50;
int MyTime = 50;
for (int MyCount = 0; MyCount < MyTimes; MyCount++)
{
FlashWindow(this.Handle, true);
System.Threading.Thread.Sleep(MyTime);
}
}
catch (Exception MyEx)
{
System.Windows.Forms.MessageBox.Show(MyEx.Message, "信息提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
VisualStudio2008创建
【文件预览】:
coruscate
----coruscate.suo(13KB)
----readme.txt(747B)
----coruscate()
--------coruscate.csproj(4KB)
--------Form1.cs(1KB)
--------bin()
--------obj()
--------Properties()
--------Program.cs(490B)
--------Form1.Designer.cs(2KB)
--------Form1.resx(6KB)
----coruscate.sln(917B)
网友评论
- 动态链接库不是很熟悉,学习啦!!
- 还行? 我想在网页下实现扣扣信息查看时的那种高亮效果
- 不是很好用啊,没有自己想要的效果