Fork me on GitHub
摘要: 1、字符串首字母转为大写。System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase("字符串");2、winform选取文件及文件夹。// 选取文件OpenFileDialog openFileDialog = new OpenFileDialog();openFileDialog.Filter = "文本文件|*.*|C#文件|*.cs|所有文件|*.*";if (openFileDialog.ShowDialog() == DialogResult.OK){ Messag 阅读全文
posted @ 2012-06-29 16:43 磊哥|www.javacn.site 阅读(985) 评论(0) 推荐(1) 编辑