protected virtual void OnProjectClosed() { ProjectDelegate handler = ProjectClosed; if (handler != null) handler(); }