09 2013 档案

以后看下try,catch在C#下面的成本
摘要:http://www.programmersheaven.com/user/pheaven/blog/175-Do-trycatch-blocks-hurt-runtime-performance/ 阅读全文

posted @ 2013-09-22 16:42 norsd 阅读(119) 评论(0) 推荐(0) 编辑

DataGridTemplateColumn 如何获取内部控件
摘要:WPF中有时候我们不使用DataGridTextColumn 而使用用途更加宽广的DataGridTemplateColumn 但是用途多的东西当然也更复杂。 这里说下如何取DataGridTempateColumn得内部控件 一般可以用以下代码: private void Data... 阅读全文

posted @ 2013-09-04 17:52 norsd 阅读(298) 评论(0) 推荐(0) 编辑

c# KeyDown KeyPress 函数中event 的 Handled属性
摘要:很奇怪的 KeyDown中的 Handled.true 只能使 Keys.Back 这类失效, 如果要使比如数字失效,必须设置一个变量 _bHandled = true 然后在紧接着会触发的 KeyPress中的 event.Handled = true 注意 KeyPress这个消息没有 K... 阅读全文

posted @ 2013-09-03 21:40 norsd 阅读(544) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示