上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页
摘要: 阅读全文
posted @ 2015-07-22 11:31 莫欺 阅读(1244) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-07-02 18:10 莫欺 阅读(341) 评论(0) 推荐(0)
摘要: private BitmapSource ToGray(BitmapSource source) { FormatConvertedBitmap re = new FormatConvertedBitmap(); re.BeginInit(); re.Source = source; re.DestinationFormat = PixelFormats.Gray8; r... 阅读全文
posted @ 2015-06-24 17:29 莫欺 阅读(512) 评论(0) 推荐(0)
摘要: class TextListBoxVMpublic : ViewModelBase { public TextListBoxVMpublic() { var list = this.GetEmployees(); this.filteredEmploees = new... 阅读全文
posted @ 2015-06-23 16:24 莫欺 阅读(3317) 评论(0) 推荐(0)
摘要: public partial class Example : UserControl { private ScrollViewer myScrollViewer; public Example() { InitializeComponent(); } private void Scr... 阅读全文
posted @ 2015-06-23 16:20 莫欺 阅读(1860) 评论(0) 推荐(0)
摘要: 结合ItemsControl在Canvas中动态添加控件的最MVVM的方式 阅读全文
posted @ 2015-06-17 10:01 莫欺 阅读(287) 评论(0) 推荐(0)
摘要: 。。没哈好说的,,只是推荐一个软件ArtCursor。。非常好用。关于另外一个更改光标的重要问题:鼠标的hotspot,也就是鼠标的作用点问题,本人关于这个问题纠结了很久,始终无法找到更改HCURSOR作用点的函数。后来终于在网上发现,其实在制作.cur格式的图片时就可以设置hotspot(热点)。... 阅读全文
posted @ 2015-06-15 11:13 莫欺 阅读(2075) 评论(0) 推荐(0)
摘要: 类似这种样式的控件,。,在横向滚动条隐藏的情况下有这样的问题。(横向滚动条显示的时候也会,,目前不知道怎么解决。)因为这个控件偏移是利用ListBox的ItemsPanelTemplate模版里的StackPanel的宽度通过设置"(UIElement.RenderTransform).(Trans... 阅读全文
posted @ 2015-05-22 16:28 莫欺 阅读(792) 评论(0) 推荐(0)
摘要: 组长说用event有内存泄漏的隐患。。做个测试。预留 阅读全文
posted @ 2015-05-11 10:39 莫欺 阅读(150) 评论(0) 推荐(0)
摘要: 上一篇Popup Bug中修改了SystemParameters类中静态只读属性MenuDropAlignment。 其中 _menuDropAlignment 为SystemParameters中的静态 私有字段。通过Type.GetField反射出该字段并进行修改。。 这样SystemParam 阅读全文
posted @ 2015-05-08 11:29 莫欺 阅读(697) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页