예제 #1
0
        private void modfyToolStripMenuItem_Click(object sender, System.EventArgs e)
        {
            FormModifyFeature form = new FormModifyFeature(CurrentProjectID);

            form.ShowDialog();
            form.Dispose();
        }
예제 #2
0
        private void modifyToolStripMenuItem1_Click(object sender, System.EventArgs e)
        {
            string            name = this.Text.Substring(7);
            FormModifyFeature form = new FormModifyFeature(name);

            form.ShowDialog();
            form.Dispose();
        }
예제 #3
0
        private void modifyToolStripMenuItem_Click(object sender, System.EventArgs e)
        {
            FormSelectFeature formSelect = new FormSelectFeature(selected_id);

            formSelect.ShowDialog();
            if (formSelect.DialogResult == DialogResult.OK)
            {
                FormModifyFeature formModify = new FormModifyFeature(selected_id, formSelect.selectedFeatureID);
                formModify.ShowDialog();
                formModify.Dispose();
            }
        }
        private void modifyToolStripMenuItem_Click(object sender, System.EventArgs e)
        {
            FormSelectFeature selectAFeature = new FormSelectFeature(currentProjectID);

            selectAFeature.ShowDialog();
            if (selectAFeature.featureId != -1)
            {
                FormModifyFeature modifyAFeature = new FormModifyFeature(selectAFeature.featureId);
                modifyAFeature.ShowDialog();
                modifyAFeature.Dispose();
            }

            selectAFeature.Dispose();
        }