R
RYoung
I'm developing a WinForms app in VS Pro 2005. I have defined an interface
for custom controls to implement:
interface IViewPanel
{
string Name{ get; }
}
A user control class:
partial class MyControl : UserControl, IViewPanel
{
// generated code
}
When I build at this point, the build succeeds even though I haven't
implemented the IViewPanel interface in MyControl. A SmartTag for IViewPanel
only has the "Explicitly implement IViewPanel".
If I use a BCL Interface, such as IConfigurationSectionHandler - the options
are to implement it, or explcitly implement it.
Anyone else see this problem?
Ron
for custom controls to implement:
interface IViewPanel
{
string Name{ get; }
}
A user control class:
partial class MyControl : UserControl, IViewPanel
{
// generated code
}
When I build at this point, the build succeeds even though I haven't
implemented the IViewPanel interface in MyControl. A SmartTag for IViewPanel
only has the "Explicitly implement IViewPanel".
If I use a BCL Interface, such as IConfigurationSectionHandler - the options
are to implement it, or explcitly implement it.
Anyone else see this problem?
Ron