Advertisement
Guest User

Untitled

a guest
Nov 20th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. using System.Windows.Forms;
  2. using System.Drawing;
  3. using System;
  4. using System.Runtime.InteropServices;
  5.  
  6. namespace Fits
  7. {
  8. class Program
  9. {
  10. static void Main()
  11. {
  12.  
  13. Application.Run(new Scherm());
  14. }
  15. }
  16.  
  17. class Scherm : Form
  18. {
  19. Button knop = new Button();
  20. Button reactieknop = new Button();
  21. public Scherm()
  22. {
  23. this.BackColor = Color.LightPink;
  24. this.WindowState = FormWindowState.Maximized;
  25.  
  26. Button knop;
  27.  
  28. knop = new Button();
  29.  
  30. knop.Location = new Point(600,340);
  31. knop.Size = new Size(60, 60);
  32. knop.Text = "start";
  33. knop.BackColor = Color.White;
  34.  
  35. this.Controls.Add(knop);
  36. }
  37.  
  38. }
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement