using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace ryControls
{
    class clsCbbItem
    {
        //项文本内容 
        private readonly string Text;
        private readonly string Tag; 
        //项图片 
        public Image Img; 
 
        //构造函数 
        public clsCbbItem(string text,string tag, Image img) 
        { 
            Text = text; 
            Img = img;
            Tag = tag;
        } 
 
        //重写ToString函数，返回项文本 
        public override string ToString() 
        { 
            return Text; 
        }
    }
    /// <summary>
    /// 
    /// </summary>
    public class NodeItem
    {
        /// <summary>
        /// 关键词
        /// </summary>
        public string Keys="";
        /// <summary>
        /// 密码
        /// </summary>
        public string Pwd="";
        /// <summary>
        /// 权限用户id
        /// </summary>
        public string AuthUser="";
        /// <summary>
        /// 
        /// </summary>
        /// <param name="keys"></param>
        /// <param name="pwd"></param>
        /// <param name="user"></param>
        public NodeItem(string keys, string pwd,string user)
        {
            Keys = keys;
            Pwd = pwd;
            AuthUser = user;
        }
        /// <summary>
        /// 返回关键词
        /// </summary>
        /// <returns></returns>
        public override string ToString()
        {
            return Keys;
        }
    }
}
