private void triggerButton_Click( object sender, EventArgs e ) { if ( ( videoDevice != null ) && ( videoDevice.ProvideSnapshots ) ) { videoDevice.SimulateTrigger( ); } }