📄 treenodecontact.cs
字号:
namespace Imps.Client.Pc.UIContactList
{
using Imps.Client.Pc.BizControls;
using System;
public class TreeNodeContact
{
private int _contactGroupId;
private string _contactUri;
private bool _isContact;
private NodeKey _nodeKeyValue;
public TreeNodeContact(NodeKey nodeKeyValue, int contactGroupId)
{
this._nodeKeyValue = nodeKeyValue;
this._contactGroupId = contactGroupId;
this._isContact = false;
}
public TreeNodeContact(NodeKey nodeKeyValue, string uri)
{
this._nodeKeyValue = nodeKeyValue;
this._contactUri = uri;
this._isContact = true;
}
public int ContactGroupId
{
get
{
return this._contactGroupId;
}
internal set
{
this._isContact = false;
this._contactUri = string.Empty;
this._contactGroupId = value;
}
}
public string ContactUri
{
get
{
return this._contactUri;
}
internal set
{
this._isContact = true;
this._contactGroupId = -1;
this._contactUri = value;
}
}
public bool IsContactNode
{
get
{
return this._isContact;
}
}
public NodeKey NodeKeyValue
{
get
{
return this._nodeKeyValue;
}
internal set
{
this._nodeKeyValue = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -