Do you use the designer for all visual elements?
20/10/2010 7:56 PM by
The designer should be used for all GUI design. Controls will be dragged and dropped onto the form and all properties should be set in the designer, e.g.
- Labels, TextBoxes and other visual elements
- DataSets (to allow data binding in the designer)
Things that do not belong in the designer:
However, and DataAdapter objects should not be dragged onto forms, as they belong in the business tier. Strongly typed DataSet objects should be in the designer as they are simply passed to the business layer. Avoid writing code for properties that can be set in the designer.
Bad example - Connection and Command objects in the Designer Good example - Only visual elements in the designer
Do you feel this rule needs an update?