CustomCheckBox.cs 691 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Drawing;
  5. using System.Data;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. namespace UAS_MES.CustomControl.CustomCheckBox
  10. {
  11. public partial class CustomCheckBox : CheckBox
  12. {
  13. /// <summary>
  14. /// 权限标识
  15. /// </summary>
  16. private string Power1;
  17. public string Power
  18. {
  19. get
  20. {
  21. return Power1;
  22. }
  23. set
  24. {
  25. Power1 = value;
  26. }
  27. }
  28. public CustomCheckBox()
  29. {
  30. InitializeComponent();
  31. }
  32. }
  33. }