zoukankan
html css js c++ java
关于设计器类程序的模型,先记录下来,怕以后忘记了
1、应该定义一个容器,所有的组件都放在同一个列表中;
2、组件必须是IComponent,可以拦截释放;
3、容器应该包含视图容器,每个视图可以自定义拦截不同的属性(或自定义拦截)以便构建不同的视图;
4、视图本身不包含Add和Remove方法,但包含视图的变动事件;
5、扩展的组件应该包含放入自定义属性的功能,例如存放位置;
6、组件和容器都应该包含XML序列化和反序列化功能;
7、应该实现智能组件指针对象,包含指针发生改变事件;
查看全文
相关阅读:
51 nod 1046 A^B Mod C
51nod 1027 大数乘法
Subversion基础:概念、安装、配置和基本操作(转)
IOS 网络请求中设置cookie
iOS设备控制打印机输出文本
Xcode6中如何添加pch文件
iOS8 PUSH解决方法
iOS8 Push Notifications
xcode升级到6.0以后遇到的警告错误 原帖链接http://www.cocoachina.com/bbs/simple/?t112432.html
xcode升级到6.0以后遇到的警告错误解决方法
原文地址:https://www.cnblogs.com/tansm/p/340347.html
最新文章
NOIP2016 组合数问题
SCOI2012喵星球上的点名
hdu 5340 Three Palindromes(manacher)
poj 2185 Milking Grid
启发式合并复习
51nod 1181 质数中的质数
51nod 1183 编辑距离
RMQ模板
2017.3.29组合数学学习——帕斯卡三角形、二项式定理
2017.3.29组合数学学习——鸽巢原理
热门文章
求原根
伸展树复习
约瑟夫问题
1130 N的阶乘的长度 V2(斯特林近似)
51 nod 1058 N的阶乘的长度
hihoCoder #1143 : 骨牌覆盖问题·一
codevs 1070 普通递归关系
主席树复习
斐波那契数列
51nod 1049 最大子段和
Copyright © 2011-2022 走看看