private void DeleteTeamMember(DeleteTeamMemberRequest deleteInfo) { GlobalVariable.DelTeamMember(deleteInfo); if (GlobalVariable.CheckChatFormIsOpened()) { GlobalVariable.ShowNotifyMessage("群组信息已经更改"); chatForm.ReflashTeamChat(); } }
private void memDel_Click(object sender, EventArgs e) { if (cboxTeam.SelectedIndex >= 0) { selectTeam = (ChatStore)cboxTeam.SelectedItem; string userName = this.teamMemList.SelectedItems[0].SubItems[1].Text; bool rs = GlobalVariable.DelTeamMember(selectTeam.ChatUserName, userName); BindTeamMember(); } }