private IVwSelection MakeRowSelection(IConstChartRow row, bool fInstall)
{
var rgvsli = new SelLevInfo[1];
rgvsli[0].ihvo = row.IndexInOwner; // specifies which row.
rgvsli[0].tag = DsConstChartTags.kflidRows;
IVwSelection sel = null;
try
{
sel = RootBox.MakeTextSelInObj(0, 1, rgvsli, 0, null, false, false, false, true, fInstall);
}
catch (Exception e)
{
Debug.WriteLine(e.StackTrace);
return null;
}
return sel;
}