Ejemplo n.º 1
0
        private void modifyToolStripMenuItem_Click(object sender, System.EventArgs e)
        {
            string name = this.Text.Substring(7);
            FormModifyRequirement form = new FormModifyRequirement(name);

            form.ShowDialog();
            form.Dispose();
        }
        private void modifyToolStripMenuItem1_Click(object sender, System.EventArgs e)
        {
            FormSelectRequirement selectARequirement = new FormSelectRequirement(currentProjectID);

            selectARequirement.ShowDialog();
            if (selectARequirement.getRequirementId() != -1)
            {
                FormModifyRequirement modifyRequirement = new FormModifyRequirement(selectARequirement.getRequirementId());
                modifyRequirement.ShowDialog();
                modifyRequirement.Dispose();
            }
        }