private void rbtn_ExpectedACK_CheckedChanged(object sender, EventArgs e) { ackSty = ackStyle.expected; if (!string.IsNullOrEmpty(this.rtb_ACK.Text)) { temp = this.rtb_ACK.Text; } //提供期待结果 updateACKToRTB(); }
private void rbtn_ActualACK_CheckedChanged(object sender, EventArgs e) { ackSty = ackStyle.actual; if (!string.IsNullOrEmpty(temp)) { rtb_ACK.Text = temp; } else { rtb_ACK.Text = "请发起请求(POST/POST-UTF8/GET)"; } }