private void mnuBrushDemo_Click(object sender, EventArgs e) { using (BrushDemo frm = new BrushDemo()) frm.ShowDialog(); }