通过MSDN总结下面内容:
Key Objects in an Application
Object | Primary purpose | Relationships to other objects |
Application | Manages all other framework objects. | Keeps a list of document templates. |
Document template | Creates and manages documents. | Manages a list of open documents of a given type. Creates frame windows and views to provide a user interface for a document’s data. |
Document | Stores data. | Manages a list of views on its data. |
View | Manages user interaction with a document. | Attached to a document. Owned by a frame window. |
Frame window | Frames a view. | Owns a view that is attached to a document. |