Esempio n. 1
0
        public static void OpenScrollingCapture(TaskSettings taskSettings = null, bool forceSelection = false)
        {
            if (taskSettings == null) taskSettings = TaskSettings.GetDefaultTaskSettings();

            ScrollingCaptureForm scrollingCaptureForm = new ScrollingCaptureForm(taskSettings.CaptureSettingsReference.ScrollingCaptureOptions, forceSelection);
            scrollingCaptureForm.ProcessRequested += image => UploadManager.RunImageTask(image, taskSettings);
            scrollingCaptureForm.Show();
        }
Esempio n. 2
0
        public static void OpenScrollingCapture(TaskSettings taskSettings = null)
        {
            if (taskSettings == null) taskSettings = TaskSettings.GetDefaultTaskSettings();

            ScrollingCaptureForm scrollingCaptureForm = new ScrollingCaptureForm(taskSettings.CaptureSettings.ScrollingCaptureOptions);
            scrollingCaptureForm.ProcessRequested += image => UploadManager.RunImageTask(image, taskSettings);
            scrollingCaptureForm.ShowActivate();
        }