Loading

上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: 1 using System; 2 using System.Collections; 3 using System.Collections.Concurrent; 4 using System.Collections.Generic; 5 using System.IO; 6 using Syst 阅读全文
posted @ 2021-07-20 20:24 云辰 阅读(25) 评论(0) 推荐(0)
摘要: 1.声明CancellationTokenSource 对象 /// <summary>线程控制器管理</summary> private CancellationTokenSource cancellationManage; 2.实例化 CancellationTokenSource 对象,此对象 阅读全文
posted @ 2021-07-20 12:23 云辰 阅读(305) 评论(0) 推荐(0)
摘要: 1.在Repository -> Repository settings -> Ignored files内添加设置 ## Ignore Visual Studio temporary files, build results, and ## files generated by popular V 阅读全文
posted @ 2021-07-15 14:34 云辰 阅读(619) 评论(0) 推荐(0)
摘要: 1.打开项目属性,点击生成事件,选择编辑后期生成 2.点击宏命令 3.编辑宏命令 3.1.先创建固定文件夹的路径。MD【创建文件夹命令】, $(SolutionDir)【双击选择的宏则自动带出,表示解决方案的路径】,..【表示返回上一层文件夹命令】,Library【文件夹名】 MD $(Soluti 阅读全文
posted @ 2021-07-15 10:40 云辰 阅读(1068) 评论(0) 推荐(0)
摘要: 1.将dll添加到自定义分页上的选项卡上 2.拖入界面窗体 3.后台添加逻辑代码 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System. 阅读全文
posted @ 2021-07-05 16:41 云辰 阅读(458) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace 阅读全文
posted @ 2021-07-01 15:55 云辰 阅读(281) 评论(0) 推荐(0)
摘要: 前提需要导入Newtonsoft.Json.dll 1.创建实体输入json参数对象 [JsonObject(MemberSerialization.OptOut)] class GateSignInputInfo { /// <summary> /// 考场代号 /// </summary> pu 阅读全文
posted @ 2021-06-24 16:53 云辰 阅读(502) 评论(0) 推荐(0)
摘要: 1.xml保存 private readonly string XMLSavePath = Path.Combine(Environment.CurrentDirectory, "XML", GlobalParam.Today); public LogicalService() { // 创建XML 阅读全文
posted @ 2021-06-23 16:59 云辰 阅读(449) 评论(0) 推荐(0)
摘要: /* * * 机器名称:$machinename$ * 命名空间: $rootnamespace$ * 文件名: $safeitemname$ * 版本号: V1.0.0.0 * CLR版本: $clrversion$ * 创建人: $username$ * 创建时间:$time$ * 描述 : * 阅读全文
posted @ 2021-06-22 16:49 云辰 阅读(120) 评论(0) 推荐(0)
摘要: #region 生成md5 private string GetMD5(string text) { MD5CryptoServiceProvider md5Hasher = new MD5CryptoServiceProvider(); byte[] data = md5Hasher.Comput 阅读全文
posted @ 2021-06-21 09:58 云辰 阅读(258) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 9 下一页