Sunteți pe pagina 1din 2

http://www.growedu.ro/limesurvey/index.

php

Ct de multe tii despre Romnia?

1.Introducere Ct de multe tii tu despre Romnia? este un test gril, format din 10 ntrebri despre geografia i istoria rii noastre.
private void Form1_Load(object sender, EventArgs e) { timer1.Start(); } private void timer1_Trick(object sender,EventArgs e) { t++; textBox12.Text=Convert.ToString(t); if(t>150)textBox12.ForeColor=Color.BlueViolet; if(t>250)textBox12.ForeColor=Color.Coral; if(t>300)textBox12.ForeColor=Color.DarkOrchid; if(t>360)textBox12.ForeColor=Color.Red; if(t==400) {timer1.Stop(); MessageBox.Show("Timpul a expirat"); button1.Text="Mai ncearc";} } private void textBox7_TextChanged(object sender, EventArgs e) { } private void textBox8_TextChanged(object sender, EventArgs e) { } private void textBox10_TextChanged(object sender, EventArgs e) { } } }