# lock across processe.g. Server handles request from different clients, there clients are essentially different processes, they could potentially wri...
分类:
其他好文 时间:
2015-08-18 21:15:05
阅读次数:
150
页面级捕获未处理异常 - Page 的 Error 事件1 Protected Sub Page_Error(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Error2 Response.Red...
分类:
Web程序 时间:
2015-08-13 15:40:14
阅读次数:
134
描述:Select2插件在IE中,当页面加载完毕后会自动的focus,弹出本来应该点击input才会有个提示语。原因:在select2的源码中第1849行左右,有一段监听input事件的代码,如下:this.$selection.on('keyup.search input', '.select2-search--inline',function (evt) {
self.handleS...
分类:
其他好文 时间:
2015-08-11 10:07:13
阅读次数:
758
TheUIViewclass defines a rectangular area on the screen and the interfaces for managing the content in that area. At runtime, a view object handles th...
分类:
其他好文 时间:
2015-07-30 16:35:08
阅读次数:
141
http://www.cnblogs.com/Cohlint/archive/2012/11/26/2788790.html这篇javascript 语言精粹 学习笔记不错。。不过看上去就是读书笔记,没有深入研究某个点。。比如闭包。。我还是不懂噢。。比如17条:“add_the_handles函数目...
分类:
编程语言 时间:
2015-07-30 01:57:45
阅读次数:
139
AutoEventWireup 如果 Page 指令的 AutoEventWireup 属性被设置为 true(或者如果缺少此属性,因为它默认为 true),该页框架将自动调用页事件,即 Page_Init 和 Page_Load 方法。在这种情况下,不需要任何显式的Handles 子句或委托。 当...
避免返回handles指向对象内部成分本节作者讲述的知识核心是对于一个类来说,应该避免类返回自己内部的私有数据。
如下:class Point{
public:
Point(int x, int y);
……
void setX(int newVal);
void setY(int newVal);
……
};struct RectData{
Poi...
分类:
编程语言 时间:
2015-06-30 16:29:03
阅读次数:
125
3、Laying thegroundwork for our handles为我们处理奠定基础4、Creating a handle5、Drawing lines in thescene view 6、Coloring handles7、Dynamically sizinghandles public class TerrainPiece : MonoBehaviour { pu...
分类:
编程语言 时间:
2015-06-15 09:11:50
阅读次数:
595
题目传送门 1 /* 2 题意:给出一系列名字变化,问最后初始的名字变成了什么 3 字符串处理:每一次输入到之前的找相印的名字,若没有,则是初始的,pos[m] 数组记录初始位置 4 在每一次更新时都把初始pos加上去,那么就保证更新了初始的名字,这也...
分类:
其他好文 时间:
2015-06-11 21:13:31
阅读次数:
129
(一)有时候为了让一个对象尽量小,能够把数据放在另外一个辅助的struct中,然后再让一个类去指向它。看以下的代码:class Point {public: Point(int x, int y); void setX(int newVal); void setY(int newVal);};str...
分类:
编程语言 时间:
2015-06-01 13:10:01
阅读次数:
115