public void InterlocutorChoiceFunc(object o) { string gr = "Group:"; NICKNAME = _SelectedString.Login; if (NICKNAME.Contains(gr)) { MessegeChat = network.CLIENTGROUP(NICKNAME); StringsUsers = network.ChangeColorNickName(NICKNAME); } else { MessegeChat = network.CLIENT(NICKNAME); StringsUsers = network.ChangeColorNickName(NICKNAME); } }