protected virtual void OnParentClosed(object sender, EventArgs e) { isParentClosed = true; ParentClosed.Do(x => x(this, EventArgs.Empty)); }
void RaiseParentCloseEvent() { ParentClosed.Do(x => x(this, EventArgs.Empty)); }