コード例 #1
0
        public void ShowProperties()
        {
            TreeNode treeNode = tvwNodes.SelectedNode;

            if (treeNode.Tag is object node)
            {
                frmDetails frm = new frmDetails(node);
                frm.ShowDialog();
            }
        }
コード例 #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();
            }
        }