private void newProcedureToolStripMenuItem_Click(object sender, EventArgs e) { NewProcedure newProcedure = new NewProcedure(); newProcedure.ShowDialog(); if (newProcedure.DialogResult == DialogResult.OK) { ProceduresList.Clear(); GetProcedures(); loadProcedures(); } }