Is there a way to create a System.Windows.Forms.BindingSource from an internal class? Or would I have to make the class public?
When the class is internal, it does not appear in the Add New Data Source wizard in Visual Studio.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
By definition,
internalclasses aren’t visible outside of their assembly. This includes the assemblies used to drive the Add New Data Source wizard.You can do what you describe if you write the code for it – and if you return the internal class as a reference with a public interface type.