Exemple #1
0
        private void TestColor()
        {
            var list = OstwaldColor.GetColor();

            ColorList.AddColor(list);
            foreach (var c in list)
            {
                ColorPicker.AddColor("Color", c);
            }
        }
Exemple #2
0
        public ColorSelectForm(Action <Color> callback = null)
        {
            InitializeComponent();

            ColorCallback = callback;

            var list = OstwaldColor.GetColor();

            foreach (var c in list)
            {
                ColorSelectList.AddColor(c);
            }
        }