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;
 }