private Rectangle createColorRectangle(ColorInfo cInfo)
 {
     ColorInfoToLinearGradientBrushConverter conv = new ColorInfoToLinearGradientBrushConverter();
     return createColorRectangle((LinearGradientBrush)conv.Convert(cInfo, null, null, null));
 }
        private Rectangle createColorRectangle(ColorInfo cInfo)
        {
            ColorInfoToLinearGradientBrushConverter conv = new ColorInfoToLinearGradientBrushConverter();

            return(createColorRectangle((LinearGradientBrush)conv.Convert(cInfo, null, null, null)));
        }