private async void btScreenCaptureUpdate_Click(object sender, RoutedEventArgs e) { await VideoCapture1.Screen_Capture_UpdateParametersAsync( Convert.ToInt32(edScreenLeft.Text), Convert.ToInt32(edScreenTop.Text), cbScreenCapture_GrabMouseCursor.IsChecked == true); }