WPF
lxl379386901
这个作者很懒,什么都没留下…
展开
-
WPF_无效ALT+F4
/// /// Alt + F4 无效化处理 /// /// Alt + F4 要无效的窗口 /// Alt + F4 无效化处理 /// 返回Action是方便调用处需要同时进行很多处理时+=,-=用 internal static Action DisableAltF4(Window windo原创 2015-08-25 13:39:25 · 1106 阅读 · 0 评论 -
WPF_双击改变窗口状态
public Window5() { InitializeComponent(); this.topborder.MouseDown += topborder_MouseDown; } private void topborder_MouseDown(object sender, System.Wi原创 2015-08-12 17:39:18 · 417 阅读 · 0 评论 -
WPF_Path学习
基础 <Path Data="M 0,0 0,20 5,20 5,100 0,100 0,120 100,120 100,100 95,100 95,20 100,20 100,0 Z" Fill="Red" Stroke="Black" /> http://blog.csdn.net/johnsuna/art原创 2015-08-12 17:58:41 · 462 阅读 · 0 评论 -
WPF_LinearGradientBrush
转载 2015-08-12 18:14:52 · 1022 阅读 · 1 评论 -
WPF_圆角图片
<Border Name="bdGoodDetail" BorderBrush="#E2E2E2" BorderThickness="3" CornerRadius="20">原创 2015-08-12 17:18:55 · 4233 阅读 · 0 评论 -
WPF_常用集合扩展方法
public static class EnumerableExtensions { public static void ForEach(this IEnumerable enumerable, Action toAction) { foreach (T each in enumerable) {原创 2015-08-13 18:31:48 · 676 阅读 · 0 评论 -
WPF_常用字典扩展方法
public static class DictionaryExtensions { public static void ForEach(this IDictionary dictionary, Action toAction) { foreach (var pair in dictionary) {原创 2015-08-14 11:28:49 · 493 阅读 · 0 评论