Aspect Oriented Programming 面向切面编程。解耦是程序员编码开发过程中一直追求的。AOP也是为了解耦所诞生。具体思想是:定义一个切面,在切面的纵向定义处理方法,处理完成之后,回到横向业务流。AOP 主要是利用代理模式的技术来实现的。1、静态代理:就是设计模式中的proxy模...
分类:
编程语言 时间:
2014-07-30 11:43:23
阅读次数:
330
System.getProperty("user.dir") : E:\workspace\lucene class.getResource("") : /E:/workspace/lucene/target/test-classes/com/hbzx/lucene/ class.getResource("/") : /E:/workspace/lucene/target/test-clas...
分类:
编程语言 时间:
2014-07-30 01:10:43
阅读次数:
224
TreeView节点拖拉操作1 //事先设置 TreeView1.DragMode= dmAutomatic; unitUnit1; interface uses Windows,Messages,SysUtils,Variants,Classes,Graphics,Controls,Forms, ...
分类:
其他好文 时间:
2014-07-29 21:38:52
阅读次数:
245
ListView往TreView里面拖拽 unitUnit1; interface uses Windows,Messages,SysUtils,Variants,Classes,Graphics,Controls,Forms, Dialogs,ComCtrls; type TForm1=class...
分类:
其他好文 时间:
2014-07-29 21:38:12
阅读次数:
241
//这个拖拽的感觉不对
unit Unit1;interfaceusesWindows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,ComCtrls;typeTForm1 = class(TForm)TreeVie...
分类:
其他好文 时间:
2014-07-29 21:37:23
阅读次数:
227
一、property解释 根据文档资料解释:property([fget[, fset[, fdel[, doc]]]])Return a property attribute for new-style classes (classes that derive from object) 使用这.....
分类:
编程语言 时间:
2014-07-29 21:35:22
阅读次数:
286
unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ShellAPI;type TForm1 = class(TF...
分类:
其他好文 时间:
2014-07-29 21:30:52
阅读次数:
224
unitUnit1; interface uses Windows,Messages,SysUtils,Variants,Classes,Graphics,Controls,Forms, Dialogs,ComCtrls,StdCtrls; type TForm1=class(TForm) List...
分类:
其他好文 时间:
2014-07-29 21:27:32
阅读次数:
320
效果不正确unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TForm1 = class(TForm) ...
分类:
编程语言 时间:
2014-07-29 21:25:12
阅读次数:
271
停留在窗体下面 处于
force my form to stay on the bottom?unit Unit1;interfaceusesWindows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialo...