STEP (1)

Source: Internet
Author: User

Creation Components

  1. Determine the task that you want the component to complete or whether it is in the ApplicationProgram.
  2. 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.
  3. If necessary, divide functions between components and any sub-objects or structures in the object model. For more information, see Nested classes in components.
  4. 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.
  5. If there are sub-objects, determine the most appropriate class or component used as its base class.
  6. Combine the components in the. NET Framework class to determine the functions that the component can provide.
  7. If you need to break down the subset of component functions into interfaces, determine the classes to implement them.
  8. 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.
  9. Assign an appropriate access level (Public,Private). For more information, see How to Implement component functions.
  10. Test and debug components. When adding each feature, add the feature to the test project to test the new feature.
  11. Repeat the operation to improve the design.


The above steps are required for components and programs.

The above is from the msdn quotations

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.