飞雨萧侠
做更好的自己
摘要: string str1 =Process.GetCurrentProcess().MainModule.FileName;//获得当前执行的exe的文件名。string str2=Environment.CurrentDirectory;//获取和设置当前目录的完全限定路径。string str3=... 阅读全文
posted @ 2014-07-05 22:18 飞雨萧侠 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 首先,自定义一个类ListViewNF,继承自System.Windows.Forms.ListViewusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Win... 阅读全文
posted @ 2014-07-05 22:10 飞雨萧侠 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 可以这样写: date.ToString("yyyy年MM月", DateTimeFormatInfo.InvariantInfo) 日期转化二 DateTime dt = DateTime.Now; Label1.Text = dt.ToString();//2005-11-5 13:21:25 ... 阅读全文
posted @ 2014-07-05 21:05 飞雨萧侠 阅读(143) 评论(0) 推荐(0) 编辑