在JavaScript中,prototype对象是实现面向对象的一个重要机制。 每个函数就是一个对象(Function),函数对象都有一个子对象 prototype对象,类是以函数的形式来定义的。prototype表示该函数的原型,也表示一个类的成员的集合。 定义一个名称为Mouse的函数(方法) ...
分类:
其他好文 时间:
2018-11-15 18:22:08
阅读次数:
240
class userTabControl : TabControl { const int CLOSE_SIZE = 15; protected override void OnInvalidated(InvalidateEventArgs e) { this.DrawMode = TabDrawM ...
分类:
其他好文 时间:
2018-11-12 14:58:01
阅读次数:
113
更换:git remote set-url origin http://git.caomall.cn/sucry/mouse.git」 ...
分类:
其他好文 时间:
2018-11-07 11:27:08
阅读次数:
177
二.jQuery是什么 jQuery由美国人John Resig创建,至今已经吸引了来自实践各地的众多javascript高手加入其team jQuery是继prototype之后又一个优秀的JavaScript框架,其宗旨是 WRITE LESS,DO MORE! 它是轻量级的JS库(压缩后只有2 ...
分类:
Web程序 时间:
2018-11-06 15:42:02
阅读次数:
222
1.函数都有返回值...... 而方法的本质也是函数,所有也有返回值。 Document。getElementById()返回的是获取的标签 getElementByClassName()和getElementsByTagName()返回的是一个数组 Document.getElementsByCl ...
分类:
Web程序 时间:
2018-10-30 21:16:32
阅读次数:
178
Riley Karson is a software engineer at Google, where he works as a contributor to the Google Cloud Platform provider for Terraform. Outside of work, Riley loves board gaming and hiking.
分类:
系统相关 时间:
2018-10-29 14:13:07
阅读次数:
221
blurfocusfocusinfocusoutloadresizescrollunloadclickdblclickmousedownmouseupmousemovemouseovermouseoutmouseentermouseleavechangeselectsubmitkeydownkeyp ...
分类:
其他好文 时间:
2018-10-29 10:30:36
阅读次数:
136
1、设置鼠标悬浮提示 General -- Show quick documentation on mouse move 2、自动导包 3、设置显示行号和方法的间隔符 4、忽略大小写 4、设置取消单行显示 Tabs 的显示,即多行显示 ...
分类:
其他好文 时间:
2018-10-28 19:27:09
阅读次数:
318
这个版本,只能算是一个雏形,把最基本的东西给完成了,不过,后面可添加的也不多。有一点,还是想去实现,那就是敌方坦克自己寻找对手!也就是游戏AI. emmm, 什么时候可以了解一下这个AI。顺便学学python。 这个帖子只是为了贴上代码,对后续的代码作为优化和添加游戏AI做准备的。 1. 各类接口 ...
分类:
编程语言 时间:
2018-10-27 17:07:32
阅读次数:
185