2012年4月5日
摘要: Default.aspx页面:<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication6._Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-trans 阅读全文
posted @ 2012-04-05 17:55 jameshappy 阅读(199) 评论(0) 推荐(0) 编辑
摘要: #region 压缩 public static void RARsave(string patch, string rarPatch, string rarName) { String the_rar; RegistryKey the_Reg; Object the_Obj; String the_Info; ProcessStartInfo the_StartInfo; Process the_Process; try { the_Reg = Registry.ClassesRoot.OpenSubKey(@"Applications\WinRAR.exe\Shell\Open\ 阅读全文
posted @ 2012-04-05 17:26 jameshappy 阅读(684) 评论(0) 推荐(0) 编辑
摘要: using System.IO;using System.Drawing.Imaging;using System.Drawing;using System.Collections;/// <summary> /// 生成缩略图 /// </summary> /// <param name="Width">缩略图的宽度</param> /// <param name="Height">缩略图的高度</param> /// <param name="targetFile 阅读全文
posted @ 2012-04-05 17:13 jameshappy 阅读(184) 评论(0) 推荐(0) 编辑