摘要: dynamic cmd = AutomationFactory.CreateObject("WScript.Shell"); cmd.Run("calc.exe", 1, true); 阅读全文
posted @ 2012-07-04 11:36 要等闲阿 阅读(162) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2012-07-04 11:03 要等闲阿 阅读(1) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2012-07-02 17:14 要等闲阿 阅读(60) 评论(1) 推荐(1) 编辑
该文被密码保护。 阅读全文
posted @ 2012-07-02 16:14 要等闲阿 阅读(4) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2012-07-02 15:46 要等闲阿 阅读(50) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2012-07-02 15:34 要等闲阿 阅读(13) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using MSWord = Microsoft.Office.Interop.Word;using System.IO;using System.Reflection;namespace CreateWordXDemo{ class Program { static void Main(string[] args) { object ... 阅读全文
posted @ 2012-07-02 14:54 要等闲阿 阅读(790) 评论(0) 推荐(0) 编辑
摘要: DateTime d1 = DateTime.Parse("2012-3-10 10:30"); DateTime d2 = DateTime.Parse("2012-4-9 10:30"); System.TimeSpan nd = d2 - d1; int num = nd.Minutes; double num2 = nd.TotalMinutes; Console.WriteLine(num.ToString()); Console.WriteLine(n... 阅读全文
posted @ 2012-07-02 14:10 要等闲阿 阅读(113) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2012-06-27 18:02 要等闲阿 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Silverlight中的独立存储有两种使用方式:1、文件方式,此方式使用IsolatedStorageFile类,此类包括两种子类: IsolatedStorageSettings.SiteSettings - 按站点保存的 key-value 字典表 IsolatedStorageSettings.ApplicationSettings - 按应用程序保存的 key-value 字典表 此类常用方法有:Add, Contains,Remove2、key-value方式,此方式使用IsolatedStorageSettings类,此类包括两种方法: IsolatedStorageFi... 阅读全文
posted @ 2012-06-27 15:35 要等闲阿 阅读(138) 评论(0) 推荐(0) 编辑