private void pbxCustomColourFivePreview_MouseEnter(object sender, EventArgs e) { InformationControlManager.DisplayColourInformation(pbxCustomColourFivePreview, false, "Custom Five Colour", lblColourOutput); }
private void pbxLinkVisitedColourPreview_MouseEnter(object sender, EventArgs e) { InformationControlManager.DisplayColourInformation(pbxLinkVisitedColourPreview, false, "Link Visited Text Colour", lblColourOutput); }
private void pbxAlternativeNormalTextColour_MouseEnter(object sender, EventArgs e) { InformationControlManager.DisplayColourInformation(pbxAlternativeNormalTextColour, false, "Alternative Text Colour", lblColourOutput); }
private void pbxLightestColour_MouseEnter(object sender, EventArgs e) { //ttInformation.SetToolTip(pbxLightestColour, $"Lightest Colour\nARGB: ({ ColourUtilities.FormatColourARGBString(pbxLightestColour.BackColor) })\nRGB: ({ ColourUtilities.FormatColourRGBString(pbxLightestColour.BackColor) })\nHexadecimal Value: #{ _conversionMethods.ConvertRGBToHexadecimal(Convert.ToInt32(pbxLightestColour.BackColor.R), Convert.ToInt32(pbxLightestColour.BackColor.G), Convert.ToInt32(pbxLightestColour.BackColor.B)).ToUpper() }\nHue: { pbxLightestColour.BackColor.GetHue().ToString() }\nSaturation: { pbxLightestColour.BackColor.GetSaturation().ToString() }\nBrightness: { pbxLightestColour.BackColor.GetBrightness().ToString() }"); InformationControlManager.DisplayColourInformation(pbxLightestColour, false, "Lightest Colour", lblColourOutput); }
private void pbxDarkColour_MouseEnter(object sender, EventArgs e) { InformationControlManager.DisplayColourInformation(pbxDarkColour, false, "Dark Colour", lblColourOutput); }
private void DisplayColourInformation(Control control, string colourDescription) { InformationControlManager.DisplayColourInformation(control, false, colourDescription, lblColourOutput); }