Пример #1
0
        void UpdateSelectedColor(Color col, bool includeSliders = true)
        {
            SelectedColor = col;

            if (grdSelColor != null)
            {
                grdSelColor.Background = BrushFactory.Create(col);
            }

            if (includeSliders)
            {
                UpdateValues(col, "");
            }
        }
Пример #2
0
 void LoadInSelectedColor(Color col)
 {
     grdCurColor.Background = BrushFactory.Create(col);
     UpdateSelectedColor(col);
 }