闪烁的申请表格,无需定时器控制,C#源代码[DLLIMPORT(“USER32”)]公共静态外部BOOL FlashWindow(IntPtr的HWND,布尔值bInvert);.rar
下载地址:
下载地址1资源简介:
闪烁应用程序窗体,不用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创建
飞网下载站,免费下载共享资料,内容涉及教育资源、专业资料、IT资源、娱乐生活、经济管理、办公文书、游戏资料等。
相关资源:
设置申请表的背景图片,C#源代码的OpenFileDialog MyDlg =新的OpenFileDialog();.rar
添加图片,界面美观,C#源代码私有布尔MyShow以不同的形式显示的透明度;.rar
设置申请表的背景颜色,C#源代码MyDlg的ColorDialog新的ColorDialog();.rar
删除应用程序的标题栏,C#源代码this.FormBorderStyle = FormBorderStyle.None;.rar
设置窗体渐变背景图像,C#源代码矩形MyRect中= this.ClientRectangle;.rar
设置窗口的位置在桌面上的实例,C#源代码this.DesktopLocation =新的点(50,100);.rar
用C#绘制自定义虚线,C#源代码浮法[] dashValues的= {5,2,15,4};.rar
系统获得的驱动器列表,C#源代码DLLIMPORT(“SHELL32”)].rar
调用和关闭指定的程序,C#源代码,System.Diagnostics.Process.Start(“notepad.exe的”);.rar
调用和关闭指定的程序,C#源代码,System.Diagnostics.Process.Start(“notepad.exe的”);.rar