Commit 0b91c78b authored by BARBI HUGO's avatar BARBI HUGO
Browse files

frmParti Debug

parent bd6d6bfd
......@@ -43,11 +43,18 @@ namespace _20School
/// <param name="e"></param>
private void fmCoursParticulier_Load(object sender, EventArgs e)
{
timeTb1 = timerTickCours - 5;
timeTb2 = timeTb1 - 5;
timeTb3 = timeTb2 - 5;
timeTb4 = timeTb3 - 5;
timeTb5 = timeTb4 - 5;
//LIste des réponse possible de chaque étudiant (pour éviter les répétitions)
listeEtu1 = new List<int>() { 1, 2, 3 };
listeEtu2 = new List<int>() { 1, 2, 3 };
listeEtu3 = new List<int>() { 1, 2, 3 };
listeEtu4 = new List<int>() { 1, 2, 3 };
listeEtu5 = new List<int>() { 1, 2, 3 };
timeTb1 = timerTickCours - 2;
timeTb2 = timeTb1 - 2;
timeTb3 = timeTb2 - 2;
timeTb4 = timeTb3 - 2;
timeTb5 = timeTb4 - 2;
timerTickCours = fmPlay.timerTick;
pnlMainTimer.BackColor = Color.FromArgb(180, Color.Red);
......@@ -412,9 +419,12 @@ namespace _20School
/// <param name="e"></param>
private void btnOK_Click(object sender, EventArgs e)
{
fmPlay.coursParticulier = false;
fmPlay.bavardageBackground = false;
this.Dispose();
//Fermeture du formulaire actuelle et ouverture d'un nouveau
this.Hide();
fmPlay play = new fmPlay();
play.Closed += (s, args) => this.Close();
play.Show();
}
/// <summary>
......
......@@ -11,12 +11,9 @@ namespace _20School
//Temps initiale du timer
int countTimer = 18;
fmRecap recap = new fmRecap();
public Menu()
{
InitializeComponent();
recap.Show();
}
/// <summary>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment