protected override void OnLoadSettings(RegistryKey key)
{
if (key != null)
{
KeyTermsTree tree = MainPanelContent as KeyTermsTree;
if (tree == null)
return;
Guid guid = Guid.Empty;
try
{
guid = new Guid((string)key.GetValue("SelectedKeyTerm", string.Empty));
}
catch
{
}
TreeNode node = tree.FindNode(guid);
if (node != null)
tree.SelectedNode = node;
}
base.OnLoadSettings(key);
}