Esempio n. 1
0
        private void treeView_ProductInfo_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            TreeNode _treeNode = this.treeView_ProductInfo.GetNodeAt(e.Location);

            this.treeView_ProductInfo.SelectedNode = _treeNode;
            if (_treeNode != null)
            {
                productContrainer.ShowProperty(_treeNode.Text);
            }
        }
Esempio n. 2
0
        private void treeView_ProductInfo_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            TreeNode _treeNode = this.treeView_ProductInfo.GetNodeAt(e.Location);

            this.treeView_ProductInfo.SelectedNode = _treeNode;
            if (_treeNode != null)
            {
                //if (_treeNode.Level == 0)
                //    MessageBox.Show("BusModel");
                //else
                //    MessageBox.Show("SubModel");
                productContrainer.ShowProperty(_treeNode.Text);
            }
        }