コード例 #1
0
ファイル: UserMainForm.cs プロジェクト: fire8862005/Teach222
 private void DeleteTeamMember(DeleteTeamMemberRequest deleteInfo)
 {
     GlobalVariable.DelTeamMember(deleteInfo);
     if (GlobalVariable.CheckChatFormIsOpened())
     {
         GlobalVariable.ShowNotifyMessage("群组信息已经更改");
         chatForm.ReflashTeamChat();
     }
 }
コード例 #2
0
        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();
            }
        }