private void selectAndShowInfo(TreeNode node)
{
if (node != null && node.Tag != null)
{
var info = node.Tag.ToString();
if (info.Length > 0)
{
var infoType = info.Substring(0, 1);
if (infoType == "@")
{
tx_descrip.Text = info.Substring(4);
}
else if (infoType == "S" || infoType == "L")
{
m_editor.selectSection(info.Substring(1));
}
else
{
tx_descrip.Text = getObjectDescription(getControl(info));
m_editor.selectCtrl(info);
}
}
}
}