Example #1
0
 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);
     }
 }
Example #2
0
 public void AddWindow(WindowMock window)
 {
     Windows[window.Id.RawId] = window;
 }