public IWindow FocusWindowSync(IWindow iWindow) { if (OnFocusWindowSync != null) { return(OnFocusWindowSync(iWindow)); } else { var window = FindOwnWindow(iWindow); if (window != null) { FocusedWindow = window; return(FocusedWindow.Clone()); } return(null); } }
public void AddWindow(WindowMock window) { Windows[window.Id.RawId] = window; }