文件名称:light
-
所属分类:
- 标签属性:
- 上传时间:2014-10-27
-
文件大小:1.79mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
• 应用逻辑设计
1. 灯类
a. 主要属性和行为: 亮熄状态,关联图片资源对象,接受客户的亮熄要求
b. 类CLight
成员变量: m_state
成员函数: init, getState, setState
2. 开关类
a. 主要属性和行为: 关联所控的电灯CLight,接受客户的按动操作
b. 类CSwitch
成员变量: m_pLight
成员函数: init, push
3. 实例对象: 两个开关,一个灯;
操作过程:点击界面按钮,响应点击事件,调用开关的成员函数push,从而点亮或熄灭电灯
• 注意:上述的逻辑代码写在一个头文件中,使用内联式实现其成员函数,并提交。-• application logic design
1. Light class
A. the main attributes and behaviors: bright quenching condition, associated resource object images, accept the bright quenching requirements of our clients
B. class CLight
Member variables: m_state
A member function: init, getState, setState
2. Switch class
A. the main attributes and behaviors: correlation of the lights CLight, accept customer press operation
B. class CSwitch
Member variables: m_pLight
A member function: init, push
3. The instance objects: two switch, a lamp
Operation: click on the button, click event response, invoke the member function push switch, to light up or put out the light
. Note: the above logic code written in a header file, use inline type to achieve its member functions, and submit.
1. 灯类
a. 主要属性和行为: 亮熄状态,关联图片资源对象,接受客户的亮熄要求
b. 类CLight
成员变量: m_state
成员函数: init, getState, setState
2. 开关类
a. 主要属性和行为: 关联所控的电灯CLight,接受客户的按动操作
b. 类CSwitch
成员变量: m_pLight
成员函数: init, push
3. 实例对象: 两个开关,一个灯;
操作过程:点击界面按钮,响应点击事件,调用开关的成员函数push,从而点亮或熄灭电灯
• 注意:上述的逻辑代码写在一个头文件中,使用内联式实现其成员函数,并提交。-• application logic design
1. Light class
A. the main attributes and behaviors: bright quenching condition, associated resource object images, accept the bright quenching requirements of our clients
B. class CLight
Member variables: m_state
A member function: init, getState, setState
2. Switch class
A. the main attributes and behaviors: correlation of the lights CLight, accept customer press operation
B. class CSwitch
Member variables: m_pLight
A member function: init, push
3. The instance objects: two switch, a lamp
Operation: click on the button, click event response, invoke the member function push switch, to light up or put out the light
. Note: the above logic code written in a header file, use inline type to achieve its member functions, and submit.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
light/light.aps
light/light.clw
light/light.cpp
light/light.dsp
light/light.dsw
light/light.h
light/light.ncb
light/light.opt
light/light.plg
light/light.rc
light/Light1.cpp
light/Light1.h
light/lightDlg.cpp
light/lightDlg.h
light/ReadMe.txt
light/resource.h
light/StdAfx.cpp
light/StdAfx.h
light/Switch.cpp
light/Switch.h
light/~VC323.tmp
light/res/icon1.ico
light/res/icon2.ico
light/res/light.ico
light/res/light.rc2
light/Debug/light.exe
light/Debug/light.ilk
light/Debug/light.obj
light/Debug/light.pch
light/Debug/light.pdb
light/Debug/light.res
light/Debug/Light1.obj
light/Debug/lightDlg.obj
light/Debug/StdAfx.obj
light/Debug/Switch.obj
light/Debug/vc60.idb
light/Debug/vc60.pdb
light/res
light/Debug
light
light/light.clw
light/light.cpp
light/light.dsp
light/light.dsw
light/light.h
light/light.ncb
light/light.opt
light/light.plg
light/light.rc
light/Light1.cpp
light/Light1.h
light/lightDlg.cpp
light/lightDlg.h
light/ReadMe.txt
light/resource.h
light/StdAfx.cpp
light/StdAfx.h
light/Switch.cpp
light/Switch.h
light/~VC323.tmp
light/res/icon1.ico
light/res/icon2.ico
light/res/light.ico
light/res/light.rc2
light/Debug/light.exe
light/Debug/light.ilk
light/Debug/light.obj
light/Debug/light.pch
light/Debug/light.pdb
light/Debug/light.res
light/Debug/Light1.obj
light/Debug/lightDlg.obj
light/Debug/StdAfx.obj
light/Debug/Switch.obj
light/Debug/vc60.idb
light/Debug/vc60.pdb
light/res
light/Debug
light
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.