摘要:
string name = "sfg.v(1)(2).jpg"; Match match = Regex.Match(name,@"^(.*)?(\..*)$"); if(match.Success) { ... 阅读全文
摘要:
wpf//获取文字长度 private double MeasureTextWidth(string text, double fontSize, string fontFamily) { FormattedText formattedText = ... 阅读全文