private void formToolStripMenuItem_Click(object sender, EventArgs e) { InsertFormDialog dlgInsertForm = new InsertFormDialog(); dlgInsertForm.ExistingFormNames = builder.GetFormNames(); if (dlgInsertForm.ShowDialog() == DialogResult.OK) { builder.InsertForm(dlgInsertForm.FormName, dlgInsertForm.FormAction, dlgInsertForm.FormMethod); } }