代码改变世界

随笔分类 -  控件开发

Geckofx 45 正确模拟键盘输入的事件绑定方法

2017-04-26 14:10 by Dorisoy, 1795 阅读, 收藏,
摘要: var inputs = selection.GetElementsByTagName("input").Select(p => p as Gecko.DOM.GeckoInputElement).Where(p => p.GetAttribute("placeholder") == "Stake"); foreach (var inp... 阅读全文

调用API 清屏

2016-04-22 15:10 by Dorisoy, 487 阅读, 收藏,
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.InteropServices; namespace calculate { struct StdHandleEn... 阅读全文

A WPF File ListView and ComboBox

2015-02-12 16:49 by Dorisoy, 807 阅读, 收藏,
摘要: 源码下载:Download FileListView_Version_2.zipDownload FileListView_Version_2_Binaries.zipDownload FileListView_Version_2.1.zipThe project is now maintained... 阅读全文

使用 WPF 实现所见即所得HTML编辑器

2015-02-12 15:03 by Dorisoy, 3584 阅读, 收藏,
摘要: IntroductionIn this tip, you will learn the use ofWPFwebbrowsercontrol and the use of the library mhtml for editing. This simple example will also hel... 阅读全文