Пример #1
0
        private void SetControlColorTable()
        {
            CaptureImageToolColorTable colorTable = ColorTable;
            ToolStripRendererEx        renderer   = new ToolStripRendererEx(colorTable);

            contextMenuStrip.Renderer   = renderer;
            drawToolsControl.ColorTable = colorTable;
            colorSelector.ColorTable    = colorTable;
        }
Пример #2
0
 private void SetControlColorTable()
 {
     CaptureImageToolColorTable colorTable = ColorTable;
     ToolStripRendererEx renderer = new ToolStripRendererEx(colorTable);
     contextMenuStrip.Renderer = renderer;
     drawToolsControl.ColorTable = colorTable;
     colorSelector.ColorTable = colorTable;
 }