private void cbxListeEntreprise_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (cbxListeEntreprise.SelectedIndex >= 0)
     {
         cbxListeEntreprise.DataSource = ManagerEntreprise.GetInstanceManagerEntreprise().GetEntreprise(Convert.ToInt32(cbxListeEntreprise.SelectedValue));
     }
 }
Beispiel #2
0
 private void cbxTypeControle_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (cbxTypeControle.SelectedIndex >= 0)
     {
         cbxEntreprise.DataSource = ManagerEntreprise.GetInstanceManagerEntreprise().GetEntreprise(Convert.ToInt32(cbxTypeControle.SelectedValue));
         cbxEntreprise.Visible    = true;
     }
 }