private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
private readonly PhotoChooserTask photoTask = new PhotoChooserTask(); public CarDetailsPage() { InitializeComponent(); photoTask.Completed += PhotoTask_Completed; // ... other code ... } private void PhotoButton_Click( object sender, RoutedEventArgs e) { photoTask.Show(); } private void PhotoTask_Completed( object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { var image = new System.Windows.Media.Imaging.BitmapImage(); image.SetSource(e.ChosenPhoto); CarDataStore.SaveTempCarPhoto(image, delegate { MessageBox.Show( "There is not enough space on " + "your phone to save your selection. Free some " + "space and try again." , "Warning" , MessageBoxButton.OK); }); car.Picture = image; hasUnsavedChanges = true ; } } * This source code was highlighted with Source Code Highlighter .
Source: https://habr.com/ru/post/118462/
All Articles