private void btnStop_Click(object sender, EventArgs e) { this.isRunning = false; AutoLeadClientHelper.stopRecordingEU(); this.result = (string)null; this.Close(); }
private void btnDone_Click(object sender, EventArgs e) { this.isRunning = false; AutoLeadClientHelper.stopRecordingEU(); this.result = (string)null; if (this.lvScript.Items.Count > 0) { this.result = ""; for (int index = 0; index < this.lvScript.Items.Count; ++index) { this.result = this.result + this.lvScript.Items[index].Text + "\r\n"; } } this.Close(); }