private void heightUpDown_ValueChanged( object sender, EventArgs e )
{
if ( videoSource != null )
{
try
{
videoSource.SetParam( CameraParameter.Height, (int) heightUpDown.Value );
offsetYUpDown.Maximum = heightUpDown.Maximum - heightUpDown.Value;
offsetYUpDown.Value = 0;
}
catch
{
}
}
}