private void pbxBaseColour_MouseLeave(object sender, EventArgs e) { InformationControlManager.ResetColourValueInformation(lblColourOutput); }
private void pbxCustomTextColourFivePreview_MouseEnter(object sender, EventArgs e) { InformationControlManager.DisplayColourInformation(pbxCustomTextColourFivePreview, false, "Custom Five Text Colour", lblColourOutput); }
private void pbxStatusTextColourPreview_MouseEnter(object sender, EventArgs e) { InformationControlManager.DisplayColourInformation(pbxStatusTextColourPreview, false, "Status 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 pbxAlternativeNormalTextColour_MouseEnter(object sender, EventArgs e) { InformationControlManager.DisplayColourInformation(pbxAlternativeNormalTextColour, false, "Alternative Text 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); }
private void NullifyStatusText() { //lblColourOutput.Text = ""; InformationControlManager.ResetColourValueInformation(lblColourOutput); }
private void pbxDisabledColourPreview_MouseHover(object sender, EventArgs e) { InformationControlManager.ResetColourValueInformation(lblColourOutput); }
private void pbxPressedTextColourPreview_MouseLeave(object sender, EventArgs e) { InformationControlManager.ResetColourValueInformation(lblColourOutput); }