예제 #1
0
 private void pbxCustomColourFivePreview_MouseEnter(object sender, EventArgs e)
 {
     InformationControlManager.DisplayColourInformation(pbxCustomColourFivePreview, false, "Custom Five Colour", lblColourOutput);
 }
예제 #2
0
 private void pbxLinkVisitedColourPreview_MouseEnter(object sender, EventArgs e)
 {
     InformationControlManager.DisplayColourInformation(pbxLinkVisitedColourPreview, false, "Link Visited Text Colour", lblColourOutput);
 }
예제 #3
0
 private void pbxAlternativeNormalTextColour_MouseEnter(object sender, EventArgs e)
 {
     InformationControlManager.DisplayColourInformation(pbxAlternativeNormalTextColour, false, "Alternative Text Colour", lblColourOutput);
 }
예제 #4
0
        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);
        }
예제 #5
0
 private void pbxDarkColour_MouseEnter(object sender, EventArgs e)
 {
     InformationControlManager.DisplayColourInformation(pbxDarkColour, false, "Dark Colour", lblColourOutput);
 }
예제 #6
0
 private void DisplayColourInformation(Control control, string colourDescription)
 {
     InformationControlManager.DisplayColourInformation(control, false, colourDescription, lblColourOutput);
 }