上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 45 下一页

2013年5月15日

wpf TabControl TabItem 被点击信息

摘要: ... 阅读全文

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

2013年5月10日

WPF CodeBehind 草稿

摘要: var column1 = new DataGridTextColumn(); column1.Header = "Hello World"; column1.Binding = new Binding("firstName"); var column2 = new DataGridTe... 阅读全文

posted @ 2013-05-10 15:22 norsd 阅读(196) 评论(0) 推荐(0)

2013年5月3日

C++/CLI/VC.NET 实现OpenFileDialog的定制,使他可以选择文件夹

摘要: 1.原因 前段时间需要使用OpenFileDialog选择文件夹,google上有c#的办法,比较简单,只要设置Filter=乱七八糟的符号,让所有文件都显示不出来就可以。但是这样总是有点不舒服。让我想起过去在MFC模式下创建的VC的OpenFileDialog定制,需要使用到资源文件(因为系统... 阅读全文

posted @ 2013-05-03 09:47 norsd 阅读(808) 评论(0) 推荐(0)

2013年4月27日

VC.net 创建 ref class 后, C#调用报错 Cannot create an instance of the abstract class or interface CS0144

摘要: VC.net 创建 ref class 后 C#调用报错 Cannot create an instance of the abstract class or interface CS0144 同样的错误:http://computer-programming-forum.com/... 阅读全文

posted @ 2013-04-27 14:43 norsd 阅读(467) 评论(0) 推荐(0)

2013年4月23日

c# 工程加入 win32 资源文件

摘要: 这种事情就是一个字烦人,蛋疼,特别蛋疼。 搞了我一天。方法有几种,都特别烦,一个是 build event , 一个是 msbuild今天说 build event1.在 Build Events 中 , Pre-build 输入:copy $(ProjectDir)Time/norlib.... 阅读全文

posted @ 2013-04-23 17:33 norsd 阅读(428) 评论(0) 推荐(0)

2013年4月20日

期货数据采集的一些问题汇总

摘要: 1. CFFEX IF 数据 , 每秒2笔。 如果没有成交,仅仅委托变动是没有数据的 2. 这类数据是 交易所推送到 期货经纪公司 每秒取2笔。因为不是实时数据,所以有可能每天的开盘第一笔数据的last price 不是open price. 比如: IF1302 2012/12/27 ... 阅读全文

posted @ 2013-04-20 17:11 norsd 阅读(369) 评论(0) 推荐(0)

2013年4月19日

VC 一些配置问题, include, lib 种种

摘要: 1. Configuration Properties -> General Output Directory 设置输出路径 TargetName 设置输出的文件名,不包扩扩展名,一般是 $(ProjectName) Target Extension 设置输的文件扩展名 2. Config... 阅读全文

posted @ 2013-04-19 16:18 norsd 阅读(177) 评论(0) 推荐(0)

2013年4月17日

ManualResetEvent 与 AutoResetEvent

摘要: 1. ManualResetEvnet var mevent = new ManualResetEvent(false); Task.Factory.StartNew(() => { mevent.W... 阅读全文

posted @ 2013-04-17 11:25 norsd 阅读(191) 评论(0) 推荐(0)

2013年4月10日

DataGirdView 新建 Row 鼠标点击 数据变成 空白 的问题

摘要: 今日使用DataGridView 在Form中Init代码如下: dataGridView1.SetColumn(typeof(DebtNormal),ePropertyFieldFilter.All); var debtinfo = new De... 阅读全文

posted @ 2013-04-10 14:12 norsd 阅读(205) 评论(0) 推荐(0)

2013年4月7日

MySQL 查看所有用户

摘要: select * from mysql.user 阅读全文

posted @ 2013-04-07 12:58 norsd 阅读(145) 评论(0) 推荐(0)

上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 45 下一页

导航