IUnitsComboBox.cs 970 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. using SmartCoalApplication.Base;
  2. using SmartCoalApplication.Base.Enum;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace SmartCoalApplication.Core
  9. {
  10. public interface IUnitsComboBox
  11. {
  12. UnitsDisplayType UnitsDisplayType
  13. {
  14. get;
  15. set;
  16. }
  17. bool LowercaseStrings
  18. {
  19. get;
  20. set;
  21. }
  22. MeasurementUnit Units
  23. {
  24. get;
  25. set;
  26. }
  27. string UnitsText
  28. {
  29. get;
  30. }
  31. bool PixelsAvailable
  32. {
  33. get;
  34. set;
  35. }
  36. bool InchesAvailable
  37. {
  38. get;
  39. }
  40. bool CentimetersAvailable
  41. {
  42. get;
  43. }
  44. void RemoveUnit(MeasurementUnit removeMe);
  45. void AddUnit(MeasurementUnit addMe);
  46. event EventHandler UnitsChanged;
  47. }
  48. }