You can have properties of components on your form initialized in more flexible way than just setting static values. The IDE enables you to initialize property values from:
To modify the initialization code generated for a component's property:
![]() |
You can also place custom code before or after a property's initializer. Follow steps 1 and 2 above, and then click the Advanced button to bring up the Advanced Initialization Code dialog box. Type your custom pre-initialization code, post-initialization code, or both in the fields provided. |
See also | |
---|---|
Modifying Code Generation for a Component
Modifying Code Generation for a Form |