Categories > Coding > C# >

[HELP] ColorPicker

Posts: 1996

Threads: 198

Joined: Apr, 2021

Reputation: 13

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;
            }

 

 

  • 0

Random quote here...

Posts: 1474

Threads: 95

Joined: Oct, 2019

Reputation: 93

Replied

When The Code Is Sussy

Dont Know Haven't Looked Into Color Dialog In A While

  • 0

Posts: 1996

Threads: 198

Joined: Apr, 2021

Reputation: 13

Replied

@ImmuneLion318 sussy baka didnt look at color dialog????///?/

  • 0

Random quote here...

eb_

Formally known as Shade

vip

Posts: 1044

Threads: 4

Joined: Jun, 2020

Reputation: 44

Replied

  • 0

https://media.discordapp.net/attachments/1010636204225601659/1012865624797610044/sKQybOLT.gif

Posts: 867

Threads: 34

Joined: Aug, 2020

Reputation: 6

Replied

works fine for me lol

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )