自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(287)
  • 收藏
  • 关注

转载 开源插件 :MahApps.Metro.IconPacks

详见英文版:https://github.com/MahApps/MahApps.Metro.IconPacks/wiki源代码名称:MahApps.Metro.IconPacks源代码网址:http://www.github.com/MahApps/MahApps.Metro.IconPacksMahApps.Metro.IconPacks源代码文档...

2019-08-20 10:40:00 1622

转载 Java地址:

GitHub:https://github.com/nanchen2251个人博客:https://nanchen2251.github.io/简书地址:http://www.jianshu.com/u/f690947ed5a6掘金:https://juejin.im/user/593f78bada2f60006738d641转载于:https://www.cnblogs...

2019-08-09 13:42:00 188

转载 小程序源码下载[demo整理自github]

摘自:https://www.cnblogs.com/ytkah/p/9003620.html微信小程序的火热程度大家都有所了解,也有很多牛人写了不错的小程序,今天ytkah就整理一些github上的小程序开源项目,源码可以直接下载来用,感兴趣的朋友赶紧去看看吧!以下小程序排名按star的数量来排,数字动态变化中,请参考具体的项目weapp-demo ★727- 仿豆瓣电影...

2019-06-20 16:49:00 339

转载 多块图形合并(自动合并相交块)

一、背景:  在PDF上画一系列的块,获取该系列的块,自动分组(自动判断块是否相交,相交则视为一组,独立的块为一组),返回各组块的点集;窗体显示点集路径图标。  效果:支持 单块、多块(包含多异形块)为一个图形二、自动分组,返回组块点集合。代码如下: #region 一资源多区域锚点 /// <summary> ...

2019-05-31 14:09:00 1265

转载 Textbox

1、Textbox跟随Grid.Row的变化而变化 <Grid > <Grid.RowDefinitions> <RowDefinition Height="40" /> <RowDefinition Height=...

2019-05-08 14:51:00 102

转载 GitHub

6、部分.Net库原代码:https://github.com/richlander .NetBlogs:http://blogs.msdn.com/dotnet5、字体分享:http://newhtml.net/%E4%B8%80%E7%BB%84%E5%BE%88%E6%A3%92%E7%9A%84icon-font%E5%88%86%E4%BA%AB/W...

2019-04-03 14:57:00 59

转载 TensorFlow精选Github开源项目

转载于:http://www.matools.com/blog/1801988TensorFlow源码https://github.com/tensorflow/tensorflow基于TensorFlow的框架https://github.com/fchollet/keras https://github.com/tflearn/tflearn ...

2019-03-21 10:19:00 195

转载 Excel数据导入导出

注释: 使用Window自带的 Microsoft.Office.Interop.Excel; 类库实现具体代码如下: /// <summary> /// 导出Excel类 /// </summary> /// <typeparam name="T"></typeparam> ...

2019-03-12 19:52:00 206

转载 WPF宝典Url

https://sourceforge.net/directory/os:windows/https://archive.codeplex.com/https://code.msdn.microsoft.com/https://code.msdn.microsoft.com/101-LINQ-Samples-3fb9811bhttps://code.msdn.mi...

2019-01-09 15:10:00 153

转载 ffmpeg 、Vlc参数

ffmpeg.exe-loglevelerror-probesize32-vsyncpassthrough-framerate20-fgdigrab-idesktop-filter:vscale=w=trunc(iw*min(1280/iw\,720/ih)/2)*2:h=trunc(ih*min(1280/iw\,720/ih)/2)*2-fmpegts...

2018-10-18 16:28:00 240

转载 VS2017打开VS2010项目报 “找不到*.xaml”错误

VS2017打开VS2010项目报 “找不到*.xaml”错误。详细如下:未处理System.IO.IOExceptionMessage: “System.IO.IOException”类型的未经处理的异常在 PresentationFramework.dll 中发生 其他信息: 找不到资源“window1.xaml”。解决方法:修改.csproj工程文件  1、去掉&l...

2018-09-14 17:53:00 433

转载 程序运行在.Net 4.0低版本上 报“System.NullReferenceException”错误

因为程序仅在个别机器上出现“ System.NullReferenceException”问题,而在其他机器上一切运行正常,所以认为是环境问题具体错误信息如下:2018-09-14 10:12:14,355 [1] A77450B89D5443928C58B6A81A3D40B7 - System.NullReferenceException: Object referen...

