2014年10月28日

CTBCMCLibUser类

摘要: 想要从 CMC lib 接收事件,必须继承这个类。在virtual TBX_VOID OnCallLegPresent( TBCMC_LEG_ID in_LegId, CTBCMC_CALL_LEG_ATTRIBUTE_COMMON & in_CallLegAttribute, CTBCMC_PRO... 阅读全文

posted @ 2014-10-28 14:24 齐文宣 阅读(200) 评论(0) 推荐(0)

2014年10月23日

TB timer 的用法

摘要: 设置timer的函数在 CVHCallFlow定义bool CVHCallFlow::StartTimer2(PCTBCMCTimer *timer, int delayMS, TBX_UINT32 legid, int trigger_event){TBCAF_MUTEX_GET_SCOPE_BE... 阅读全文

posted @ 2014-10-23 15:10 齐文宣 阅读(469) 评论(0) 推荐(0)

2014年9月19日

多个 additional include directories 的复制方法

摘要: 如果某个大项目的 additional include directories 很多 , 想仿照此项目新建一个工程时 , 不必一个个的手动添加include 路径可以 用写字板打开项目文件 , 复制关于 additional include directories 部分到新项目 。 阅读全文

posted @ 2014-09-19 10:31 齐文宣 阅读(563) 评论(0) 推荐(0)

怎样在编译时不显示警告

摘要: 如果不想显示 4996 号 警告加一行: #pragma warning(disable : 4996)放在 cpp 文件 , #include 之前 。 阅读全文

posted @ 2014-09-19 09:43 齐文宣 阅读(826) 评论(0) 推荐(0)

2014年9月5日

infragistics 循环每一个选中的行

摘要: using Infragistics.Shared;using Infragistics.Win;using Infragistics.Win.UltraWinGrid;using System.Diagnostics; foreach (UltraGridRow linha in ultraG... 阅读全文

posted @ 2014-09-05 10:49 齐文宣 阅读(169) 评论(0) 推荐(0)

Infragitics ultra grid 实现点击某一个cell的时候选中整行,并且不可编辑

摘要: 在初始化的时候 ,加一句 :ultraGrid1.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect; 阅读全文

posted @ 2014-09-05 09:29 齐文宣 阅读(267) 评论(0) 推荐(0)

2014年8月14日

c#转换 datetime

摘要: string formatString = "yyyyMMddHHmmss"; string s1 = "20140813200000"; DateTime EnrollDate = DateTime.ParseExact(s1, formatString, null); 阅读全文

posted @ 2014-08-14 14:25 齐文宣 阅读(405) 评论(0) 推荐(0)

2014年8月7日

c# 用代码定义带数据的datatable

摘要: DataTable customerTable = new DataTable(); customerTable.Columns.Add("clsCustomerID", typeof(string)); customerTable... 阅读全文

posted @ 2014-08-07 10:02 齐文宣 阅读(881) 评论(0) 推荐(0)

2014年7月17日

c# 将窗体从一个project复制到另一个project

摘要: 步骤 1 : 假设窗体名为 Form1 ,将 Form1.design.cs , Form1.cs , Form1.resx 三个文件copy 到目标文件夹 2 : 先add existing ,将 Form1.design.cs添加进去 , 然后记得改 project namespace 3 ... 阅读全文

posted @ 2014-07-17 13:24 齐文宣 阅读(1092) 评论(0) 推荐(0)

2014年6月1日

奇怪的 sql server 2008 Power 函数

摘要: bigint 的数据范围是 从 -2^63 (-9223372036854775808) 到 2^63-1 (9223372036854775807) 的整型数据但是 ,如果这么写 print CAST(POWER(3, 20) AS BIGINT) 会报这个错误 Msg 232... 阅读全文

posted @ 2014-06-01 20:38 齐文宣 阅读(595) 评论(0) 推荐(0)

导航