![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
wpf
文章平均质量分 66
Henry_Wu001
这个作者很懒,什么都没留下…
展开
-
使用GetValueSource方法获取依赖属性的源
from:http://wpf.2000things.com/2010/12/05/146-use-getvaluesource-method-to-find-the-source-of-a-dependency-property-value/It’s often helpful to determine the source of the current value of a转载 2013-10-10 10:08:45 · 994 阅读 · 0 评论 -
设置 connectionId 时引发了异常
refs:http://www.codeproject.com/Articles/881315/Display-HTML-in-WPF-and-CefSharp-Tutorial-Partcase:设置 connectionId 时引发了异常,resaon:引用的lib只支持x86和x64,而项目设置为AnyCpu。原创 2015-05-07 11:12:52 · 8722 阅读 · 0 评论 -
wpf delay to do sth
void doFun(){}; var timer = new DispatcherTimer { Interval = TimeSpan.FromSeconds(2) }; timer.Start(); timer.Tick += (sender2, args) => {原创 2015-05-06 15:45:16 · 1072 阅读 · 0 评论 -
wpf 用系统代理获取网络文件
同步方法 HttpWebRequest httprequest =(HttpWebRequest)WebRequest.Create(url); IWebProxy proxy = WebRequest.GetSystemWebProxy(); proxy.Credentials = System.Net.Credential原创 2015-05-07 16:03:08 · 1024 阅读 · 0 评论 -
RenderTargetBitmap + usercontrol VisualBrush
refs:http://stackoverflow.com/questions/2851236/rendertargetbitmap-resourced-visualbrush-incomplete-image# private static RenderTargetBitmap CreateBitmapSource(FrameworkElement fram转载 2015-05-21 14:50:26 · 909 阅读 · 0 评论 -
wpf textbox mouse click event处理
refs:http://bbs.csdn.net/topics/380249070#new_posthttp://www.cnblogs.com/loveis715/archive/2012/04/10/2441513.htmlcase:想在TextBox中处理第一次鼠标点击事件,使用 this.tb.MouseLeftButtonDown += new M原创 2015-06-05 14:05:07 · 3068 阅读 · 0 评论 -
c# 使用protobuf
refs:https://github.com/google/protobuf/tree/master/csharphttp://www.bianceng.cn/Programming/extra/201101/23128.htm使用NuGet 安装库,会自带 tool文件夹中的exe文件,1)使用protoc.exe生成中间件protobin文件proto转载 2015-09-28 14:29:48 · 1056 阅读 · 0 评论 -
WPF4.5 Introduction to the 24, "DataGrid Control Part 2"
refs:http://blog.okazuki.jp/entry/20130224/1361693816Available columns in a DataGrid In DataGrid, but you can display the data easily by using the customization of the auto-generation fe转载 2016-07-11 11:20:16 · 611 阅读 · 1 评论 -
查看是否安装了dot net,及其版本
refs:http://www.java123.net/983954.html查看是否安装.NET Framework→%SystemRoot%\System32→如果有mscoree.dll文件,表明.NET Framework已安装 查看安装了哪些版本的.NET Framwork→开始-运行→输入cmd→输入如下命令dir %转载 2016-06-30 15:37:33 · 7141 阅读 · 0 评论 -
VS2013未找到与约束Microsoft.VisualStudio.Utilities.IContentTypeRegistryService匹配的导出
refs:http://blog.csdn.net/lingxyd_0/article/details/50214843问题打开项目时,报错! (VS2013)。后来再打开不报错了。相当于选择了“不再提示此错误”。,打开js文件或者其他cs文件都不能打开了,报错消息为:未找到与约束 ContractName Microsoft.Visua原创 2016-07-28 14:29:13 · 1108 阅读 · 0 评论 -
调用线程必须为 STA,因为许多 UI 组件都需要
refs:http://blog.csdn.net/leftfist/article/details/41747255?utm_source=tuicoolWPF中,代码中准备控制控件内容时,有时会报错:调用线程必须为 STA,因为许多 UI 组件都需要我知道,在winform下面,使用多线程时,控件的值读取是可以的,但如果要更改,那么就必须进行一些特别的处转载 2015-04-30 11:02:19 · 2650 阅读 · 0 评论 -
WPF – Float Buttons Over Web Browser Control
refs:https://karlshifflett.wordpress.com/2009/06/13/wpf-float-buttons-over-web-browser-control/fuck gfwWPF – Float Buttons Over Web Browser ControlAbove is a kiosk full screen capt转载 2015-05-06 13:51:40 · 1370 阅读 · 2 评论 -
(转)Prism教程
目录 一. Prism概述 二. Prism评估 三. Prism文档导读 四. 从Hello World开始 五. Prism中的术语和概念 六. Prism中的模式 七. Module 八. View 九. Event 十. Command 十一. Service 十二. M转载 2013-10-14 13:15:41 · 3650 阅读 · 0 评论 -
How to change size of WPF controls at runtime
from:http://denismorozov.blogspot.com/2008/01/how-to-resize-wpf-controls-at-runtime.htmlHow to change size of WPF controls at runtimeThis sample code uses mouse events to c转载 2013-11-11 09:01:29 · 1135 阅读 · 0 评论 -
WPF: drawing a video using MediaPlayer, VideoDrawing and DrawingBrush
from:http://cnedelcu.blogspot.com/2008/10/wpf-drawing-video-using-mediaplayer.htmlps:fuck gfwWPF: WPF: drawing a video using MediaPlayer, VideoDrawing and DrawingBrushI've decided to转载 2013-11-10 22:52:04 · 1611 阅读 · 0 评论 -
WPF. SIMPLE ADORNER USAGE WITH DRAG AND RESIZE OPERATIONS
from:http://denisvuyka.wordpress.com/2007/10/15/wpf-simple-adorner-usage-with-drag-and-resize-operations/WPF. SIMPLE ADORNER USAGE WITH DRAG AND RESIZE OPERATIONSAfter posting my转载 2013-11-11 09:02:44 · 2345 阅读 · 0 评论 -
反编译的另类思路
因为要参考某app做一个新app,该app无源代码,使用了广播机制查找网络中的设备。想实现同样的功能却无相应的协议,后通过 IpTool网络抓包工具 抓取其发送的包,及设备反馈的udp包,作为我们操作的数据实现我们的广播。MARK原创 2014-02-11 13:58:46 · 805 阅读 · 0 评论 -
vs2010 错误
refs:http://blog.csdn.net/fibona/article/details/5949180http://www.cxyclub.cn/n/9774/原创 2013-10-23 13:23:24 · 2046 阅读 · 0 评论 -
Visual Effects in WPF ( Blur, DropShadow, OuterGlow )
refs:http://wpftoturials.blogspot.com/2010/07/visual-effects-in-wpf-blur-dropshadow.htmlWPF provides visual effects that you can apply to any element. The goal of effects is to give you an e转载 2015-05-11 14:43:54 · 1123 阅读 · 0 评论 -
代码添加effect 效果
refs:http://stackoverflow.com/questions/4022746/wpf-add-a-dropshadow-effect-to-an-element-from-code-behindButton myButton = new Button();// Initialize a new DropShadowBitmapEffect that w转载 2015-05-11 14:49:40 · 1650 阅读 · 0 评论 -
添加虚线外框
Converter={StaticResource booleanToThicknessConverter}}">转载 2015-05-11 14:49:44 · 761 阅读 · 0 评论 -
合并dll和exe
refs:https://blog.csdn.net/mysouling/article/details/52397463https://blog.csdn.net/jacky_zh/article/details/49511327http://forums.realm.io/t/fody-could-not-find-path-to-weavers-file/652/2https...原创 2018-08-03 09:22:34 · 1077 阅读 · 0 评论