void UpdateSelectedColor(Color col, bool includeSliders = true) { SelectedColor = col; if (grdSelColor != null) { grdSelColor.Background = BrushFactory.Create(col); } if (includeSliders) { UpdateValues(col, ""); } }
void LoadInSelectedColor(Color col) { grdCurColor.Background = BrushFactory.Create(col); UpdateSelectedColor(col); }