private void addAToolStripMenuItem_Click(object sender, EventArgs e)
 {
     var dlg = new FormInsertStructureField(this.template);
     if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         StructureField field = dlg.Result;
         this.lstField.Items.Add(field);
     }
 }
        private void addAToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var dlg = new FormInsertStructureField(this.template);

            if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                StructureField field = dlg.Result;
                this.lstField.Items.Add(field);
            }
        }