CustomCheckBox.cs 940 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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_NEW.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 string AllPower
  29. {
  30. get
  31. {
  32. return AllPower1;
  33. }
  34. set
  35. {
  36. AllPower1 = value;
  37. }
  38. }
  39. private string AllPower1;
  40. public CustomCheckBox()
  41. {
  42. InitializeComponent();
  43. }
  44. }
  45. }