摘要: string name = "sfg.v(1)(2).jpg"; Match match = Regex.Match(name,@"^(.*)?(\..*)$"); if(match.Success) { ... 阅读全文
posted @ 2014-08-30 10:01 metoer 阅读(871) 评论(0) 推荐(0) 编辑
摘要: wpf//获取文字长度 private double MeasureTextWidth(string text, double fontSize, string fontFamily) { FormattedText formattedText = ... 阅读全文
posted @ 2014-08-27 16:36 metoer 阅读(212) 评论(0) 推荐(0) 编辑