private void btnPauseConsumer_Click(object sender, EventArgs e) { aduinodataconsumer.Pause(); }
private void btnPause_Click(object sender, EventArgs e) { mythread.Pause(); }