摘要: private int IsDigitOrNumber(string str) { if(System.Text.RegularExpressions.Regex.IsMatch(str,@"(?i)^[0-9a-z]+$")) return 1; else return 0; } 阅读全文
posted @ 2019-07-11 15:02 Ocean乌龟 阅读(89) 评论(0) 推荐(0) 编辑
摘要: C#代码要先添加两个引用。COM的microsoft office XX Object Library和microsoft office interop powerpoint Microsoft.Office.Interop.PowerPoint.Application pptApplication 阅读全文
posted @ 2019-07-11 14:44 Ocean乌龟 阅读(602) 评论(0) 推荐(0) 编辑