摘要: 首先在vs中建立一个类库项目 建立好了之后可以自己建一个类,也可以把原本的那个类名称改一下 然后就是写类库中的方法: using System; using System.Collections.Generic; using System.Linq; using System.Text; using 阅读全文
posted @ 2020-05-20 17:13 Saunterer 阅读(4890) 评论(0) 推荐(0) 编辑
摘要: //点击按钮选择文件事件private void Decoding_Click(object sender, EventArgs e) { OpenFileDialog fileDialog = new OpenFileDialog();//打开文件 fileDialog.Multiselect = 阅读全文
posted @ 2020-05-20 16:40 Saunterer 阅读(2320) 评论(0) 推荐(0) 编辑
摘要: //FinstrID为json文件中的key值 var js = Readjson("FinstrID"); public static string Readjson(string key) { string jsonfile = "HPVTest.Designer.json";//JSON文件路 阅读全文
posted @ 2020-05-20 16:33 Saunterer 阅读(3700) 评论(0) 推荐(0) 编辑
摘要: //按钮点击选择文件private void btnFile_Click(object sender, EventArgs e) { OpenFileDialog fileDialog = new OpenFileDialog(); fileDialog.Multiselect = true; fi 阅读全文
posted @ 2020-05-20 16:31 Saunterer 阅读(1790) 评论(0) 推荐(0) 编辑
摘要: 废话不多说,直接上代码,代码比较清晰简单 using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using 阅读全文
posted @ 2020-05-20 16:24 Saunterer 阅读(2400) 评论(0) 推荐(0) 编辑