[WinForm]MID 폼 일때 Child 모두 닫기

2012. 8. 28. 17:47C#/WinForm

private bool Search()

{

            foreach (Form openForm in this.MdiChildren)

            {

                openForm.Close();

            }

            return true;

 }