public override bool Activate()
{
_windowInfo = null;
ExitCode = CompletionCode.ContextSwitch;
_switchWindowsScanner = Context.AppPanelManager.CreatePanel("SwitchWindowsScanner") as SwitchWindowsScanner;
if (_switchWindowsScanner != null)
{
subscribeToEvents();
_switchWindowsScanner.FilterByProcessName = FilterByProcessName;
Context.AppPanelManager.ShowDialog(_switchWindowsScanner);
}
return true;
}