ComboBoxData.cs 500 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Uestc.Auto6.Dso.Protocol
  7. {
  8. public class ComboBoxData<T>
  9. {
  10. public String Key { get; set; }
  11. public T Value { get; set; }
  12. public Boolean Visible { get; set; }
  13. public ComboBoxData(String key, T value, Boolean visible = true)
  14. {
  15. Key = key;
  16. Value = value;
  17. Visible = visible;
  18. }
  19. }
  20. }