private void LoadAndPlaceImplementationAndTest() { // Make sure the active window is in the first tab well // as we will load our douments there ActivateFirstDocument(); try { if (StaticOptions.MainOptions.UnitTestLeft ^ SourceTargetInfo.IsSourcePathTest) { Access.Dte.ExecuteCommand(OpenFileCommand, SourceTargetInfo.QuotedTargetPath); Access.Dte.ExecuteCommand(OpenFileCommand, SourceTargetInfo.QuotedSourcePath); } else { Access.Dte.ExecuteCommand(OpenFileCommand, SourceTargetInfo.QuotedSourcePath); Access.Dte.ExecuteCommand(OpenFileCommand, SourceTargetInfo.QuotedTargetPath); } if (ViewUtil.IsMoreThanOneTabWellShown()) { Access.Dte.ExecuteCommand(WindowMoveToNextTabGroupCommand); } else { Access.Dte.ExecuteCommand(NewVerticalTabGroupCommand); } } catch (COMException e) { Logger.Warn("JumpToTestOrImplmentation: LoadAndPlaceImplementationAndTest(), got COM Exception"); ExceptionLogHelper.LogException(e); } catch (Exception e) { Logger.Warn("JumpToTestOrImplmentation: LoadAndPlaceImplementationAndTest(), got other exception"); ExceptionLogHelper.LogException(e); } }