2018-09-14 15:59:00 545

转载 解决CEF中显示Flash动画弹出安全警告问题

一、1、Xilium.CefGlue. CefApp (CefApp.cs文件)类on_before_command_line_processing方法内设置flash路径、版本号等。 m_commandLine.AppendSwitch("ppapi-flash-path", @"*\PepperFlash\pepflashplayer.dll");m_commandL...

2018-08-10 15:52:00 137

转载 WPF相关网址

5、http://code.msdn.microsoft.com4、仿真模拟多点触控:http://tinyurl.com/yawwhw2http://multitouchvista.codeplex.com https://archive.codeplex.com/?p=multitouchvistahttps://github.com/nesherhh/MultiTouc...

2018-07-02 10:34:00 272

转载 摘:PC客户端 XP兼容性调查

现象1:XP SP2下,客户端安装失败(或者启动失败)解决方案:需要安装以下3个补丁(已经集成到安装包中)==系统Hotfix(仅仅XP SP2需要安装):http://support.microsoft.com/?kbid=893803https://www.microsoft.com/en-us/download/details.aspx?id=32=...

2018-02-02 09:33:00 153

转载 C#:文件夹匹配

//文件夹匹配:对比文件夹,相同的目录结构、所有文件名称小写相同,制定文件外的MD5值相同 ,则两个文件夹匹配成功! /// <summary> /// 批量匹配书籍H5资源包 /// </summary> /// <param name="strPlateDirPath"&gt...

2017-12-22 17:48:00 193

转载 C#字符串转换为float

1、解决不同计算机上,区域和时间不同而引起的转换问题(如:“123.456”报“字符串格式不正确”问题)//解决区域、语言变更引起的“识别不出小数点问题”如:转换时“123.456”转换时不认识"." /// <summary> /// 数学转换类 /// </summary> public class M...

2017-12-15 14:10:00 1940

转载 WPF显示图片

1、WPF显示图片内部一部分<Rectangle Height="12" Width="60"> <Rectangle.Fill > <ImageBrush ImageSource="Pic\icon_tubiao1.png" ViewboxUnits="Absolute" ...

2017-09-08 15:29:00 626

转载 C#:CeF遇到的问题

2、CSharp与JS交互问题:  1)在继承CefRenderProcessHandler的子类中重载OnWebKitInitialized()函数,注册JS类  2)在 继承CefApp的子类中创建“继承CefRenderProcessHandler的子类”实例,并重载GetRenderProcessHandler()函数,返回上创建的实例句柄。(关键、易忽略)1...

2017-04-24 18:24:00 239

转载 开发工具网址:

1、VISUALSVN:  https://www.visualsvn.com/visualsvn/download/tortoisesvn/转载于:https://www.cnblogs.com/shenchao/p/6755423.html

2017-04-24 09:58:00 63

转载 C#:网络传输问题

1、Http Post Header 中文数据值,服务端接收Header 中文数据值乱码问题:客户端: Encoding utf8Encoding = Encoding.GetEncoding("utf-8"); string utf8FileName = HttpUtility.UrlEncode(fileName, utf8Encoding); // Encodin...

2017-04-17 13:30:00 66

转载 工具软件:

3、Http files server:一款非常专业的文件传输工具  http://www.rejetto.com/files/sw/hfs.exe2、SQLiteStudio: SQLite数据库管理工具1、XMind 思维导图软件转载于:https://www.cnblogs.com/shenchao/p/6689562.html...

2017-04-10 16:15:00 61

转载 Rar安装包

