private void cbxListeTypeControl_SelectedIndexChanged(object sender, EventArgs e) { if (cbxListeTypeControl.SelectedIndex >= 0) { cbxListeTypeControl.DataSource = ManagerTypeControle.GetInstanceManagerTypeControle().GetTypeControle(Convert.ToInt32(cbxListeTypeControl.SelectedValue)); } }
private void cbxStockage_SelectedIndexChanged(object sender, EventArgs e) { if (cbxStockage.SelectedIndex >= 0) { cbxTypeControle.DataSource = ManagerTypeControle.GetInstanceManagerTypeControle().GetTypeControlePrevuePourUneZoneStockage(Convert.ToInt32(cbxStockage.SelectedValue)); cbxTypeControle.Visible = true; } }