protected void AddColor(string username, Color color) { if (UserColors.ContainsKey(username)) { UserColors[username] = color; } else { UserColors.Add(username, color); } }
protected Color GetColor(string username) { return(UserColors.ContainsKey(username) ? UserColors[username] : Color.White); }