private bool Search(){ foreach (Form openForm in this.MdiChildren) { openForm.Close(); } return true; }