using System.Windows.Forms; namespace UAS_MES_NEW.CustomControl.CustomCheckBox { public partial class CustomCheckBox : CheckBox { /// /// 权限标识 /// private string Power1; public string Power { get { return Power1; } set { Power1 = value; } } public string AllPower { get { return AllPower1; } set { AllPower1 = value; } } private string AllPower1; public CustomCheckBox() { InitializeComponent(); } } }