B
Bert Hyman
I have a project, part of a larger solution, that contains a handful
of user controls, each derived from a single base control.
The definition of the base control is:
public class ctlBase: System.Windows.Forms.UserControl
there's also an interface definition:
public interface IMMCInterface
Each of the derived controls looks like this:
public class ctlAnalysis : ctlBase, IMMCInterface
public class ctlCharts : ctlBase, IMMCInterface
.... etc
In the "Solution Explorer" view of VS.NET's IDE, the "ctlCharts"
control shows up as a "Component", rather than a "User Control". In
the project file itself, it's also listed as a "Component". It ->used
to show up as a "User Control", but I don't know when it changed, and
certainly don't know why.
If I edit the project file and change it back to a "User Control", it
gets changed back to a "Component" as soon as I open the project in
the IDE.
The project builds OK and works OK, and the Design View works fine
too.
What's going on here?
of user controls, each derived from a single base control.
The definition of the base control is:
public class ctlBase: System.Windows.Forms.UserControl
there's also an interface definition:
public interface IMMCInterface
Each of the derived controls looks like this:
public class ctlAnalysis : ctlBase, IMMCInterface
public class ctlCharts : ctlBase, IMMCInterface
.... etc
In the "Solution Explorer" view of VS.NET's IDE, the "ctlCharts"
control shows up as a "Component", rather than a "User Control". In
the project file itself, it's also listed as a "Component". It ->used
to show up as a "User Control", but I don't know when it changed, and
certainly don't know why.
If I edit the project file and change it back to a "User Control", it
gets changed back to a "Component" as soon as I open the project in
the IDE.
The project builds OK and works OK, and the Design View works fine
too.
What's going on here?