/// <summary>
 /// stops the current cam and deregister the capture handle methode
 /// </summary>
 public void StopCam()
 {
     if (SelectedWebcam != null)
     {
         SelectedWebcam.Stop();
         SelectedWebcam.NewBitmapReady -= newCamEstablished;
     }
 }
 /// <summary>
 /// starts the cam, representated by the given device string and registers the capture handle methode
 /// </summary>
 /// <param name="device"></param>
 public void StartCam(string device)
 {
     if (SelectedWebcam != null && device.Equals(SelectedWebcam.MonikerString))
     {
         SelectedWebcam.Start();
     }
     else
     {
         SelectedWebcam = new CapDevice("")
         {
             MonikerString = device
         };
     }
     //register output change eventhandler
     SelectedWebcam.NewBitmapReady += newCamEstablished;
 }