What instance? - Data-binding to my class
I've created a class (ThemeManager) to manage visual themes for forms. The class provides properties such as colors to be used by forms and controls on the forms.
I want to bind properties of forms and controls to properties in my ThemeManager class.
When I used the VS property sheet to select a data source, my class appears as expected. I can select the desired property, at which point the context help informs me that an instance of ThemeManager will be placed on the form. Fine. And after doing this, I have a ThemeManagerBindingSource on the form.
But how do I reference the actual instance of ThemeManager created? My class has methods that I need to be able to call, but I don't see how the IDE exposes whatever instance created.