public void camera_LiveViewPaused(object sender, EventArgs e)
{
if (this.InvokeRequired)
this.Invoke(new Action(() => this.camera_LiveViewPaused(sender,e)));
else
this.SafeCall(() =>
{
var camera = this.GetSelectedCamera();
if (camera != null)
camera.TakePicture();
}, ex => { MessageBox.Show(ex.ToString(), Resources.TakePictureError, MessageBoxButtons.OK, MessageBoxIcon.Error);
camera_LiveViewResume();
});
}