Exemplo n.º 1
0
        private void 移动联系人至ToolStripMenuItem_DropDownItemClicked(object sender, ToolStripItemClickedEventArgs e)
        {
            bool    bSuccess = false;
            UserBLL udb      = new UserBLL();
            string  sItemID  = string.Empty;

            sItemID  = chatListBox1.SelectSubItem.ID.ToString();
            bSuccess = udb.ChangeGroup(e.ClickedItem.Tag.ToString(), sItemID);
            if (bSuccess)
            {
                MessageBox.Show("移动分组成功!");
                main_Load(sender, e);
            }
            else
            {
                MessageBox.Show("移动分组失败!");
            }
        }