private void krgbExportPalette_Click(object sender, EventArgs e) { if (UseCircularPictureBoxes) { PaletteCompisitionEngine.CreatePalette(palette, palette.BasePaletteMode, cbxBaseColourPreview.BackColor, cbxDarkColourPreview.BackColor, cbxMiddleColourPreview.BackColor, cbxLightColourPreview.BackColor, cbxLightestColourPreview.BackColor, cbxBorderColourPreview.BackColor, cbxAlternativeNormalTextColourPreview.BackColor, cbxNormalTextColourPreview.BackColor, cbxDisabledTextColourPreview.BackColor, cbxFocusedTextColourPreview.BackColor, cbxPressedTextColourPreview.BackColor, cbxDisabledColourPreview.BackColor, cbxLinkNormalColourPreview.BackColor, cbxLinkFocusedColourPreview.BackColor, cbxLinkNormalColourPreview.BackColor, cbxLinkHoverColourPreview.BackColor, cbxLinkVisitedColourPreview.BackColor, cbxCustomColourOnePreview.BackColor, cbxCustomColourTwoPreview.BackColor, cbxCustomColourThreePreview.BackColor, cbxCustomColourFourPreview.BackColor, cbxCustomColourFivePreview.BackColor, cbxCustomTextColourOnePreview.BackColor, cbxCustomTextColourTwoPreview.BackColor, cbxCustomTextColourThreePreview.BackColor, cbxCustomTextColourFourPreview.BackColor, cbxCustomTextColourFivePreview.BackColor, cbxMenuTextColourPreview.BackColor, cbxStatusTextColourPreview.BackColor, cbxRibbonTabTextColourPreview.BackColor, tslStatus); } }
private void RibbonWindow_Load(object sender, EventArgs e) { New(); PaletteCompisitionEngine.PropagateThemes(krgcbBasePaletteMode); _colourSettingsManager.ResetSettings(DebugMode); if (UseCircularPictureBoxes) { ShowCircularPreviewBoxes(_globalBooleanSettingsManager.GetUseCircularPictureBoxes()); } TextExtra = $"(Build: { _currentVersion.Build.ToString() })"; }