private void SetControlColorTable()
        {
            CaptureImageToolColorTable colorTable = ColorTable;
            ToolStripRendererEx        renderer   = new ToolStripRendererEx(colorTable);

            contextMenuStrip.Renderer   = renderer;
            drawToolsControl.ColorTable = colorTable;
            colorSelector.ColorTable    = colorTable;
        }
Esempio n. 2
0
        private void SetControlColorTable()
        {
            var colorTable = ColorTable;
            var renderer   = new ToolStripRendererEx(colorTable);

            contextMenuStrip.Renderer   = renderer;
            drawToolsControl.ColorTable = colorTable;
            colorSelector.ColorTable    = colorTable;
        }