private void kbtnGenerateColour_Click(object sender, EventArgs e) { pbColourPreview.BackColor = _colourUtility.GenerateRandomColour(kchkGenerateAlphaValue.Checked); //int a = randomColour.Next(_max), r = randomColour.Next(_max), g = randomColour.Next(_max), b = randomColour.Next(_max); //knumRedChannelValue.Value = r; //knumGreenChannelValue.Value = g; //knumBlueChannelValue.Value = b; }