private void TestPlanExplorerTreeView_ItemSelected(object sender, EventArgs e)
        {
            TreeViewItem             item  = (TreeViewItem)sender;
            ITreeViewItem            iv    = (ITreeViewItem)item.Tag;
            QCTestPlanFolderTreeItem QCTVI = (QCTestPlanFolderTreeItem)iv;

            SelectedPath = QCTVI.Path;
        }
        public QCTestPlanExplorerPage()
        {
            InitializeComponent();

            TestPlanExplorerTreeView.TreeTitle = "'" + ALMCore.AlmConfig.ALMDomain + " \\ " + ALMCore.AlmConfig.ALMProjectName + "' - Test Plan Explorer";
            TestPlanExplorerTreeView.SetTitleSection(2, 30, 15, FontWeights.Bold);
            //set root item
            QCTestPlanFolderTreeItem tvi = new QCTestPlanFolderTreeItem();

            tvi.Folder = "Subject";
            tvi.Path   = @"Subject";
            TestPlanExplorerTreeView.Tree.AddItem(tvi);

            TestPlanExplorerTreeView.Tree.ItemSelected += TestPlanExplorerTreeView_ItemSelected;
        }
        public QCTestPlanExplorerPage()
        {
            InitializeComponent();

            TestPlanExplorerTreeView.TreeTitle      = "'" + QCConnect.CurrentDomain + " \\ " + QCConnect.CurrentProject + "' - Test Plan Explorer";
            TestPlanExplorerTreeView.TreeTitleStyle = (Style)TryFindResource("@ucTitleStyle_3");

            //set root item
            QCTestPlanFolderTreeItem tvi = new QCTestPlanFolderTreeItem();

            tvi.Folder = "Subject";
            tvi.Path   = @"Subject";
            TestPlanExplorerTreeView.Tree.AddItem(tvi);

            TestPlanExplorerTreeView.Tree.ItemSelected += TestPlanExplorerTreeView_ItemSelected;
        }