- 博客(33)
- 资源 (2)
- 收藏
- 关注
转载 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
400
转载 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
437
转载 pdf水印
转自 http://blog.youkuaiyun.com/longren629/archive/2007/11/09/1875436.aspx iTextSharp学习 收藏 简介和参考文章: iTextSharp是一款开源的PDF操作类库,使用它可以快速的创建PDF文件。中文参考网站:http://hardrock.cnblogs.com/ http://pdfhome.h
2009-08-17 11:14:00
933
转载 distinct datatable数据
DataTable d = dataSetName.dataTableName.DefaultView.ToTable(true, new string[] { "ColumnName" });
2009-08-10 16:53:00
253
原创 增加水印,在文档之下。
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
298
转载 字符串截取
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
274
转载 网页内容抓取
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
413
转载 从图像转换到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
665
转载 缩略图
public Bitmap ToThumbnailImages(string sourceImagePath, string thumbnailImagePath, int thumbnailImageWidth) { //string SourceImagePath = sourceImagePath; //string Thumbna
2009-02-05 17:17:00
345
原创 [转]使用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
1256
转载 文件的长路径如何转换为短路径(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
3057
原创 压缩文件夹文件到一个压缩包里面
public static bool ZipDirectory(string inputDirectpath, string outZipFilePath) { try { Crc32 crc = new Crc32(); FileStream fs1 = File.Cr
2008-10-20 11:25:00
680
原创 图片旋转及得到倾斜度(未加验证是否正确)
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
556
原创 加密解密 保存设置
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
402
原创 自动更新 异步调用 显示进度条 只做记录
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
1076
原创 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
522
原创 ftp上传,命令方式。限制:不同能透过代理
#region FTPClient 上传文件类 public class FTPClient { #region 异步调用部分 //上传文件委托 public delegate string _UpFile(string _FilePath); //上传文件完成后调用函数委托 public delegate
2008-09-03 14:47:00
1083
原创 自动更新
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
719
原创 对称加密解密
#region 加密与解密 EncryptString(...) DecryptTextFromMemory(...) /// /// 加密 /// /// 需要加密的明文 /// key /// iv /// public static string Encr
2008-07-24 11:01:00
857
原创 通过代理下载文件
//source 元文件地址 fileName 保存地址 private void DownloadFile(string source, string fileName) { try { //WebProxy _WP = new WebProxy(ProxyName, ProxyPort);
2008-07-21 11:35:00
696
原创 txt文件操作 读取
/// /// 得到日志中所有文件 列表 采用utf8格式记录 /// /// 日志文件名称 /// 文字说明 private Hashtable ExistsErrorile(string _LogName) { string locks = ""; Hasht
2008-07-16 17:45:00
369
转载 如何跨越线程调用窗体上的控件
用户不喜欢反应慢的程序。在执行耗时较长的操作时,使用多线程是明智之举,它可以提高程序 UI 的响应速度,使得一切运行显得更为快速。在 Windows 中进行多线程编程曾经是 C++ 开发人员的专属特权,但是现在,可以使用所有兼容 Microsoft .NET 的语言来编写。 不过Windows 窗体体系结构对线程使用制定了严格的规则。如果只是编写单线程应用程序,则没必要知道这些规则,这是因为单线程
2008-07-09 18:35:00
286
原创 上传导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
815
原创 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
857
转载 网上下载的 图片加上水印功能 只作为一个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
449
原创 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
3062
原创 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
401
原创 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
1427
原创 c#执行批处理文件
由于是拷贝的别人的东西,只做学习用。 private void button1_Click(object sender, EventArgs e) { openFileDialog1.Filter = "mp3 文件 (*.mp3)|*.mp3|bat 文件 (*.bat)|*.bat|所有文件 (*.*)|*.*"; openF
2007-09-10 11:46:00
1748
原创 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
1734
原创 vs2005 menuStrip 2 级遍历
private void init() { foreach (ToolStripItem item in menuStrip1.Items) { if (item is ToolStripMenuItem) { //ToolStripDr
2007-04-10 23:06:00
783
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人