AuxiliaryLable.cs 409 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System.Drawing;
  2. namespace HZH_Controls.Controls
  3. {
  4. public class AuxiliaryLable
  5. {
  6. public string Text
  7. {
  8. get;
  9. set;
  10. }
  11. public Brush TextBrush
  12. {
  13. get;
  14. set;
  15. }
  16. public Brush TextBack
  17. {
  18. get;
  19. set;
  20. }
  21. public float LocationX
  22. {
  23. get;
  24. set;
  25. }
  26. public AuxiliaryLable()
  27. {
  28. TextBrush = Brushes.Black;
  29. TextBack = Brushes.Transparent;
  30. LocationX = 0.5f;
  31. }
  32. }
  33. }