/// <summary> /// Called when [closed]. /// </summary> private void OnClosed() { Closed?.ThreadSafeInvoke(this, new EventArgs()); }