procedure TFormSystemTree.N29Click(Sender: TObject);
var
tmpStr: string;
// 添加文件..
begin
if OpenDialog1.Execute() then
begin
tmpStr := lvMain.Path + '\' + ExtractFileName(OpenDialog1.filename);...
分类:
系统相关 时间:
2015-04-03 09:24:56
阅读次数:
151
static void Main(string[] args) { while (true) { string sj = "abcdefghijklmnopqrstuvwxyz"; string ...
分类:
其他好文 时间:
2015-04-03 09:13:04
阅读次数:
120
static void Main(string[] args) { string a=Console.ReadLine(); for (int i = 0; i < a.Length; i++) ...
分类:
其他好文 时间:
2015-04-03 09:12:50
阅读次数:
91
static void Main(string[] args) { while (true) { string rn = Console.ReadLine(); string s ...
分类:
其他好文 时间:
2015-04-03 09:11:36
阅读次数:
111
static void Main(string[] args) { DateTime a = DateTime.Now; DateTime nz=Convert.ToDateTime("2015-4-2 17:30"); ...
分类:
其他好文 时间:
2015-04-03 09:10:26
阅读次数:
111
while (true) { Console.Write("烧水不?Y/N:"); string a = Console.ReadLine(); if (a =="Y" ) { Console.WriteLine("多少度了"); for (int i = 1; i <=100; i+...
分类:
其他好文 时间:
2015-04-03 09:09:11
阅读次数:
108
while (true) { Console.Write("请输入一个年份:"); string a = Console.ReadLine(); string b = ""; try { DateTime c = Convert.ToDateTime(a+"-2-29"); b="年是闰年"; } ...
分类:
其他好文 时间:
2015-04-03 09:08:32
阅读次数:
133
/** * 将日期转大写 * 例如:2013-05-13转为 二0一三年五月十三日 * @param date * @return */ public static String getDxDate(String date){ Strin...
分类:
其他好文 时间:
2015-04-03 09:08:04
阅读次数:
119
static void Main(string[] args) { while (true) { string email = Console.ReadLine(); if (email.Conta...
分类:
其他好文 时间:
2015-04-03 09:08:01
阅读次数:
143
直接上代码: public static class XmlSerializer { public static void SaveToXml(string filePath, object sourceObj, Type type) { if...