Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9.  
  10. namespace WindowsFormsApplication1
  11. {
  12. public partial class Form1 : Form
  13. {
  14. int i = 0, clic = 0, punctaj = 0;
  15. string[] probleme={"enunt p1","enunt p2","enunt p3"};
  16. string[,] variante = { { "v11", "v12", "v13", "v14" }, { "v21", "v22", "v23", "v24" }, { "v31", "v32", "v33", "v34" } };
  17. string[] corect = { "v11", "v22", "v33" };
  18. public Form1()
  19. {
  20. InitializeComponent();
  21. }
  22.  
  23. private void Form1_Load(object sender, EventArgs e)
  24. {
  25. label1.Text = "READY TO FAIL ?";
  26. button1.Text="START";
  27. groupBox1.Hide();
  28.  
  29. }
  30.  
  31. private void button1_Click(object sender, EventArgs e)
  32. {
  33. if (clic == 0)
  34. {
  35. clic++;
  36. button1.Text = "Next";
  37. groupBox1.Show();
  38.  
  39. }
  40. }
  41. }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement