public void updateElement() { base.Text = relatedEndpoint.ToString(); base.ForeColor = (relatedEndpoint.online ? System.Drawing.Color.Black : System.Drawing.Color.DarkGray); }
public LVUserItem(ChatEndpoint ce) { relatedEndpoint = ce; base.Text = ce.ToString(); base.ForeColor = (relatedEndpoint.online ? System.Drawing.Color.Black : System.Drawing.Color.DarkGray); }