Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

Translate C# to VC

$
0
0

Hello:

Can someone help me and translate these two C # instructions to Cobol?


_NuxIO.ValueEnteredEvent + = new NuxIO.ValueEnteredEventHandler (OnValueEnteredEvent);


Private void OnValueEnteredEvent (object sender, ValueEnteredEventArgs e)
{
If (e.Type == 2) ListBox.Invoke ((MethodInvoker)) => listBox.Items.Add ("IP:" + e.IPAddress + "RS232:" + e.Value)));
If (e.Type == 3) ListBox.Invoke ((MethodInvoker)) => listBox.Items.Add ("IP:" + e.IPAddress + "I8 Activated")));
If (e.Type == 4) ListBox.Invoke ((MethodInvoker)) => listBox.Items.Add ("IP:" + e.IPAddress + "I7 Activated")));
}

 

Thanks

Alberto Ferraz


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>