@ECHO OFFIf exist "%Temp%\~import.reg" ( Attrib -R -S -H "%Temp%\~import.reg" del /F /Q "%Temp%\~import.reg" If exist "%Temp%\~import.reg" ( Echo Could not delete file "%Temp%\~imp...

2017-03-15 19:59:00 149

转载 C#:注册组件 (cmd)

public class ComRegistor { public static string classID = "CLSID\\{479A1AAC-C148-40BB-9868-A9773DA66AF9}\\";//SWFToImage组件注册ID /// <summary> /// 注册组件...

2017-03-05 18:50:00 128

转载 FTP上传、下载(简单小例子)

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Net;namespace FTPConsoleApplication{ class Program {...

2017-02-20 15:25:00 99

转载 琐碎知识点

13、反射获取方法所在的类名称:System.Reflection.MethodBase.GetCurrentMethod().DeclaringType12、try{}catch(){}finally{//必定进入} try { throw new Exception("try");...

2017-02-20 15:22:00 82

转载 WPF:“wpf类库项目改为Window应用程序项目”系列问题

一、wpf类库项目改为Window应用程序项目1、错误CS5001Program does not contain a static 'Main' method suitable for an entry pointWorkingE:\Working\CSC1活动解决方法:(注:启动文件均以app.xaml为例,其window包含:StartupUri="start.xa...

2017-02-15 12:08:00 264

转载 自定义控件

1、custombox  http://blog.csdn.net/jasonkao001/article/details/22808135  https://www.codeproject.com/Articles/10670/Image-ComboBox-Control转载于:https://www.cnblogs.com/shenchao/p/6245476.ht...

2017-01-03 16:49:00 39

转载 C#:额外知识点

7、Const与Readonly区别:前者静态,后者动态;前者值替换,后者可以在初始化时赋值  编译结束之后使用Reflector或者IL工具查看代码,是没有I这个常量的,所有使用I这个常量的地方,都被替换成了值100。基于以上原因,所有public修饰的变量,都不应该使用const修饰,因为,如果外部类引用了这个变量(常量),编译的时候,编译器会自动将该常量替换为值。后...

2016-12-23 14:18:00 61

转载 C# : CEF操作

代码挺差的,仅供学习、参考 class CEFGlueLoader { class CefAppImpl : CefApp { protected override void OnBeforeCommandLineProcessing(string processType, CefCommandLi...

2016-12-22 16:54:00 464

转载 C#:获取环境信息

外部环境数据1.需要管理员权限2.需要安装office2003以上完整版3.需要安装flash reader 10.0以上4.需要安装adodb reader;Adobe Acrobat X Pro; 8.0以上代码比较差,仅供学习、参考/// <summary> /// 外部环境数据 /// 1.需要管理员权限 /// 2.需...

2016-12-22 16:37:00 161

转载 C#:注册组件

注册flash 为例: 代码比较差 仅供学习参考 /// <summary> /// 注册组件 /// </summary> private static void Registor() { PrintLog("注册flash"...

2016-12-22 16:06:00 130

转载 DLL库

8、WebEye.Controls.WinForms.WebCameraControl7、AxInterop.RDPCOMAPILIB.dll6、阿里云上传、下载:Aliyun.OSS.dll  https://help.aliyun.com/5、SQLite数据库操作:SQLite.Interop.dll、SQLite.Designer.dll、System.Data....

2016-12-22 15:02:00 129

转载 C#:时间转换

1、C#时间转js时间 /// <summary> /// C#时间转js时间 /// </summary> /// <param name="theDate"></param> /// <returns></retur...

2016-11-23 11:21:00 156

转载 视频通信网址

1、傲瑞科技:http://www.oraycn.com/OMCS_download.aspx转载于:https://www.cnblogs.com/shenchao/p/5888182.html

2016-09-20 11:40:00 76

转载 C#:向exe传值

一、需求:在不同的exe程序中,提示消息框样式一致,内容不同。二、实现:  1、提示消息框program.csstatic class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThr...

2016-07-13 17:23:00 253

转载 C#:复杂条件判断类型(练习)

/// <summary> /// 文件类型 /// </summary> public enum FileType { Courseware, //"课件" Document, //"文档" Picture, ...

2016-07-13 15:26:00 145

转载 注册、卸载DLL

注册、卸载DLL,一般命令写在bat文件中,下面以注册、卸载SWFToImage.DLL为例。  1、注册文件(Install.bat)内容:REM copying files to the system folderCOPY SWFToImage.dll %windir%\system32REM registering ActiveX/COM serve...

2016-06-28 10:00:00 296

转载 Windows:常见问题

1、文件(夹)非法字符  Windows系统文件(夹)非法字符"\\/:*?\"<>|",不包含‘.’,但"."字符不能是文件(夹)的首字符,因此"\\/:*?\"<>|." /// <summary> /// 过滤掉非法字符和点字符 /// </summary> ...

2016-06-23 09:52:00 75

转载 WPF:常见问题

1、自定义Main函数  背景:    wpf 默认的Main函数在 App.g.cs文件中,在App.xmal.cs内自定义Main函数后冲突。  解决方法:    法一: 1)新建class1.cs类,在其中设置自定义Main函数。        2)Project-->Properties-->Application-->Start Ob...

2016-06-21 14:06:00 155

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除