private void OnWindowClosed(WorkspaceWindowChangedEventArgs e) { var handler = this.WindowClosed; if (handler != null) { handler(this, e); } }
private void OnWindowClosed(WorkspaceWindowChangedEventArgs e) { var handler = this.WindowClosed; if (handler != null) handler(this, e); }
void workSpace_WindowClosed(object sender, WorkspaceWindowChangedEventArgs e) { if (e.DeactiveWindow == this._ownerWindow) { this.Dettach(); } }