杯具程序员
为系统而生,为框架而死,为debug奋斗一辈子;
     吃符号的亏,上大小写的当,最后死在需求上。
摘要: using System.Runtime.InteropServices;--------------------------[DllImport("user32.dll")]public static extern bool FlashWindow(IntPtr hWnd, // handle to windowbool bInvert // flash status);----------------------------------FlashWindow(handle,true);//闪烁 阅读全文
posted @ 2011-08-05 18:02 杯具程序员 阅读(2697) 评论(0) 推荐(1) 编辑
摘要: 用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 阅读全文
posted @ 2011-08-05 18:00 杯具程序员 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 一、增加一个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()); 阅读全文
posted @ 2011-08-05 17:58 杯具程序员 阅读(409) 评论(0) 推荐(0) 编辑
摘要: http://u.115.com/file/dn6vi4mt# Web项目打包过程.docx 这个是我自己写的 阅读全文
posted @ 2011-08-05 11:25 杯具程序员 阅读(1812) 评论(1) 推荐(2) 编辑