Let's take a step back to the point where we were calling ConFMSVehicleGroupChangeController's main
method directly.
The system very cleverly constructs the user interface; it does this simply by adding the data contracts data member directly to the dialog. There are some simple changes we can make to the data contract to control how they are displayed.
We make these changes by altering the decoration at the top of each data member. The following examples are useful for this:
|
Sets the label displayed on the dialog |
|
Sets the help text for the resulting control |
|
Causes the control to be placed second in the resulting dialog |
An example decoration for the vehicleGroup
method can be as follows:
[DataMemberAttribute, SysOperationLabelAttribute("New vehicle group"), SysOperationHelpTextAttribute...