由于项目显示内容列表采用的是codejock
software里面的ReportControl控件。在没有显示内容时,提示文字"There are no items to
show",想显示成中文的提示内容。后台修改代码: this.reportControl控件名称.PaintManager.No...
分类:
其他好文 时间:
2014-06-11 22:45:42
阅读次数:
204
在lp注册 一个 lp ID, 比如 alangwansui然后添加SSH
keys。为自己的管理添加权限。注册一个项目的 比如 melody。然后就可以开始使用bzr 在这个项目下建立代码版管理了。bzr push
lp:~alangwansui/melody/branch_name.要提交代码....
分类:
其他好文 时间:
2014-06-11 13:01:27
阅读次数:
258
这是对整个界面的快捷键的设置,比如查询,保存。 1 protected override
bool ProcessCmdKey(ref Message msg, Keys keyData) 2 { 3 if (keyData == Keys.F...
Map总结:tree排序,hsah保证唯一性Map集合特点:该集合存储键值对,一对一对往里存,而且要保证键的唯一性。Map和Set很像,Set底层就是使用了Map集合。Map没有迭代器,要靠keySet和entrySet方法返回Set,在用迭代器。Map
|--Hashtable:底层是哈希表数据结...
分类:
其他好文 时间:
2014-06-11 09:42:38
阅读次数:
351
The gray code is a binary numeral system where
two successive values differ in only one bit.Given a non-negative
integernrepresenting the total number...
分类:
其他好文 时间:
2014-06-10 00:01:38
阅读次数:
392
android传感器的坐标系统和其2D设计并不相同,坐标系如下图:使用SensorManager对象注册传感器监听器后,在onSensorChanged方法内可以得到SensorEvent的一个对象。而SensorEvent对象有一个重要的成员变量public
final float[]values...
分类:
移动开发 时间:
2014-06-08 07:39:57
阅读次数:
302
PathsumDescription:Given a binary tree and a
sum, determine if the tree has a root-to-leaf path such that adding up all the
values along the path equa...
分类:
其他好文 时间:
2014-06-08 01:11:46
阅读次数:
395
Memcached
是一个高性能的分布式内存对象缓存系统,用于动态Web应用以减轻数据库负载。它通过在内存中缓存数据和对象来减少读取数据库的次数,从而提高动态、数据库驱动网站的速度。Memcached基于一个存储键/值对的hashmap。其守护进程(daemon
)是用C写的,但是客户端可以用任何语...
分类:
其他好文 时间:
2014-06-07 20:24:16
阅读次数:
191
A basic requirement is that the function should
provide a uniform distribution of hash values. A non-uniform distribution
increases the number of coll...
分类:
其他好文 时间:
2014-06-07 16:58:29
阅读次数:
240
Given a binary tree and a sum, determine if the
tree has a root-to-leaf path such that adding up all the values along the path
equals the given sum.Fo...
分类:
其他好文 时间:
2014-06-07 16:55:09
阅读次数:
173