AAFReport.frmRepMgr.trvAAFFolder_Open C# (CSharp) Method

trvAAFFolder_Open() private method

private trvAAFFolder_Open ( ) : void
return void
        private void trvAAFFolder_Open()
        {
            if (trvAAFFolder.SelectedNode != null)
            {
                String strNode = StrMinus(trvAAFFolder.SelectedNode.ToString(), "TreeNode: ");
                if (strNode.IndexOf(":\\") == 1)
                {
                    // This is a path node (current path) no navigation needed
                }
                else
                {
                    try
                    {
                        System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(m_CurrentAAFPath + "\\" + strNode);
                        if (IsViewableDirectory(di))
                        {
                            m_CurrentAAFPath = di.FullName;
                            RefreshAndUpdate();
                        }
                    }
                    catch (System.NotSupportedException nse)
                    {
                        // Additional information: The given path's format is not supported.
                        int hc = nse.GetHashCode(); // hc is 20 or 22 for above message, other than that ??
                    }
                }
            }
        }