Second step in developing applications with MX-Developer is to create MxPart component. After creating MxAdapter which provides data it is necessary to specify how the data will be presented to the end user. The MxPart is the designer for the common type of user interfaces. It creates empty design surface or graphical container for adding Mx controls. Of course any other control can also be used for creating user interfaces.
To create MxPart component
- In Solution Explorer right click Parts folder and choose Add -> New Item.
- In section My Templates select MxPart template and enter the name in the text editor below.
- Click Add.
- When MxPart component is created for the first time, window appears requesting the confirmation to create it. Click Trust.
- Rebuild the project.
In Solution Explorer new user interface is added to the folder Parts.
NOTE: Rebuilding is a necessary step prior using a newly created component in another designer or control. For example, in order for Grid control to recognize a newly created adapter, the project must be rebuilded.
MxPart
User Interface - MxPart