Esempio n. 1
0
        //发送讨论组信息
        private void button10_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrWhiteSpace(this.textBox12.Text))
            {
                MessageBox.Show("目标讨论组号不能为空");
                return;
            }

            if (string.IsNullOrWhiteSpace(this.textBox10.Text))
            {
                MessageBox.Show("消息内容不能为空");
                return;
            }
            int content = coolQApiForTest.SendDiscussMsg(Convert.ToInt64(this.textBox12.Text), this.textBox10.Text);

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