NHbernate自动生成数据库的方法:using NHibernate;using NHibernate.Tool.hbm2ddl;namespace Test{ public class NHDataProvier { private readonly ISessionFacto...
分类:
系统相关 时间:
2014-07-07 18:20:48
阅读次数:
233
《EffectiveC#》这本书讲了一些关于C#语言的使用技巧和经验. 该系列文章是备忘录和自己的一些见解.程序猿们最喜欢这类问题了,欢迎讨论~菜单Item 1 使用属性取代公共成员变量Item 2 优先考虑readonly而不是constItem 3 使用is/as取代转换操作符来进行对象类型转换...
分类:
其他好文 时间:
2014-06-30 14:57:30
阅读次数:
319
@property(nonatomic, readonly, retain) UILabel *titleLabelDescription - 描述A view that displays the value of the currentTitle property for a button. (r...
分类:
其他好文 时间:
2014-06-28 21:42:04
阅读次数:
277
readonly、disabled、autocomplete readonly表示此域的值不可修改,仅可与 type="text" 配合使用,可复制,可选择,可以接收焦点,后台会接收到传值. 代码如下: disabled表示禁用input元素,不可编辑,不可复制,不可选择,不能接收焦点,后台也不会接...
分类:
其他好文 时间:
2014-06-25 13:55:07
阅读次数:
282
abstract class BaseAction extends ActionSupport {
protected DB db;
protected static Log log = LogFactory.getLog(BaseAction.class);
private long requestId;
private boolean readOnly = false;
priv...
分类:
其他好文 时间:
2014-06-24 20:10:32
阅读次数:
197
BlogEngine2.0里找到的:Web.Config: /// /// The regex mobile. /// private static readonly Regex RegexMobile = new...
分类:
移动开发 时间:
2014-06-20 22:00:47
阅读次数:
454
问题:当 Memo設定為 ReadOnly = True 後, 选取一段文字后,無法有複製的功能。适用:XE6 Android 系统(目前 iOS 还找不到方法)修正方法:请将源码 FMX.Platform.Android.pas复制到自己的工程目录里,再进行修改。找到TWindowManager....
分类:
其他好文 时间:
2014-06-20 20:37:54
阅读次数:
169
public class Weather { static readonly string FilePath = System.Environment.CurrentDirectory + @"\Area.txt"; public static Models.Are...
分类:
Web程序 时间:
2014-06-18 19:31:48
阅读次数:
140
UIButton的titleLabel@property(nonatomic, readonly, retain) UILabel *titleLabelDescription - 描述A view that displays the value of the currentTitle proper...
分类:
其他好文 时间:
2014-06-18 09:08:25
阅读次数:
160
GET通常用于包含定义常量的源文件。
例如:GET 2440addr.inc
用AREA定义一个段,ENTRY用于指定程序的入口点,END用于告诉汇编器源文件已经结束。
例如:
AREA init, CODE, READONLY
ENTRY
......
END
EQU用于定义常量,提醒:在每条ARM指令前必须有空格,但是用EQU定义常量时,必须顶格写,否则编译器报错。
LT...
分类:
其他好文 时间:
2014-06-18 06:12:59
阅读次数:
244