DeleteButton.cs 930 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. using UAS_MES_NEW.Properties;
  10. namespace UAS_MES_NEW.CustomControl.ButtonUtil
  11. {
  12. public partial class DeleteButton : Button
  13. {
  14. private string Power1;
  15. public DeleteButton()
  16. {
  17. InitializeComponent();
  18. this.Image = Resources._2_0btn_36;
  19. }
  20. string AllPower1;
  21. public string AllPower
  22. {
  23. get
  24. {
  25. return AllPower1;
  26. }
  27. set
  28. {
  29. AllPower1 = value;
  30. }
  31. }
  32. public string Power
  33. {
  34. get
  35. {
  36. return Power1;
  37. }
  38. set
  39. {
  40. Power1 = value;
  41. }
  42. }
  43. }
  44. }