摘要: shift+alt+左右方向键 阅读全文
posted @ 2012-08-13 19:25 gitran 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 方向右键切换到表外,回车即可 阅读全文
posted @ 2012-08-13 09:28 gitran 阅读(199) 评论(0) 推荐(0) 编辑
摘要: http://www.switchonthecode.com/tutorials/csharp-tutorial-xml-serialization 阅读全文
posted @ 2012-08-09 16:43 gitran 阅读(90) 评论(0) 推荐(0) 编辑
摘要: http://mywindows8themes.com/ 阅读全文
posted @ 2012-08-09 10:04 gitran 阅读(91) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Xml;namespace testConsoleApplication1{ class test解析xml文件 { public static void Main() { List> info = getFileList(); Console.WriteLine("一共有" + info.Count + "项"); ... 阅读全文
posted @ 2012-08-08 20:25 gitran 阅读(491) 评论(0) 推荐(0) 编辑
摘要: 命令行式PYTP 阅读全文
posted @ 2012-08-08 17:29 gitran 阅读(88) 评论(0) 推荐(0) 编辑
摘要: using System;using System.IO;class Program{ static void Main() { string[] files = Directory.GetFiles("D:\\快盘\\", "*.*", SearchOption.AllDirectories); foreach (string file in files) { Console.WriteLine(file); } }}http://www.dotnetp... 阅读全文
posted @ 2012-08-07 20:24 gitran 阅读(220) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;namespace testConsoleApplication1{ class Class2 { public static void Main() { FileStream fs = new FileStream(@"D:\name.xml", FileMode.Open, FileAccess.Read); //... 阅读全文
posted @ 2012-08-07 11:06 gitran 阅读(1677) 评论(0) 推荐(0) 编辑
摘要: double span = 1343109387213; DateTime tm = new DateTime(1970,1,1); DateTime tm2 = tm.AddMilliseconds(span); Console.WriteLine(tm2.ToString("yyyy-MM-dd hh:mm:ss")); //月份表示为M,分钟表示为m TimeSpan ts = tm2.Subtract(tm); Console.WriteLine(ts.TotalMilliseconds... 阅读全文
posted @ 2012-08-06 20:37 gitran 阅读(209) 评论(0) 推荐(0) 编辑
摘要: https://s3.amazonaws.com/0ubz-2q11-gi9y/en.html 阅读全文
posted @ 2012-08-06 15:34 gitran 阅读(396) 评论(0) 推荐(0) 编辑