码迷,mamicode.com
首页 >  
搜索关键字:attributes    ( 887个结果
C#中的Attributes的用法
今天研究了一下C#中的Attributes的用法,感觉很有用,现总结以下: 在前台用JS写的脚本方法,除了可以直接用在前台控件的属性中,还可以在后台运用。 即在后台页面加载时,调用JS方法。语法格式有两种,如下: 第一种写法:控件ID名.Attributes.Add(“事件名称”,“JS方法”);如...
分类:其他好文   时间:2014-10-09 14:23:23    阅读次数:241
SECURITY_ATTRIBUTES 设置低权限
Windows 从 Vista 開始又一次改动了其系统的权限管理机制,于是如今就会碰到一些 xp 能过而 win7 不能过的代码。比方 Service 程序和一般应用程序用共享内存的方式来通讯,CreateFileMapping 的第二个參数我们往往都是填 NULL 使用默认权限(Service 的...
分类:其他好文   时间:2014-10-09 00:22:47    阅读次数:196
管道(Pipe)/createPipe
BOOL CreatePipe(PHANDLE hReadPipe, // 指向读句柄的指针 PHANDLE hWritePipe, // 指向写句柄的指针 LPSECURITY_ATTRIBUTES lpPipeAttributes, // 指向安全属性的指针 DWORD nSize // 管道大...
分类:其他好文   时间:2014-10-07 21:34:24    阅读次数:194
Class diagrams
So far we have seen stack diagrams, which show the state of a program, and object diagrams, which show the attributes of an object and their values. T...
分类:其他好文   时间:2014-10-06 20:39:30    阅读次数:117
HTML5页面开发的基础性模板
分享一个HTML5页面开发的基础性模板,包含了两个版本: 开发版本 注释版本 开发版本 注释版本标签的互操作性及其可访问性 更多HTML标签全局性属性 请阅读这里: http://www.w3.org/TR/html-markup/global-attributes.html --> -...
分类:Web程序   时间:2014-10-03 20:49:15    阅读次数:253
jQuery学习之addClass()
参考资料:1.W3School在线教程:http://www.w3school.com.cn/jquery/attributes_addclass.asp2.API中文文档:http://www.css88.com/jqapi-1.9/addClass/index.html两种参数;用来添加CSS类名,常与.removeClass()一起使用。
分类:Web程序   时间:2014-09-30 14:31:30    阅读次数:221
Objects are mutable
We can change the state of an object by making an assignment to one of its attributes. For example, to change the size of a rectangle without changing...
分类:其他好文   时间:2014-09-30 02:18:01    阅读次数:190
品鉴Velocity之 -- 文件读与写
private static VelocityContext vc; static { vc = new VelocityContext(); } public static void generateFile(String tempatePath, String destPath, Map<String, Object> attributes) { Template te...
分类:其他好文   时间:2014-09-29 15:29:11    阅读次数:147
iOS 改动toolbar里面文字的字体和大小
使用NSDictionaty来设置文本的属性:NSDictionary * attributes = @{NSFontAttributeName: [UIFont fontWithName:@"Heiti SC" size:20]}; [confirmBarButton setTitleTex...
分类:移动开发   时间:2014-09-27 23:29:01    阅读次数:203
iOS:文本属性(Attributes)
自iOS7推出,文字的处理越来越灵活了,我们该如何使用这些漂亮的文字呢:NSKernAttributeName: @10 //调整字句 kerning 字句调整 NSFontAttributeName : [UIFont systemFontOfSize:_fontSize...
分类:移动开发   时间:2014-09-27 22:57:30    阅读次数:268
887条   上一页 1 ... 76 77 78 79 80 ... 89 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!