private bool OkToSave() { foreach (MDIChild mc in this.MdiChildren) { if (!mc.OkToClose()) return false; } return true; }