Postada em 30/01/2012 10:57 hs
Galera seguinte tenho uma aplicação que captura o evento do Pedal na porta Rs232 o Problema que esta em C# e eu queria fazer em vb.NET alguem consegue converter esse codigo? Meu problema esta em chamar a thread...
private void UpdatePinState() {
if (comport.CtsHolding == true) { this.Invoke(new ThreadStart(() => { // Show the state of the pins chkCD.Checked = comport.CDHolding; chkCTS.Checked = comport.CtsHolding; chkDSR.Checked = comport.DsrHolding; rtfTerminal.Text = rtfTerminal.Text + "teste ";
})); }; }
|