Esempio n. 1
0
        public void ShowProperties()
        {
            TreeNode treeNode = tvwNodes.SelectedNode;

            if (treeNode.Tag is object node)
            {
                frmDetails frm = new frmDetails(node);
                frm.ShowDialog();
            }
        }
Esempio n. 2
0
        private void propertiesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TreeNode treeNode = tvwNodes.SelectedNode;

            if (treeNode.Tag is object node)
            {
                frmDetails frm = new frmDetails(node);
                frm.ShowDialog();
            }
        }