Autogenerating Bound Windows Forms Controls
Although there are various ways to approach and implement data-bound controls with Visual Studio, they all involve the same basic two steps:
1. Establish a data source.
2. Map the data-source members to controls or control properties.
From there, the Visual Studio Form Designers can generate the correct controls and place them on the form. All the data-binding code is handled for you; you just need to worry about the layout, positioning, and UI aspects of the controls.
As you might imagine, your form can have controls that use simple data binding or complex data binding or a mix of both. Now you’re ready to look at the steps involved with creating a series of controls that leverage both simple and complex ...
Get Microsoft Visual Studio 2015 Unleashed, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.