protected override bool OnRightMouseUp(Point pt, Rectangle rcSrcRoot, Rectangle rcDstRoot)
{
if (base.OnRightMouseUp(pt, rcSrcRoot, rcDstRoot))
return true;
var mainWind = ParentForm as XWindow;
IVwSelection sel = RootBox == null ? null : RootBox.Selection;
if (mainWind == null || sel == null)
return false;
mainWind.ShowContextMenu("mnuStTextChoices", new Point(Cursor.Position.X, Cursor.Position.Y),
null, null);
return true;
}
}