I don't understand the problem here. I get this error:
Inconsistent accessibility: property type 'Grader.Program._TargetType' is less accessible than property 'Grader.AGComboBox.BoundObject'
On the line specified below. The enum is defined as:
public enum _TargetType {Instructor, Term, AssignmentType};
Anyone have an idea where my problem is?
namespace Grader{ public class AGComboBox : ComboBox { private Program._TargetType _BoundObject; //The type of Object for the box public Program._TargetType BoundObject <<<--Error Line { get { return _BoundObject; } set { _BoundObject = value; } }
so, you either need to change public into friend/protected in your error line, or change friend/protected into public, for example.