private void CoursesForm_Load(object sender, EventArgs e)
 {
     if (BorneClass.getAllListBorne().Count > 1)
     {
         btnDepart.Enabled = false;
     }
 }
 public void DataGridViewPassages(bool isUser)
 {
     if (isUser)
     {
         dataGridView1.DataSource = BorneClass.getBorneByUserID(txtUser_ID.Text); // a modifier
     }
     else
     {
         dataGridView1.DataSource = BorneClass.getAllListBorne();
     }
 }
 private void ResultatCourseForm_Load(object sender, EventArgs e)
 {
     dataGridView1.DataSource = BorneClass.getAllListBorne();
     radio = radioB.TousLesPassages;
 }