private void Idteststop_Click(object sender, EventArgs e) { IDcardTest.CancelAsync(); IDreader.Close(); idteststop.Enabled = false; idserialport.Enabled = true; }
private void Button1_Click_1(object sender, EventArgs e) { IDcardTest.RunWorkerAsync(); idteststop.Enabled = true; }