Converter Um Codigo C# em VB.NET Urgente Plis
30/01/2012
0
Bom dia a todos, Preciso converter o codigo abaixo em Vb.net e esta dando erro me ajudem por favor...
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 \n;
}));
};
}
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 \n;
}));
};
}
Anderson
Curtir tópico
+ 0
Responder
Posts
Clique aqui para fazer login e interagir na Comunidade :)