Exemple #1
0
 private void uiPanel11_Click(object sender, System.EventArgs e)
 {
     uiPanel11.FillColor = uiPanel11.RectColor = RandomColor.GetColor(ColorScheme.Random, Luminosity.Bright);
     uiLabel2.Text       = "RGB: " + uiPanel11.FillColor.R + ", " + uiPanel11.FillColor.G + ", " + uiPanel11.FillColor.B;
     UIStyles.InitColorful(uiPanel11.FillColor, Color.White);
 }
Exemple #2
0
        private void uiPanel1_Click(object sender, System.EventArgs e)
        {
            var panel = (UIPanel)sender;

            UIStyles.InitColorful(panel.FillColor, Color.White);
        }