private Color JudgeColor(PostClass BasePost, PostClass TargetPost)
{
Color cl;
if (TargetPost.StatusId == BasePost.InReplyToStatusId)
//@先
cl = _clAtTo;
else if (TargetPost.IsMe)
//自分=発言者
cl = _clSelf;
else if (TargetPost.IsReply)
//自分宛返信
cl = _clAtSelf;
else if (BasePost.ReplyToList.Contains(TargetPost.ScreenName.ToLowerInvariant()))
//返信先
cl = _clAtFromTarget;
else if (TargetPost.ReplyToList.Contains(BasePost.ScreenName.ToLowerInvariant()))
//その人への返信
cl = _clAtTarget;
else if (TargetPost.ScreenName.Equals(BasePost.ScreenName, StringComparison.OrdinalIgnoreCase))
//発言者
cl = _clTarget;
else
//その他
cl = _clListBackcolor;
return cl;
}