exdepartment.cs

来自「kuiMsg是一款用.net C# 开发的即时消息开源软件,适合.net即时消息」· CS 代码 · 共 57 行

CS
57
字号
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace LanMsg 
{
    class exDepartment :IMLibrary.Department
    {
        public exDepartment()
        {
              
        }
        /// <summary>
        /// 部门在树图中的节点
        /// </summary>
        private exNode node = new exNode();
        public exNode Node
        {
            get { return node; }
            set { 
                node = value;
            }
        }

        private void TreeView_NodeMouseClick(object sender,TreeNodeMouseClickEventArgs e)
        {
        }

        /// <summary>
        /// 部门的在线用户数
        /// </summary>
        private UInt16 _onLineUserCount =0;
        public UInt16 onLineUserCount
        {
            get { return _onLineUserCount; }
            set
            {
                _onLineUserCount = value;
            }
        }

        /// <summary>
        /// 部门的用户数
        /// </summary>
        private UInt16 _UserCount = 0;
        public UInt16 UserCount
        {
            get { return _UserCount; }
            set
            {
                _UserCount = value;
            }
        }
    }
}

⌨️ 快捷键说明

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