private void btnOutputGear_Click(object sender, EventArgs e) { GearEditorForm gearEditor = new GearEditorForm(); gearEditor.menuStripVisible(false); if (gearEditor.ShowDialog() == DialogResult.OK) { // Ajouter le nom du gear outputGear = gTemp; //Changer le bouton Choose correspondant txtOutputGear.Text = outputGear.Name; txtOutputGear.Visible = true; btnOutputGear.Text = "..."; btnOutputGear.Size = btnSize; btnOutputGear.Location = new Point(188, 220); } }
private void gearEditorToolStripMenuItem_Click(object sender, EventArgs e) { GearEditorForm gForm = new GearEditorForm(); gForm.hideSelect(); gForm.Show(); }