Beispiel #1
0
        //获取群成员信息
        private void button4_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrWhiteSpace(this.textBox6.Text))
            {
                MessageBox.Show("目标群不能为空");
                return;
            }

            if (string.IsNullOrWhiteSpace(this.textBox5.Text))
            {
                MessageBox.Show("目标qq不能为空");
                return;
            }

            string content = coolQApiForTest.GetGroupMemberInfo(Convert.ToInt64(this.textBox6.Text), Convert.ToInt64(this.textBox5.Text));

            textBox4.Text = content;
            MessageBox.Show("执行完成");
        }