In an application I have an interface with methods and properties. The
interface is used on a Class (ie class MyClass : IMyClassA, IMyClassB). On a
windows form I define a BindingSource (_bindingMyClass) where I set the
DataSource property to the interface IMyClass.
Now when the MyClass object is instantiated I set the BindingSource to the
instance of the IMyClass interface (_MyClass)
_bindingMyClass.DataSource = this._MyClass;
If the implement of the MYClass class uses expliciit interface
specifications for the properties, I get and ArgumentException on the above
code setting the DataSource.
If the implementation of the MYClass IMyClass interface specification are
not explicit, the above line works.
My question is why? I thought the only difference between an explicit
interface and an "standard" interface is to allow a class to have more than
one interface specified and have each interface implementation be unique.
Thanks,