private void listToolStripMenuItem_Click(object sender, EventArgs e) { InsertListDialog dlgInsertList = new InsertListDialog(); if (dlgInsertList.ShowDialog() == DialogResult.OK) { builder.InsertList(dlgInsertList.Ordered, dlgInsertList.ListType, dlgInsertList.ListItems); } }