Thomson-Blog ( 学习,学习,再学习;努力,努力,再努力。)
在学习的路上不断成长,成功之路就在脚下。
摘要: // C#启动IE浏览器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;namespace Wi... 阅读全文
posted @ 2009-12-09 12:57 Thomson-Blog 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 如果你要运行一个命令行程序,或者打开一个windows应用程序,或者打开默认的web浏览器或email客户端,..你应该如何在你的C#代码中实现这个功能呢?以下这些例子完成相同的任务,你可以使用System.Diagnostics.Process中的类和方法完成这些任务,甚至作的更多。例1:不管输出结果,仅仅是运行一个命令行程序: private void simpleRun_Click(obje... 阅读全文
posted @ 2009-12-09 11:23 Thomson-Blog 阅读(504) 评论(0) 推荐(0) 编辑