private void addMaterialToolStripMenuItem_Click(object sender, EventArgs e) { AddMatForm amFRM = new AddMatForm(ref rawMats); amFRM.FormClosed += new FormClosedEventHandler(this.formBClosed); amFRM.ShowDialog(); }