摘要: MFC的单文档架构,有四个类(这里忽略About对话框类): MainFrame App Doc View 这四个类和MVC设计模式的关系如下: MainFrame代表着MVC的C (Control)。 App可以理解为对hInstance的封装。 Doc对应着MVC的M (Model)。 View 阅读全文
posted @ 2020-10-21 22:37 zhugehq 阅读(511) 评论(0) 推荐(0) 编辑