Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void randomklik(object o, EventArgs e)
- {
- rood.Text = RandomNummer().ToString();
- geel.Text = RandomNummer().ToString();
- blauw.Text = RandomNummer().ToString();
- Invalidate();
- }
- private int RandomNummer()
- {
- Random random = new Random();
- return random.Next(0, 100);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement