上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 45 下一页

2013年9月4日

DataGridTemplateColumn 如何获取内部控件

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

posted @ 2013-09-04 17:52 norsd 阅读(310) 评论(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 阅读(554) 评论(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 阅读(429) 评论(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 阅读(174) 评论(0) 推荐(0)

VS代码中常用 正则表达式

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

posted @ 2013-08-24 18:23 norsd 阅读(274) 评论(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 阅读(299) 评论(0) 推荐(0)

MongoDb Samus c# Find函数的使用说明

摘要: 长活短说, 网上有一些是不对的 比如 Op.GreaterThan(...).LessThan(..) 不能这么用来表示 ( , ) 而应该这么用: var doc = new Document( arg_strColumnName, ... 阅读全文

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

WPF DataGrid foreground 绑定问题

摘要: 初学WPF , 希望对DataGrid 中所属的一个Column名下的值的颜色动态修改 但是使用如下语句并没有起作用: Foreground="{Binding Path=ImpRepo,Converter={StaticResource IRRColorConvert}}" IR... 阅读全文

posted @ 2013-08-21 08:02 norsd 阅读(724) 评论(0) 推荐(0)

2013年8月20日

Ironpython 安装numpy包

摘要: http://pytools.codeplex.com/wikipage?title=NumPy%20and%20SciPy%20for%20.Net https://www.enthought.com/repo/.iron/ 1.下载一个 ironpkg 这个是ironpython的一个... 阅读全文

posted @ 2013-08-20 21:41 norsd 阅读(1321) 评论(0) 推荐(0)

2013年8月11日

WPF 加载 WINFORM控件 异常: 调度程序进程已挂起,但消息仍在处理中

摘要: 在加载TradeAtServer的统计中的 单个合约盈亏情况 异常:,调度程序进程已挂起,但消息仍在处理中 发现可能是属性设置引发的问题 比如DateTimePikcer.Value+= set, get 等等 阅读全文

posted @ 2013-08-11 01:40 norsd 阅读(1169) 评论(0) 推荐(0)

上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 45 下一页

导航