コード例 #1
0
 private void shaftEditorToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ShaftEditorForm sForm = new ShaftEditorForm();
     sForm.hideSelect();
     sForm.Show();
 }
コード例 #2
0
        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);

            }
        }