03 2017 档案

摘要:public sealed class Singleton{ private static readonly Lazy<Singleton> lazy = new Lazy<Singleton>(() => new Singleton()); public static Singleton Inst 阅读全文
posted @ 2017-03-17 16:35 胖胖仔 阅读(134) 评论(0) 推荐(0)
摘要:在silverlight中使用菜单结果发现设置IsEnabled 界面不刷新,只有鼠标划过后才更新。百思不得其解。最后找到解决方案: http://dlaa.me/blog/post/10007250 我是使用Set the MenuItemIsEnabledWorkaround.IsActive  阅读全文
posted @ 2017-03-07 17:26 胖胖仔 阅读(191) 评论(0) 推荐(0)