Exemplo n.º 1
0
		internal void CheckAndHandleNewActiveWindow (UiaAtkBridge.Window newWin)
		{
			if (object.ReferenceEquals (currentActiveWindow, newWin))
				return;
			
			if (currentActiveWindow != null)
				currentActiveWindow.LoseActiveState ();
			currentActiveWindow = newWin;
			if (currentActiveWindow != null)
				currentActiveWindow.GainActiveState ();
		}
Exemplo n.º 2
0
		internal void CheckAndHandleNewActiveWindow (UiaAtkBridge.Window oldWin, UiaAtkBridge.Window newWin)
		{
			if (object.ReferenceEquals (currentActiveWindow, oldWin))
				CheckAndHandleNewActiveWindow (newWin);
		}