SIL.FieldWorks.Discourse.ConstChartBody.MakeRowSelection C# (CSharp) Method

MakeRowSelection() private method

private MakeRowSelection ( IConstChartRow row, bool fInstall ) : IVwSelection
row IConstChartRow
fInstall bool
return IVwSelection
		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;
		}