private void Btn_Click(object sender, EventArgs e) { var btn = sender as Button; var psetid = btn.Tag as string; connect.SelectPset(psetid, () => { MessageBox.Show("更改成功!"); }, mid => { MessageBox.Show("更改失败!" + mid); }); }
private void Btn_Click(object sender, EventArgs e) { var btn = sender as Button; var psetid = btn.Tag as string; connect.SelectPset(psetid, () => { MessageBox.Show("更改成功!"); }, mid => { MessageBox.Show("更改失败!" + mid); }); }