码迷,mamicode.com
首页 >  
搜索关键字:unit 6练习    ( 4539个结果
NSDate,NSCalendar:判断是否为今天,昨天,今年
/*** 是否为今天*/- (BOOL)isToday{ NSCalendar *calendar = [NSCalendar currentCalendar]; int unit = NSCalendarUnitDay | NSCalendarUnitMonth | NSCalendarUni.....
分类:其他好文   时间:2015-06-04 19:06:30    阅读次数:270
mybatis错误 Mapped Statements collection does not contain value for
java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for在unit里测试怎么也通不过,最后终于找到问题,原来是命名空间没写对,如果使用mapper,则空间中一定要写上Mapp...
分类:移动开发   时间:2015-06-04 18:55:42    阅读次数:144
sp转dp dp转px
(int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, mTextSize, context.getResources().getDisplayMetrics())a.getDimensionPixelSize(R.styleable....
分类:其他好文   时间:2015-06-04 17:01:23    阅读次数:118
发现个delphi调用vc写的Dll中包含pchar参数报错奇怪现象
发现个delphi调用vc写的Dll中包含pchar参数奇怪现象 procedure中的第一行语句不能直接调用DLL的函数,否则会运行错,在之前任意加上条语句就不报错了奇怪! vc的DLL源码地址 http://blog.csdn.net/lqena/article/details/46357165 Delphi源码如下: unit Unit1; interface use...
分类:Windows程序   时间:2015-06-04 15:44:15    阅读次数:180
Business Unit Lookup in Form
Just add the below code in lookup() of StringEdit control in Form to get the Business Unit Lookup:public void lookup(){Query query;SysTableLookup sysT...
分类:其他好文   时间:2015-06-04 15:32:30    阅读次数:149
XE7 Unit scope names
今天编译RM报表 7.0 for XE7 ,build设计时包,提示{$IFDEF JPEG}, JPEG{$ENDIF}没有找到 JPEG.DCU,这个应该是XE7自带。给Delhi.命名空间 指定单元范围名称 前缀,使你可以在代码中和uses子句或者 包含子句里,使用 部分匹配的名称。Speci...
分类:其他好文   时间:2015-06-04 13:43:36    阅读次数:258
DELPHI 动态 创建和释放 多个 EDIT 控件
unit Unit1;interfaceusesWindows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialogs, StdCtrls, ExtCtrls;typeTForm1 = class(TForm...
分类:Windows程序   时间:2015-06-04 11:06:26    阅读次数:132
udacity android 学习笔记: lesson 4 part a
contract/table inner join weatherContract+ define constants + locationEntry. sqllite open helper and database /weatherDbHelper /unit test+ create DB + helper on Upgrade readwrite from a database/overview/...
分类:移动开发   时间:2015-06-04 07:28:33    阅读次数:698
Verification之PSL之Quick guide
3 External assertion files Syntax1 vunit name (hierarchical_HDL_design_unit)2 {3 default clock is ;4 ;5 ...6 } Example1 vunit check_dram_cont...
分类:其他好文   时间:2015-06-03 21:23:40    阅读次数:121
android TypedValue.applyDimension()的作用
这个方法是转变为标准尺寸的一个函数,例如int size = (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 20, context.getResources().getDisplayMetrics());这里COMPLEX_UN...
分类:移动开发   时间:2015-06-03 19:23:17    阅读次数:165
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!