tempnode.cs

来自「通过数据库结构自动 生成三层结构代码,相当不错的一款软件」· CS 代码 · 共 72 行

CS
72
字号
namespace Codematic.UserControls
{
    using System;
    using System.Windows.Forms;

    public class TempNode : TreeNode
    {
        private string filepath;
        private string nodeid;
        private string nodetype;
        private string parentid;

        public TempNode()
        {
        }

        public TempNode(string NodeName)
        {
            base.Text = NodeName;
        }

        public string FilePath
        {
            get
            {
                return this.filepath;
            }
            set
            {
                this.filepath = value;
            }
        }

        public string NodeID
        {
            get
            {
                return this.nodeid;
            }
            set
            {
                this.nodeid = value;
            }
        }

        public string NodeType
        {
            get
            {
                return this.nodetype;
            }
            set
            {
                this.nodetype = value;
            }
        }

        public string ParentID
        {
            get
            {
                return this.parentid;
            }
            set
            {
                this.parentid = value;
            }
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?