摘要: /// <summary> /// Get读取数据 /// </summary> /// <param name="myUrl">网址</param> /// <param name="myProxy">IP代理</param> /// <param name="myUserAgent">浏览器</ 阅读全文
posted @ 2021-06-05 10:22 懒人境界 阅读(470) 评论(0) 推荐(0) 编辑
摘要: #region Unicode 转中文 /// <summary> /// Unicode 转中文 /// </summary> /// <param name="text"></param> /// <returns></returns> public static string UnicodeT 阅读全文
posted @ 2021-06-05 10:10 懒人境界 阅读(338) 评论(0) 推荐(0) 编辑
摘要: #region 生成随机字符串 /// <summary> /// 生成随机字符串 /// </summary> /// <param name="length">字符串的长度</param> /// <returns></returns> public static string CreateRa 阅读全文
posted @ 2021-06-05 10:08 懒人境界 阅读(317) 评论(0) 推荐(0) 编辑
摘要: private void txtMaxCount_TextChanged(object sender, EventArgs e) { //替换非数字 this.txtMaxCount.Text = Regex.Replace(this.txtMaxCount.Text, @"[^\d]*", "") 阅读全文
posted @ 2021-06-05 10:00 懒人境界 阅读(147) 评论(0) 推荐(0) 编辑