Exemplo n.º 1
0
 private void ShowTestPopupMenu(TextView textView, Tile tile)
 {
     if (TileIsOurs(tile) && _hoveredTest == null)
     {
         _hoveredTest = tile.Object as ITestDetail;
         Point tilePoint = new Point(tile.Bounds.Left, tile.Bounds.Bottom);
         Point menuPoint = textView.ToScreenPoint(tilePoint);
         CodeRush.SmartTags.ShowPopupMenu(menuPoint, _hoveredTest.SmartTagProvider);
     }
 }