private void button2_Click(object sender, EventArgs e) { this.Hide(); ChatUsers friends = new ChatUsers(Profile.active, Profile.users); friends.Show(); }
private void btnFriends_Click(object sender, EventArgs e) { this.Hide(); ChatUsers friends = new ChatUsers(active, users); friends.Show(); }
public void RemoveChatUser(string index) { ChatUsers.Remove(index.ToUpper()); }
public void AddChatUser(string index, ChatUser user) { ChatUsers.Add(index.ToUpper(), user); }