windows下多屏支持一个简单的思路就是找到显示器的区域(EnumDisplayMonitors),并把相应的窗口移动到目标区域(windows API:MoveWindow)。下面是一个简单的查找显示区域方法,gRects为查找到的显示区域,gMCount为查找到的个数。 1 unit E...
作为一个不懂计算机的小白,你是不是经常听朋友说起CPU、内存、主存、机械硬盘、固态硬盘、主板等等一些高大山的专业术语,感觉自己弱爆了有木有~~ 这些都是学习编程必须了解的计算机硬件基础,我来给大家讲解一下。 一. CPU CPU 是 Central Processing Unit 的简写,...
分类:
编程语言 时间:
2015-01-06 17:35:51
阅读次数:
247
写在最前,摘自 K&R
The only legal operations on a structure are copying it or assigning to it as a unit, taking its address with & (读作
ampersand), and accessing its members,
翻译成中文是这样的,对于一个结构体而言,唯一合...
分类:
移动开发 时间:
2015-01-04 21:25:24
阅读次数:
907
unit UFrmModless;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TFrmModeless = cla...
分类:
Windows程序 时间:
2015-01-04 21:01:30
阅读次数:
1621
本文仅作个人积累。待功成,重新分类排版。1:shell 为命令行解释器。分为:交互式Shell和Shell脚本。2:文件名建议字符集:字母+数字+ ./-/_ 尽量不要使用其他符号。因为特殊符号在很多功能中已经被占用。3:
分类:
其他好文 时间:
2015-01-03 17:07:48
阅读次数:
144
代码1 object HelloWorld {2 def main(args: Array[String]): Unit = {3 println("Hello world") 4 }5 }解说object关键字相当于static(更确切的说法是单例模式的一种语言层面...
分类:
其他好文 时间:
2015-01-01 21:07:39
阅读次数:
197
文章来自:http://www.cnblogs.com/hark0623/p/4196452.html 转发请注明代码如下:/** * 隐式转换 隐式参数 隐式类 *///隐式转换class Implicit(a: A) { def Test: Unit = { println("Im...
分类:
其他好文 时间:
2014-12-31 21:21:55
阅读次数:
208
Asp.net webform scaffolding结合Generic Unit of Work & (Extensible) Repositories Framework代码生成向导在上次发布的使用简单Repositories模式生成的代码结构有点繁琐太过复杂,而且整个项目层次结构很不清晰,在开...
分类:
Web程序 时间:
2014-12-31 14:19:06
阅读次数:
239
/** * Created by Administrator on 2014-12-31. */class ApplyTest { def apply() = "Apply customer" def test(): Unit = { println("test") }}object A...
分类:
移动开发 时间:
2014-12-31 07:37:11
阅读次数:
162
1.scala中的Int): Unit ={ }}View Code其中的Function1的定义如下2.与view bounds一样context bounds(上下文界定)也是隐式参数的语法糖object Test { def main(args: Array[String]) { } ...
分类:
其他好文 时间:
2014-12-30 23:17:04
阅读次数:
744