//解禁群员 private void button16_Click(object sender, EventArgs e) { if (string.IsNullOrWhiteSpace(this.textBox21.Text)) { MessageBox.Show("目标群号不能为空"); return; } if (string.IsNullOrWhiteSpace(this.textBox20.Text)) { MessageBox.Show("目标QQ不能为空"); return; } int content = coolQApiForTest.SetGroupBan(Convert.ToInt64(this.textBox21.Text), Convert.ToInt64(this.textBox20.Text), Convert.ToInt64(numericUpDown1.Value)); textBox4.Text = "" + content; MessageBox.Show("执行完成"); }