private void button1_Click(object sender, RoutedEventArgs e) { CameraCaptureTask task = new CameraCaptureTask(); task.Completed += (s, evt) => { if (evt.Error == null && evt.TaskResult == TaskResult.OK) { bmpImage.SetSource(evt.ChosenPhoto); image1.Source = bmpImage; } }; task.Show(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)