Creation Components
- Determine the task that you want the component to complete or whether it is in the ApplicationProgram.
- If there is a more complex component that requires an object model, it depicts the outline of the model. For more information, see Component Object Model Recommendations.
- If necessary, divide functions between components and any sub-objects or structures in the object model. For more information, see Nested classes in components.
- Determine the most appropriate class or component used as the component base class. Generally, the base class has implemented many attributes and methods required by the class.
- If there are sub-objects, determine the most appropriate class or component used as its base class.
- Combine the components in the. NET Framework class to determine the functions that the component can provide.
- If you need to break down the subset of component functions into interfaces, determine the classes to implement them.
- Represents the attributes, methods, and events of a component, its sub-objects, or ancillary structures. For more information, see implementing attributes, methods, members, and events in components.
- Assign an appropriate access level (Public,Private). For more information, see How to Implement component functions.
- Test and debug components. When adding each feature, add the feature to the test project to test the new feature.
- Repeat the operation to improve the design.
The above steps are required for components and programs.
The above is from the msdn quotations