diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-05-13 18:16:02 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-05-13 18:16:02 +0200 |
| commit | 6428afe998093c656a1e76a8cbebf96258c60a50 (patch) | |
| tree | 385eb4858942a75b9f961f2f0d15eabcd55d95bb /Samples/BasicTests | |
| parent | e6945d8495adfa3d33d33c2e49916be79993698d (diff) | |
store color as uint32
Diffstat (limited to 'Samples/BasicTests')
| -rw-r--r-- | Samples/BasicTests/BasicTests.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Samples/BasicTests/BasicTests.cs b/Samples/BasicTests/BasicTests.cs index 05bc0435..2fdc50ba 100644 --- a/Samples/BasicTests/BasicTests.cs +++ b/Samples/BasicTests/BasicTests.cs @@ -75,7 +75,7 @@ namespace tests idx++; break; case Key.F1: - TestList.Add ("new string"); + //TestList.Add ("new string"); NotifyValueChanged ("TestList", TestList); break; case Key.F4: @@ -223,9 +223,9 @@ namespace tests } } - List<Color> testList = Color.ColorDic.Values//.OrderBy(c=>c.Hue) + List<Color> testList = null; //Color.ColorDic.Values//.OrderBy(c=>c.Hue) //.ThenBy(c=>c.Value).ThenBy(c=>c.Saturation) - .ToList (); + //.ToList (); public List<Color> TestList { set { testList = value; @@ -259,7 +259,7 @@ namespace tests void OnClear (object sender, MouseButtonEventArgs e) => TestList = null; void OnLoadList (object sender, MouseButtonEventArgs e) => TestList = - Color.ColorDic.Values.OrderBy (c => c.Hue).ToList (); + null; //Color.ColorDic.Values.OrderBy (c => c.Hue).ToList (); void command1 () { |