public static void OpenImageCombiner(TaskSettings taskSettings = null) { if (taskSettings == null) { taskSettings = TaskSettings.GetDefaultTaskSettings(); } ImageCombinerForm imageCombinerForm = new ImageCombinerForm(taskSettings.ToolsSettingsReference.ImageCombinerOptions); imageCombinerForm.ProcessRequested += img => UploadManager.RunImageTask(img, taskSettings); imageCombinerForm.Show(); }
public static void OpenImageCombiner(TaskSettings taskSettings = null) { if (taskSettings == null) taskSettings = TaskSettings.GetDefaultTaskSettings(); ImageCombinerForm imageCombinerForm = new ImageCombinerForm(taskSettings.ToolsSettingsReference.ImageCombinerOptions); imageCombinerForm.ProcessRequested += image => UploadManager.RunImageTask(image, taskSettings); imageCombinerForm.Show(); }