private void LoadSelectedImage() { fileLoader = new FileLoaderTask(); fileLoader.RunCompleted += new RunCompletedEventHandler <ImageJpeg>(LoadCompleteImage); this.TextStatus.Text = "Status: Aplicando " + AppConfig.Filter; stopWatch = Stopwatch.StartNew(); AppConfig.Image = PhotoUtilities.PhotoNameToFileName(photoName); if (AppConfig.Filter.Equals("Benchmark")) { AppConfig.Size = "0.3MP"; } fileLoader.Config = AppConfig; fileLoader.Execute(); }