示例#1
0
 public void SetLED(NationalInstruments.UI.WindowsForms.Led led, bool val)
 {
     led.Invoke(new SetLedDelegate(SetLedHelper), new object[] { led, val });
 }
示例#2
0
 //An irritating number of threadsafe delegates for the viewer controlWindow.
 private void attachToViewer(NationalInstruments.Vision.WindowsForms.ImageViewer viewer, VisionImage image)
 {
     viewer.Invoke(new AttachImageToViewerDelegate(AttachImageHelper), new object[] { viewer, image });
 }
 private void setLEDColour(NationalInstruments.UI.WindowsForms.Led led, Color val)
 {
     led.Invoke(new SetLedColourDelegate(SetLedColourHelper), new object[] { led, val });
 }