摘要:
转自:http://www.cnblogs.com/zengxiangzhan/archive/2009/10/30/1592926.html<%#GetOutTime(Eval("发布时间"))%>///<summary>/// 离最近发表时间代码///</summary>///<paramname="dtime">发布时间</param>///<returns></returns>publicstaticstringGetOutTime(DateTimedtime){ 阅读全文
摘要:
运行结果: 主线程开始 主线程:a 辅助线程开始... 辅助线程:0 主线程:b 主线程:c 辅助线程:1 主线程:d 主线程:e 辅助线程:2 主线程:f 辅助线程:3 主线程:g 主线程:h 辅助线程:4 主线程:i 主线程:j 辅助线程:5 辅助线程:6 辅助线程:7 辅助线程:8 辅助线程: 阅读全文
摘要:
using System;using System.Diagnostics; class Program { static void Main(string[] args) { ProcessStartInfo info = new ProcessStartInfo("IExplore.exe"); //准备启动IE info.WindowStyle = ProcessWindowStyle.Maximized; //IE最大化 info.Arguments = "www.google.cn"; //参数 Process.Start(info); //启 阅读全文