CustomCheckBox.cs 784 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using System.Windows.Forms;
  2. namespace UAS_MES_NEW.CustomControl.CustomCheckBox
  3. {
  4. public partial class CustomCheckBox : CheckBox
  5. {
  6. /// <summary>
  7. /// 权限标识
  8. /// </summary>
  9. private string Power1;
  10. public string Power
  11. {
  12. get
  13. {
  14. return Power1;
  15. }
  16. set
  17. {
  18. Power1 = value;
  19. }
  20. }
  21. public string AllPower
  22. {
  23. get
  24. {
  25. return AllPower1;
  26. }
  27. set
  28. {
  29. AllPower1 = value;
  30. }
  31. }
  32. private string AllPower1;
  33. public CustomCheckBox()
  34. {
  35. InitializeComponent();
  36. }
  37. }
  38. }