- 博客(4)
- 收藏
- 关注
转载 C#使用post方式提交json数据
string _url = "http://192.168.0.135:888/sqjz/fxry/fxry/up"; string jsonParam = "{\"sqjzrybh\":\"A001\",\"sfzh\":\"130533196874589652\",\"xm\":\"王涛\"}";
2018-10-11 11:41:30
12856
2
原创 C# 多线程使用lamda表达式编程
C#多线程的实现方式使用的thread类 1、最容易实现方式: Thread t = new Thread(new ThreadStart(ThreadFunction)); public void ThreadFunction() {Console.WriteLine("我是线程!");} 2、lamda表达式实现: Thread t = new Thread(() => Co...
2018-10-08 16:41:10
1935
转载 log4net的简单使用教程--可直接用
1、添加log4net的引用,注意版本的对应关系,有网的话直接用nuget安装最好 2、在app.config里添加如下配置: <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/> </...
2018-10-08 10:07:07
1431
原创 winform实现子线程动态更新UI
核心句法:this.invoke(new EventHandle(delegate { panel.controls.add(usercontrol); ...
2018-06-28 14:49:46
2069
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