public ColorPalette(ColorEditor.ColorUI colorUI, Color[] customColors) { this.colorUI = colorUI; base.SetStyle(ControlStyles.Opaque, true); this.BackColor = SystemColors.Control; base.Size = new Size(0xca, 0xca); this.staticColors = new Color[0x30]; for (int i = 0; i < staticCells.Length; i++) { this.staticColors[i] = ColorTranslator.FromOle(staticCells[i]); } this.customColors = customColors; }