PDA

View Full Version : switching between 2 converter



sdecorme
June 4, 2008, 12:37:13
What is the way to switch with one icImagingControl between 2 converter ?
thanks

Stefan Geissler
June 4, 2008, 13:42:49
I think, you already sent us your project and we are still working on it.

sdecorme
June 4, 2008, 16:59:53
Ok thanks sacha give me the answer .
see the answer

The "SwitchingVideo" - method must be called using a "delegate" and "BeginInvoke", because the .LiveStop waits for all IC-events:

private delegate void switchDelegate();

private void icImagingControl2_MouseDown(object sender, ICImagingControl.MouseEventArgs e) {
this.BeginInvoke(new switchDelegate(this.EchangeVideo));
}

Also, the Overlaybitmap must be updated in "SwitchingVideo".
If some need code I can put it here

how can I receive mail about a question about this code ?

Stefan Geissler
June 4, 2008, 17:32:28
Hi,



how can I receive mail about a question about this code ?

Somewhere it is possible to tell the forum, that you want to be informed, if a thread is changed.