摘要:
using System.Runtime.InteropServices;--------------------------[DllImport("user32.dll")]public static extern bool FlashWindow(IntPtr hWnd, // handle to windowbool bInvert // flash status);----------------------------------FlashWindow(handle,true);//闪烁 阅读全文
摘要:
用C#实现生成PDF文档(原码) //write by wenhui.orgusing System;using System.IO;using System.Text;using System.Collections;namespace PDFGenerator{public class PDFGenerator{static float pageWidth = 594.0f;static float pageDepth = 828.0f;static float pageMargin = 30.0f;static float fontSize = 20.0f;static float le 阅读全文
摘要:
一、增加一个WinForm为SplashScreen,设置其Formborderstyle:None二、增加引用using System.Threading;三、在Form1的static void Main() 中增加入下代码:SplashScreen splashForm = new SplashScreen(); //飞屏splashForm.Show();Application.DoEvents();//让系统在百忙中抽空刷新飞屏控件显示Thread.Sleep(2000);//暂停splashForm.Close();Application.Run(new Form1()); 阅读全文
摘要:
http://u.115.com/file/dn6vi4mt# Web项目打包过程.docx 这个是我自己写的 阅读全文