?? 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 + -