private void btnShaft_Click(object sender, EventArgs e) { ShaftEditorForm shaftEditor = new ShaftEditorForm(); shaftEditor.menuStripVisible(false); if (shaftEditor.ShowDialog() == DialogResult.OK) { // Ajouter le nom du Shaft shaft = sTemp; //Changer le bouton Choose correspondant txtShaft.Text = shaft.Name; txtShaft.Visible = true; btnShaft.Text = "..."; btnShaft.Size = btnSize; btnShaft.Location = new Point(186, 129); } }