摘要: 1、使用开源的类库Newtonsoft.Json,下载Newtonsoft.Json.dll 2、JavaScriptSerializer类 ,使用.NET Framework 3.5/4.0中提供的System.Web.Script.Serialization命名空间下的JavaScriptSer 阅读全文
posted @ 2018-08-02 16:55 逛园子$$$ 阅读(344) 评论(0) 推荐(0)
摘要: 1 public class RedisHelper 2 { 3 //创建一个ConnectionMultiplexer实例。它是通过ConnectionMultiplexer.Connect 或者 ConnectionMultiplexer.ConnectAsync, 4 //传递一个连接字符串或者一个ConfigurationOpt... 阅读全文
posted @ 2018-08-02 14:45 逛园子$$$ 阅读(178) 评论(0) 推荐(0)
摘要: 1.首先(NPOI官网下载dll) 添加引用:NPOI.dll,NPOI.OOXML.dll,NPOI.OpenXml4Net.dll,NPOI.OpenXmlFormats.dll 2.代码——CSVHelper 阅读全文
posted @ 2018-07-24 14:25 逛园子$$$ 阅读(4571) 评论(2) 推荐(0)
摘要: 1、打开一个进程“Process1.exe” 2、关闭一个进程“Process2.exe” 阅读全文
posted @ 2018-05-30 15:58 逛园子$$$ 阅读(495) 评论(0) 推荐(0)
摘要: 1、添加引用:COM组件的Microsoft Shell Controls And Automation 2、添加命名空间: using Shell32; using System.Text.RegularExpressions; 3、 阅读全文
posted @ 2018-05-28 15:05 逛园子$$$ 阅读(1801) 评论(0) 推荐(0)
摘要: ... 阅读全文
posted @ 2018-05-22 11:05 逛园子$$$ 阅读(622) 评论(0) 推荐(0)
摘要: 1.前台 2.后台 阅读全文
posted @ 2018-05-21 19:54 逛园子$$$ 阅读(1961) 评论(0) 推荐(0)
摘要: 一、在VLC官网下载最新的VLC播放器,然后安装,安装后在安装文件目录中分别把文件VideoLAN\VLC\和VideoLAN\VLC\plugins\拷贝到项目中。 \VLC文件夹中包括\plugins文件夹、axvlc.dll、libvlc.dll、libvlccore.dll、npvlc.dl 阅读全文
posted @ 2018-05-16 09:36 逛园子$$$ 阅读(1349) 评论(0) 推荐(0)
摘要: 1、效果截图 拖动Slider,相应的灯光图片,字体颜色、大小都改变 2、前端代码 1 <Grid Height="224" Margin="0,561,0,205"> 2 <Image Stretch="Fill" Height="44" Source="/BirdDetect_Images/ba 阅读全文
posted @ 2018-05-12 09:53 逛园子$$$ 阅读(239) 评论(0) 推荐(0)
摘要: 1、前端 1 <UserControl x:Class="RayProject.Control.EMIControl" 2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 3 xmlns:x="http://sche 阅读全文
posted @ 2018-05-11 16:04 逛园子$$$ 阅读(447) 评论(0) 推荐(0)