上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 35 下一页

2013年10月28日

StructLayoutLayout 属性无法通过GetCustomAttributes 或者 Attributes获得

摘要: http://stackoverflow.com/questions/17684664/retrieve-the-structlayout-attribute-of-a-struct 这是一个type的内嵌的一个属性(Property) type.StructLayoutAttribute... 阅读全文

posted @ 2013-10-28 07:45 norsd 阅读(123) 评论(0) 推荐(0) 编辑

2013年10月25日

chrome 插件

摘要: 1. 如何复制多行字符串为一个变量 http://www.cnitblog.com/CoffeeCat/archive/2008/12/10/52436.html 这里的方案2不但可以用在ie也可以用在chrome,通过这个,非常方便实现了本地文件与网页的交互 Function.pr... 阅读全文

posted @ 2013-10-25 18:22 norsd 阅读(179) 评论(0) 推荐(0) 编辑

2013年10月16日

TFS 用户设置read权限后仍然无法查看代码的问题

摘要: TFS 2013 在visual studio , team explorer , source control explorer 中点击 文件夹 右键菜单 Security 打开一个winform(内含网页控件)设置需要的权限的用户拥有Read权限 但是被设用户无法看见相关的任何代码。 ... 阅读全文

posted @ 2013-10-16 09:28 norsd 阅读(242) 评论(0) 推荐(0) 编辑

2013年9月22日

以后看下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) 编辑

2013年9月4日

DataGridTemplateColumn 如何获取内部控件

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

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

2013年9月3日

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 阅读(543) 评论(0) 推荐(0) 编辑

2013年8月30日

Visual Studio 的Build Event 使用

摘要: rmdir Configuration mkdir Configuration Copy "$(ProjectDir)Configuration\Spec.config" "$(TargetDir)Configuration\Spec.config" /y http://stackove... 阅读全文

posted @ 2013-08-30 09:19 norsd 阅读(420) 评论(0) 推荐(0) 编辑

2013年8月24日

Managed C++ wtypes.h DATE 转化为 .net的 DateTime

摘要: http://stackoverflow.com/questions/570224/how-do-i-convert-from-mfcs-coledatetime-to-c-sharp-datetime 在转化C++到 .net 时遇到这个问题 , 原来是使用 COleDateTime... 阅读全文

posted @ 2013-08-24 19:21 norsd 阅读(165) 评论(0) 推荐(0) 编辑

VS代码中常用 正则表达式

摘要: 1. #define ABC 1 修改为 enum 样式: #define (.+?)\s+(.+?)$ $1 = $2 , 阅读全文

posted @ 2013-08-24 18:23 norsd 阅读(264) 评论(0) 推荐(0) 编辑

2013年8月21日

R Factor 如何转为c()

摘要: 从 R语言本身来说 > f [1] 130015.IB 130013.IB Levels: 130013.IB 130015.IB > data = c(f) > data [1] 2 1 直接是数字,表示对其内部的 2(第二个数据为130015.IB) 和 1(第一个数据为130013... 阅读全文

posted @ 2013-08-21 15:21 norsd 阅读(294) 评论(0) 推荐(0) 编辑

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 35 下一页

导航