Categories > Coding > C# >
[HELP] ColorPicker
Posted
Hi.
So I made a Color Picker, and when I select a color, it works, the Panel's color changes to the color I selected, but only for a milisecond, and then changes back to the original color. Does someone know how to fix that?
Code:
ColorDialog picker = new ColorDialog();
if(picker.ShowDialog() == DialogResult.OK)
{
panel1.BackColor = picker.Color;
panel2.BackColor = picker.Color;
panel3.BackColor = picker.Color;
panel4.BackColor = picker.Color;
}
Random quote here...
Replied
When The Code Is Sussy
Dont Know Haven't Looked Into Color Dialog In A While
Cancel
Post
Random quote here...
https://media.discordapp.net/attachments/1010636204225601659/1012865624797610044/sKQybOLT.gif
Replied
works fine for me lol
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post