DeleteButton.cs 774 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using System.Windows.Forms;
  2. using UAS_MES_NEW.Properties;
  3. namespace UAS_MES_NEW.CustomControl.ButtonUtil
  4. {
  5. public partial class DeleteButton : Button
  6. {
  7. private string Power1;
  8. public DeleteButton()
  9. {
  10. InitializeComponent();
  11. this.Image = Resources._2_0btn_36;
  12. }
  13. string AllPower1;
  14. public string AllPower
  15. {
  16. get
  17. {
  18. return AllPower1;
  19. }
  20. set
  21. {
  22. AllPower1 = value;
  23. }
  24. }
  25. public string Power
  26. {
  27. get
  28. {
  29. return Power1;
  30. }
  31. set
  32. {
  33. Power1 = value;
  34. }
  35. }
  36. }
  37. }