Beispiel #1
0
        private static void SetDefaultColors()
        {
            Color whitecolor = (Color)Application.Current.Resources["SchemeBlockWhiteColor"];

            Colors.Add(new ColorPick
            {
                HexColor = BaseViewModel.ColorToHex(whitecolor),
                Name     = AppResources.NewZonePage_Color_White,
                Color    = whitecolor
            });

            SetDefaultBlueColors();
            SetDefaultGreenColors();
            SetDefaultRedColors();
            SetDefaultGrayColors();
        }