Advertisement
JacksoMykalJunior

Visual Studio(Rainbow Panel)

May 8th, 2019
403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. --//Timer_1 Thick_1\\--
  2.  
  3. timer1.Start();
  4.  
  5. Random rand = new Random();
  6. int A = rand.Next(0, 255);
  7. int R = rand.Next(0, 255);
  8. int G = rand.Next(0, 255);
  9. int B = rand.Next(0, 255); panel1.ForeColor = Color.FromArgb(A, R, G, B);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement