private void OnShowCamera(object sender, RoutedEventArgs e) { CameraPanel.Visibility = Visibility.Visible; showImageStream = true; }