Exemplo n.º 1
0
        private void BModif_Click(object sender, EventArgs e)
        {
            System.Type type = bsComp.Current.GetType();
            var         id   = (int)type.GetProperty("idCompositeur").GetValue(bsComp.Current, null);

            Modele.trouveCompositeurId(id);
            Form fmodif = new FModifComp();

            fmodif.ShowDialog();
        }