记点笔记 概念多了 理顺还待时日: 总的来说:1.ng-src src属性2.ng-href href属性3.ng-checked 选中状态4.ng-selected 被选择状态5.ng-disabled 禁用状态6.ng-multiple 多选状态7.ng-readonly 只读状态注意: 上面的...
分类:
Web程序 时间:
2015-07-09 22:37:54
阅读次数:
152
public class AppSettingsHelper { private static readonly NameValueCollection appSettings; static AppSettingsHelper() { ...
public delegate void DoHandler(); public class TimeoutLimit { private readonly ManualResetEvent _mTimeoutObject; private bool _tim...
//定义了这个宏之后#define CC_SYNTHESIZE_READONLY(varType, varName, funName)protected: varType varName;public: inline virtual varType get##funName(void) const ...
分类:
其他好文 时间:
2015-07-09 11:02:32
阅读次数:
101
//打开一个已有的数据库
SQLiteDatabase db = SQLiteDatabase.openDatabase(path, null, SQLiteDatabase.OPEN_READONLY);
例子:操作手机归属地的数据库
1:将自己的数据库放到项目的assets/下
assets/address.db
2:软件启动时将数据库复制到data/data/包名/files/目录...
分类:
移动开发 时间:
2015-07-06 12:25:39
阅读次数:
138
const编译时常量static readonly运行时常量直接上代码1.新建一个类库BLL->添加类Teacher 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Tex...
让一个类只有一个对象,全局唯一非多线程模式,实现方法:方法1:1 public class SingletonTest2 {3 public static readonly SingletonTest Instance = new SingletonTest();4 ...
分类:
其他好文 时间:
2015-07-02 20:56:27
阅读次数:
152
public class SettingHelper { //WPF下配置文件路径 public static readonly string SettingFilePath = AppDomain.CurrentDomain.BaseDirectory + ...
c++学习(1)1.const C VS C++:在c语言中const是一个只读变量(ReadOnly Varible),在c++中const只是代表常量(Constant)。例:const int n=10;int arry[10]//OK in c++ error in c。2.指针的两个属性:...
分类:
编程语言 时间:
2015-06-26 23:34:39
阅读次数:
195
最近学习js,闲来无事就写了个简单的日历控件,不知道别人是怎么实现的,纯粹自己想法写的,
写的不好 ,但可以起到抛砖引玉的作用。
先来看效果。
调用时候的代码 就一句,引入我写的js文件, 前提text框必须有rlk=“rl” 才会被我识别成要做日历控件的文本框, 我回把它设为readonly...
分类:
编程语言 时间:
2015-06-26 21:10:42
阅读次数:
187