⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cmtreenode.cs

📁 通过数据库结构自动 生成三层结构代码,相当不错的一款软件
💻 CS
字号:
namespace Codematic
{
    using System;
    using System.Windows.Forms;

    public class CMTreeNode : TreeNode
    {
        public string dbname;
        public string dbtype;
        public string nodeName;
        public string nodetype;
        public string server;

        public CMTreeNode(string nodeName, string nodetype, string server, string dbname, string dbtype)
        {
            base.Text = nodeName;
            this.nodeName = nodeName;
            this.nodetype = nodetype;
            this.server = server;
            this.dbname = dbname;
            this.dbtype = dbtype;
        }

        public enum NodeType
        {
            Database = 2,
            Empty = -1,
            Filed = 11,
            Function = 10,
            FunctionRoot = 6,
            Project = 14,
            Server = 1,
            ServerList = 0,
            StoredProcedure = 9,
            StoredProcedureRoot = 5,
            Table = 7,
            TableRoot = 3,
            Trigger = 13,
            Triggers = 12,
            Unknown = 15,
            View = 8,
            ViewRoot = 4
        }
    }
}

⌨️ 快捷键说明

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