会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
metoer
博客园
首页
新随笔
联系
订阅
管理
2014年8月30日
C# 计算文件重复时,文件名后面加(1) ,(2)
摘要: string name = "sfg.v(1)(2).jpg"; Match match = Regex.Match(name,@"^(.*)?(\..*)$"); if(match.Success) { ...
阅读全文
posted @ 2014-08-30 10:01 metoer
阅读(915)
评论(0)
推荐(0)
2014年8月27日
获取文字长度
摘要: wpf//获取文字长度 private double MeasureTextWidth(string text, double fontSize, string fontFamily) { FormattedText formattedText = ...
阅读全文
posted @ 2014-08-27 16:36 metoer
阅读(213)
评论(0)
推荐(0)
公告
点击右上角即可分享