private void btnAjouterType_Click(object sender, EventArgs e)
        {
            var nouveauType = bD5B6TP1_ConstantinBrassardLaheyDataSet.TypeChambre.NewTypeChambreRow();

            nouveauType.NoTypeChambre = TrouverNoTypeChambre();

            FrmAjoutTypeChambre frmAjout = new FrmAjoutTypeChambre(nouveauType);

            DialogResult resultat = frmAjout.ShowDialog();

            if (resultat == DialogResult.Cancel)
            {
                return;
            }

            bD5B6TP1_ConstantinBrassardLaheyDataSet.TypeChambre.AddTypeChambreRow(nouveauType);
            typeChambreBindingSource.MoveLast();
            BaseFormGestion.estSavegarder = false;
        }
        private void btnModifierType_Click(object sender, EventArgs e)
        {
            int noTypeSelec = (int)((DataRowView)typeChambreBindingSource.Current)["NoTypeChambre"];

            BD5B6TP1_ConstantinBrassardLaheyDataSet.TypeChambreRow rowSelec =
                bD5B6TP1_ConstantinBrassardLaheyDataSet.TypeChambre.FindByNoTypeChambre(noTypeSelec);

            FrmAjoutTypeChambre frmAjout = new FrmAjoutTypeChambre(rowSelec, true);

            DialogResult resultat = frmAjout.ShowDialog();

            if (resultat == DialogResult.Cancel)
            {
                rowSelec.CancelEdit();
            }
            else
            {
                BaseFormGestion.estSavegarder = true;
            }
        }