您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ListBoxItem.cs 423 B

1234567891011121314151617181920
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace HKCardManager
  7. {
  8. public class ListBoxItem
  9. {
  10. public string Text { set; get; }
  11. public Brush ForeColor { set; get; }
  12. public ListBoxItem(string text, Brush foreColor)
  13. {
  14. this.Text = text;
  15. this.ForeColor = foreColor;
  16. }
  17. }
  18. }