2010年11月26日
摘要: p.StartInfo.FileName = "cmd.exe";p.StartInfo.Arguments = "/c" + args;p.StartInfo.UseShellExecute = false;p.StartInfo.RedirectStandardInput = true;p.StartInfo.RedirectStandardOutput = true;p.StartInfo.... 阅读全文
posted @ 2010-11-26 20:17 Robbery 阅读(255) 评论(0) 推荐(0) 编辑
  2010年11月6日
摘要: 最近系统总是有问题、重装几次了!眼看这次比较成功、打开SQL Server 2005一看~杯具了......竟然没有SQL Express服务,几个人看过都说没救了,继续重装。。。偶然发现了一个解决办法、不用重装SQL Server下载一个Microsoft SQL Server 2005 Express Edition(仅57M)下载地址 阅读全文
posted @ 2010-11-06 17:19 Robbery 阅读(1332) 评论(1) 推荐(0) 编辑
  2010年10月24日
摘要: C#获取磁盘的容量并绘制出对应的扇形图原理很简单: 1.获取磁盘驱动器 2.判断驱动器类型、以及驱动器是否就绪 3.获得磁盘的容量、并根据容量算出扇形的角度 4.开始画图效果图代码代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Drawing;using System.IO;using System.Management;using System.Windows.Forms;names. 阅读全文
posted @ 2010-10-24 21:40 Robbery 阅读(1461) 评论(0) 推荐(0) 编辑