02 2007 档案
摘要:事件源对象event.srcElement.tagNameevent.srcElement.type 捕获释放event.srcElement.setCapture(); event.srcElement.releaseCapture(); 事件按键event.keyCodeevent.shiftKeyevent.altKeyevent.ctrlKey 事件返回值event.returnVal...
阅读全文
摘要:Clients should not be forced to depend on methods that they do not use.
阅读全文
摘要:a.High-level modules should not depend on low-level modules.Both should depend on abstractions.b.Abstractions should not depend on details.Detils should depend on abstractions.
阅读全文
摘要:Subtypes must be substitutable for their base types.
阅读全文
摘要:Software entities (class,modules,functions,etc.) should be open for extension,but closed for modification."Open for extension.":This means that the behavior of the module can be extended.As the requir...
阅读全文
摘要:A class should have only one reason to change.
阅读全文
摘要:Regidity--The system is hard to change because every change forces many other changes to other parts of the system. Fragility--Changes cause the system to break in places that have no concept...
阅读全文
摘要:/Files/nanshouyong326/a.rar 前些日子做了个动态生成控件,但却要在多个页面中使用,从而使代码重复的相当严重,想有时间把它做成控件.用以减少代码重复.上面是做了简单的一步.就没做,主要是思路没想好..
阅读全文

浙公网安备 33010602011771号