自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(33)
  • 资源 (2)
  • 收藏
  • 关注

转载 sqlserver select的执行顺序

sqlserver select的执行顺序

2011-03-28 09:06:00 562

原创 sqlserver导出数据的insert语句

sqlserver导出数据的insert语句

2011-01-06 15:14:00 979 1

转载 Virtual PC 2004 完全手册(2)

<br />转自:http://www.hackervip.com/Article/HTML/19495.html <br />step3:虚拟机的相关设置 <br />我们建立完虚拟机后,接下来就是安装系统了。下面笔者将介绍一下安装系统前后的一些设置和需要注意的地方。 <br />双击便启动选中的虚拟机。一般安装虚拟机系统都是用ISO镜像文件进行安装的,所以我们在虚机的窗口中选择“CD”——“Capture ISO Image”来加载ISO镜像。如果要使用物理光驱,就选择“Use physical dri

2011-01-04 16:18:00 365

转载 Virtual PC 2004 完全手册(3) 转

转自:http://www.hackervip.com/Article/HTML/19496.htmlVirtual PC 2004 完全手册(3)2008-5-20 1:24:35 发表时间: 526 浏览次数: 本站原创 文章来源: 阿杰作者: <br /> <br /> <br />三、Virtual PC网络模式详解 <br />打开Virtual PC Console,从列表中选中一台虚拟机,单击右侧的Settings按钮,打开该虚拟机的图形界面设置窗口(我们还可以在虚拟机关机时,直接编辑

2011-01-04 16:17:00 393

转载 pdf水印

转自  http://blog.csdn.net/longren629/archive/2007/11/09/1875436.aspx  iTextSharp学习 收藏   简介和参考文章: iTextSharp是一款开源的PDF操作类库,使用它可以快速的创建PDF文件。中文参考网站:http://hardrock.cnblogs.com/ http://pdfhome.h

2009-08-17 11:14:00 903

转载 distinct datatable数据

DataTable d = dataSetName.dataTableName.DefaultView.ToTable(true, new string[] { "ColumnName" });

2009-08-10 16:53:00 218

原创 增加水印,在文档之下。

 private void button6_Click(object sender, EventArgs e)        {            DrawWatermark(null, "TEST", new Font("宋体", 64, FontStyle.Bold), new SolidBrush(Color.Black), 10, 10, 0.2);              

2009-07-30 16:07:00 272

转载 字符串截取

public static string Intercept(string input, int p)        {            Encoding encode = Encoding.GetEncoding("gb2312");            byte[] byteArr = encode.GetBytes(input);            if (byteArr.Len

2009-04-03 11:11:00 244

转载 网页内容抓取

using System;using System.Collections.Generic;using System.Text;using System.Net;using System.IO;namespace thief{class Program{static void Main(string[] args){try {WebClient MyWebClient = new WebC

2009-04-01 09:44:00 381

转载 从图像转换到byte[]数组的几种方法

// 性能最高,其数组和像素一一对应public static void test1(Image img)        {            Bitmap bmp = new Bitmap(img);            BitmapData bitmapData = bmp.LockBits(new Rectangle(new Point(0, 0), img.Size), ImageL

2009-03-31 16:03:00 605

转载 缩略图

 public Bitmap ToThumbnailImages(string sourceImagePath, string thumbnailImagePath, int thumbnailImageWidth)        {            //string SourceImagePath = sourceImagePath;            //string Thumbna

2009-02-05 17:17:00 316

原创 [转]使用C#进行图像处理的几种方法

[转]使用C#进行图像处理的几种方法 本文转自:http://conner-wang.spaces.live.com/blog/cns!568D1F7F9D97C059!488.entry 本文讨论了C#图像处理中Bitmap类、BitmapData类和unsafe代码的使用以及字节对齐问题。 Bitmap类 命名空间:System.Drawing 封装 GDI+ 位图,此位图由图形图像及其属

2009-01-13 11:09:00 1213

转载 文件的长路径如何转换为短路径(dos格式) 转自csdn

 using   System.Runtime.InteropServices;         定义:     [DllImport("kernel32.dll",   CharSet   =   CharSet.Auto)]     public   static   extern   int   GetShortPathName(     [MarshalAs(UnmanagedType.L

2008-10-24 17:08:00 3012

原创 压缩文件夹文件到一个压缩包里面

     public static bool ZipDirectory(string inputDirectpath, string outZipFilePath)        {            try            {                Crc32 crc = new Crc32();                FileStream fs1 = File.Cr

2008-10-20 11:25:00 633

原创 图片旋转及得到倾斜度(未加验证是否正确)

            int lHeight = bmpobj.Height;            int lWidth = bmpobj.Width;            int iRow, iCol;            int radius, angle, x, y;            double a;            int d;            d = Conv

2008-10-17 13:43:00 520

原创 加密解密 保存设置

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.IO;using System.Security.Cryp

2008-09-22 10:03:00 377

原创 自动更新 异步调用 显示进度条 只做记录

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Xml;using System.Net;using

2008-09-22 09:58:00 1041

原创 listview项增加processbar并操作 只供学习 mark、

ListViewItem lvi = new ListViewItem();            lvi.SubItems.Add("jsldkjaf");            lv_MainTask.Items.Add(lvi);            ProgressBar pb1 = new ProgressBar();            pb1.Name = "pb1";   

2008-09-03 15:29:00 490

原创 ftp上传,命令方式。限制:不同能透过代理

   #region FTPClient 上传文件类    public class FTPClient    {        #region 异步调用部分        //上传文件委托        public delegate string _UpFile(string _FilePath);        //上传文件完成后调用函数委托        public delegate

2008-09-03 14:47:00 1056

原创 自动更新

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Xml;using System.Net;using

2008-07-24 11:28:00 703

原创 对称加密解密

 #region 加密与解密       EncryptString(...)  DecryptTextFromMemory(...)        ///         /// 加密        ///         /// 需要加密的明文        /// key        /// iv        ///         public static string Encr

2008-07-24 11:01:00 814

原创 通过代理下载文件

//source 元文件地址  fileName 保存地址 private void DownloadFile(string source, string fileName)        {            try            {                //WebProxy _WP = new WebProxy(ProxyName, ProxyPort);      

2008-07-21 11:35:00 649

原创 txt文件操作 读取

 ///         /// 得到日志中所有文件 列表  采用utf8格式记录        ///         /// 日志文件名称        /// 文字说明        private Hashtable ExistsErrorile(string _LogName)        {            string locks = "";            Hasht

2008-07-16 17:45:00 340

转载 如何跨越线程调用窗体上的控件

用户不喜欢反应慢的程序。在执行耗时较长的操作时,使用多线程是明智之举,它可以提高程序 UI 的响应速度,使得一切运行显得更为快速。在 Windows 中进行多线程编程曾经是 C++ 开发人员的专属特权,但是现在,可以使用所有兼容 Microsoft .NET 的语言来编写。 不过Windows 窗体体系结构对线程使用制定了严格的规则。如果只是编写单线程应用程序,则没必要知道这些规则,这是因为单线程

2008-07-09 18:35:00 273

原创 上传导ftp目录中 核心上传类来自csdn下载

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;using Sy

2008-07-04 13:44:00 797

原创 gif加上水印文字(摘抄)

/* * Class:WaterImage * Use for add a water Image to the picture both words and image * By Gary Gong From Demetersoft.com | 和信诚软件(北京)有限公司 * 2007.07.23   create the file   *  *  * 使用说明: *  建议先定义一个Water

2008-07-02 09:17:00 839

转载 网上下载的 图片加上水印功能 只作为一个tag

/* * Class:WaterImage * Use for add a water Image to the picture both words and image * By Gary Gong From Demetersoft.com | 和信诚软件(北京)有限公司 * 2007.07.23   create the file   *  *  * 使用说明:

2008-06-30 15:31:00 435

原创 tif 等任意多帧图片转换bmp 或者gif等格式

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;using System.Xml;names

2008-06-27 10:19:00 2981

原创 arralist 排序 网上好多的不能用 参考msn写了一个 凑和着用

  class   unitComparer   :   System.Collections.IComparer     {        int   System.Collections.IComparer.Compare(object   obj1,object   obj2)      {    return( (new CaseInsensitiveComparer()).Compare

2007-09-21 18:36:00 385

原创 c#调用dos命令

using System;using System.Diagnostics;using System.Windows.Forms;namespace InstallAll{ ///  /// 安装 msde 程序 数据库 ///  class InstallAll {  ///   /// 应用程序的主入口点。  ///         [STAThread]        static void

2007-09-12 11:18:00 1368

原创 c#执行批处理文件

由于是拷贝的别人的东西,只做学习用。    private void button1_Click(object sender, EventArgs e)        {            openFileDialog1.Filter = "mp3 文件 (*.mp3)|*.mp3|bat 文件 (*.bat)|*.bat|所有文件 (*.*)|*.*";            openF

2007-09-10 11:46:00 1703

原创 Winform控件ListView改变行子项字体编辑

  ListViewItem lvi = new ListViewItem();                lvi.UseItemStyleForSubItems = false;                lvi.SubItems.Add(rptName);                lvi.SubItems.Add(instName);                lvi.S

2007-08-22 14:13:00 1680

原创 vs2005 menuStrip 2 级遍历

 private void init()        {            foreach (ToolStripItem item in menuStrip1.Items)            {                if (item is ToolStripMenuItem)                {                    //ToolStripDr

2007-04-10 23:06:00 766

Exchange 命令行管理程序快速参考

使用powershell命令管理exchange的命令分类参考手册。

2010-07-13

去图像黑边的资源vb6.0,

11111111111111111111111111111111

2009-02-10

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除