diff --git a/src/Greenshot.Base/Core/CoreConfiguration.cs b/src/Greenshot.Base/Core/CoreConfiguration.cs index 3e085bc9b..b575a02c5 100644 --- a/src/Greenshot.Base/Core/CoreConfiguration.cs +++ b/src/Greenshot.Base/Core/CoreConfiguration.cs @@ -212,6 +212,9 @@ namespace Greenshot.Base.Core [IniProperty("ExcludeDestinations", Description = "Comma separated list of destinations which should be disabled.")] public List ExcludeDestinations { get; set; } + [IniProperty("HiddenDestinations", Description = "Comma separated list of destinations which should be hidden.")] + public List HiddenDestinations { get; set; } + [IniProperty("UpdateCheckInterval", Description = "How many days between every update check? (0=no checks)", DefaultValue = "14")] public int UpdateCheckInterval { get; set; } diff --git a/src/Greenshot.Base/Core/DestinationHelper.cs b/src/Greenshot.Base/Core/DestinationHelper.cs index 641b29bbc..54bbd8ec4 100644 --- a/src/Greenshot.Base/Core/DestinationHelper.cs +++ b/src/Greenshot.Base/Core/DestinationHelper.cs @@ -36,13 +36,16 @@ namespace Greenshot.Base.Core /// /// Method to get all the destinations from the plugins /// + /// Whether or not to excluded hidden destinations. Default is false. /// List of IDestination - public static IEnumerable GetAllDestinations() + public static IEnumerable GetAllDestinations(bool excludeHidden = false) { return SimpleServiceProvider.Current.GetAllInstances() .Where(destination => destination.IsActive) - .Where(destination => CoreConfig.ExcludeDestinations == null || - !CoreConfig.ExcludeDestinations.Contains(destination.Designation)).OrderBy(p => p.Priority).ThenBy(p => p.Description); + .Where(destination => !excludeHidden || CoreConfig.HiddenDestinations == null || !CoreConfig.HiddenDestinations.Contains(destination.Designation)) + .Where(destination => CoreConfig.ExcludeDestinations == null || !CoreConfig.ExcludeDestinations.Contains(destination.Designation)) + .OrderBy(p => p.Priority) + .ThenBy(p => p.Description); } /// diff --git a/src/Greenshot/Destinations/PickerDestination.cs b/src/Greenshot/Destinations/PickerDestination.cs index fd2f0bc05..491843674 100644 --- a/src/Greenshot/Destinations/PickerDestination.cs +++ b/src/Greenshot/Destinations/PickerDestination.cs @@ -19,7 +19,9 @@ * along with this program. If not, see . */ +using System; using System.Collections.Generic; +using System.Linq; using Greenshot.Base; using Greenshot.Base.Core; using Greenshot.Base.Interfaces; @@ -38,6 +40,7 @@ namespace Greenshot.Destinations public override int Priority => 1; + private readonly Func _isNotPickerPredicate = (destination) => !destination.Designation.Equals(nameof(WellKnownDestinations.Picker)); /// /// Export the capture with the destination picker @@ -48,22 +51,9 @@ namespace Greenshot.Destinations /// true if export was made public override ExportInformation ExportCapture(bool manuallyInitiated, ISurface surface, ICaptureDetails captureDetails) { - List destinations = new List(); - - foreach (var destination in SimpleServiceProvider.Current.GetAllInstances()) - { - if ("Picker".Equals(destination.Designation)) - { - continue; - } - - if (!destination.IsActive) - { - continue; - } - - destinations.Add(destination); - } + List destinations = DestinationHelper.GetAllDestinations(true) + .Where(_isNotPickerPredicate) + .ToList(); // No Processing, this is done in the selected destination (if anything was selected) return ShowPickerMenu(true, surface, captureDetails, destinations); diff --git a/src/Greenshot/Forms/SettingsForm.Designer.cs b/src/Greenshot/Forms/SettingsForm.Designer.cs index 6bea356df..7995b4923 100644 --- a/src/Greenshot/Forms/SettingsForm.Designer.cs +++ b/src/Greenshot/Forms/SettingsForm.Designer.cs @@ -52,1259 +52,1425 @@ namespace Greenshot.Forms { /// private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SettingsForm)); - this.textbox_storagelocation = new GreenshotTextBox(); - this.label_storagelocation = new GreenshotLabel(); - this.settings_cancel = new GreenshotButton(); - this.settings_confirm = new GreenshotButton(); - this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog(); - this.browse = new System.Windows.Forms.Button(); - this.label_screenshotname = new GreenshotLabel(); - this.textbox_screenshotname = new GreenshotTextBox(); - this.label_language = new GreenshotLabel(); - this.combobox_language = new System.Windows.Forms.ComboBox(); - this.combobox_primaryimageformat = new GreenshotComboBox(); - this.label_primaryimageformat = new GreenshotLabel(); - this.groupbox_preferredfilesettings = new GreenshotGroupBox(); - this.btnPatternHelp = new System.Windows.Forms.Button(); - this.checkbox_copypathtoclipboard = new GreenshotCheckBox(); - this.checkbox_zoomer = new GreenshotCheckBox(); - this.groupbox_applicationsettings = new GreenshotGroupBox(); - this.checkbox_autostartshortcut = new GreenshotCheckBox(); - this.groupbox_qualitysettings = new GreenshotGroupBox(); - this.checkbox_reducecolors = new GreenshotCheckBox(); - this.checkbox_alwaysshowqualitydialog = new GreenshotCheckBox(); - this.label_jpegquality = new GreenshotLabel(); - this.textBoxJpegQuality = new System.Windows.Forms.TextBox(); - this.trackBarJpegQuality = new System.Windows.Forms.TrackBar(); - this.groupbox_destination = new GreenshotGroupBox(); - this.checkbox_picker = new GreenshotCheckBox(); - this.listview_destinations = new System.Windows.Forms.ListView(); - this.destination = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.tabcontrol = new System.Windows.Forms.TabControl(); - this.tab_general = new GreenshotTabPage(); - this.groupbox_network = new GreenshotGroupBox(); - this.numericUpDown_daysbetweencheck = new System.Windows.Forms.NumericUpDown(); - this.label_checkperiod = new GreenshotLabel(); - this.checkbox_usedefaultproxy = new GreenshotCheckBox(); - this.groupbox_hotkeys = new GreenshotGroupBox(); - this.label_lastregion_hotkey = new GreenshotLabel(); - this.lastregion_hotkeyControl = new HotkeyControl(); - this.label_ie_hotkey = new GreenshotLabel(); - this.ie_hotkeyControl = new HotkeyControl(); - this.label_region_hotkey = new GreenshotLabel(); - this.label_window_hotkey = new GreenshotLabel(); - this.label_fullscreen_hotkey = new GreenshotLabel(); - this.region_hotkeyControl = new HotkeyControl(); - this.window_hotkeyControl = new HotkeyControl(); - this.fullscreen_hotkeyControl = new HotkeyControl(); - this.tab_capture = new GreenshotTabPage(); - this.groupbox_editor = new GreenshotGroupBox(); - this.numericUpdownIconSize = new System.Windows.Forms.NumericUpDown(); - this.label_icon_size = new GreenshotLabel(); - this.checkbox_editor_match_capture_size = new GreenshotCheckBox(); - this.groupbox_iecapture = new GreenshotGroupBox(); - this.checkbox_ie_capture = new GreenshotCheckBox(); - this.groupbox_windowscapture = new GreenshotGroupBox(); - this.colorButton_window_background = new ColorButton(); - this.radiobuttonWindowCapture = new GreenshotRadioButton(); - this.radiobuttonInteractiveCapture = new GreenshotRadioButton(); - this.combobox_window_capture_mode = new System.Windows.Forms.ComboBox(); - this.groupbox_capture = new GreenshotGroupBox(); - this.checkbox_notifications = new GreenshotCheckBox(); - this.checkbox_playsound = new GreenshotCheckBox(); - this.checkbox_capture_mousepointer = new GreenshotCheckBox(); - this.numericUpDownWaitTime = new System.Windows.Forms.NumericUpDown(); - this.label_waittime = new GreenshotLabel(); - this.tab_output = new GreenshotTabPage(); - this.tab_destinations = new GreenshotTabPage(); - this.tab_printer = new GreenshotTabPage(); - this.groupBoxColors = new GreenshotGroupBox(); - this.checkboxPrintInverted = new GreenshotCheckBox(); - this.radioBtnColorPrint = new GreenshotRadioButton(); - this.radioBtnGrayScale = new GreenshotRadioButton(); - this.radioBtnMonochrome = new GreenshotRadioButton(); - this.groupBoxPrintLayout = new GreenshotGroupBox(); - this.checkboxDateTime = new GreenshotCheckBox(); - this.checkboxAllowShrink = new GreenshotCheckBox(); - this.checkboxAllowEnlarge = new GreenshotCheckBox(); - this.checkboxAllowRotate = new GreenshotCheckBox(); - this.checkboxAllowCenter = new GreenshotCheckBox(); - this.checkbox_alwaysshowprintoptionsdialog = new GreenshotCheckBox(); - this.tab_plugins = new GreenshotTabPage(); - this.groupbox_plugins = new GreenshotGroupBox(); - this.listview_plugins = new System.Windows.Forms.ListView(); - this.button_pluginconfigure = new GreenshotButton(); - this.tab_expert = new GreenshotTabPage(); - this.groupbox_expert = new GreenshotGroupBox(); - this.checkbox_reuseeditor = new GreenshotCheckBox(); - this.checkbox_minimizememoryfootprint = new GreenshotCheckBox(); - this.checkbox_checkunstableupdates = new GreenshotCheckBox(); - this.checkbox_suppresssavedialogatclose = new GreenshotCheckBox(); - this.label_counter = new GreenshotLabel(); - this.textbox_counter = new GreenshotTextBox(); - this.label_footerpattern = new GreenshotLabel(); - this.textbox_footerpattern = new GreenshotTextBox(); - this.checkbox_thumbnailpreview = new GreenshotCheckBox(); - this.checkbox_optimizeforrdp = new GreenshotCheckBox(); - this.checkbox_autoreducecolors = new GreenshotCheckBox(); - this.label_clipboardformats = new GreenshotLabel(); - this.checkbox_enableexpert = new GreenshotCheckBox(); - this.listview_clipboardformats = new System.Windows.Forms.ListView(); - this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.groupbox_preferredfilesettings.SuspendLayout(); - this.groupbox_applicationsettings.SuspendLayout(); - this.groupbox_qualitysettings.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.trackBarJpegQuality)).BeginInit(); - this.groupbox_destination.SuspendLayout(); - this.tabcontrol.SuspendLayout(); - this.tab_general.SuspendLayout(); - this.groupbox_network.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_daysbetweencheck)).BeginInit(); - this.groupbox_hotkeys.SuspendLayout(); - this.tab_capture.SuspendLayout(); - this.groupbox_editor.SuspendLayout(); - this.groupbox_iecapture.SuspendLayout(); - this.groupbox_windowscapture.SuspendLayout(); - this.groupbox_capture.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.numericUpDownWaitTime)).BeginInit(); - this.tab_output.SuspendLayout(); - this.tab_destinations.SuspendLayout(); - this.tab_printer.SuspendLayout(); - this.groupBoxColors.SuspendLayout(); - this.groupBoxPrintLayout.SuspendLayout(); - this.tab_plugins.SuspendLayout(); - this.groupbox_plugins.SuspendLayout(); - this.tab_expert.SuspendLayout(); - this.groupbox_expert.SuspendLayout(); - this.SuspendLayout(); - // - // textbox_storagelocation - // - this.textbox_storagelocation.Location = new System.Drawing.Point(138, 18); - this.textbox_storagelocation.Name = "textbox_storagelocation"; - this.textbox_storagelocation.Size = new System.Drawing.Size(233, 20); - this.textbox_storagelocation.TabIndex = 1; - this.textbox_storagelocation.TextChanged += new System.EventHandler(this.StorageLocationChanged); - // - // label_storagelocation - // - this.label_storagelocation.LanguageKey = "settings_storagelocation"; - this.label_storagelocation.Location = new System.Drawing.Point(6, 21); - this.label_storagelocation.Name = "label_storagelocation"; - this.label_storagelocation.Size = new System.Drawing.Size(126, 23); - this.label_storagelocation.TabIndex = 11; - // - // settings_cancel - // - this.settings_cancel.LanguageKey = "CANCEL"; - this.settings_cancel.Location = new System.Drawing.Point(364, 396); - this.settings_cancel.Name = "settings_cancel"; - this.settings_cancel.Size = new System.Drawing.Size(75, 23); - this.settings_cancel.TabIndex = 21; - this.settings_cancel.UseVisualStyleBackColor = true; - this.settings_cancel.Click += new System.EventHandler(this.Settings_cancelClick); - // - // settings_confirm - // - this.settings_confirm.LanguageKey = "OK"; - this.settings_confirm.Location = new System.Drawing.Point(283, 396); - this.settings_confirm.Name = "settings_confirm"; - this.settings_confirm.Size = new System.Drawing.Size(75, 23); - this.settings_confirm.TabIndex = 20; - this.settings_confirm.UseVisualStyleBackColor = true; - this.settings_confirm.Click += new System.EventHandler(this.Settings_okayClick); - // - // browse - // - this.browse.Location = new System.Drawing.Point(371, 17); - this.browse.Name = "browse"; - this.browse.Size = new System.Drawing.Size(35, 23); - this.browse.TabIndex = 2; - this.browse.Text = "..."; - this.browse.UseVisualStyleBackColor = true; - this.browse.Click += new System.EventHandler(this.BrowseClick); - // - // label_screenshotname - // - this.label_screenshotname.LanguageKey = "settings_filenamepattern"; - this.label_screenshotname.Location = new System.Drawing.Point(6, 44); - this.label_screenshotname.Name = "label_screenshotname"; - this.label_screenshotname.Size = new System.Drawing.Size(126, 23); - this.label_screenshotname.TabIndex = 9; - // - // textbox_screenshotname - // - this.textbox_screenshotname.Location = new System.Drawing.Point(138, 41); - this.textbox_screenshotname.Name = "textbox_screenshotname"; - this.textbox_screenshotname.PropertyName = nameof(CoreConfiguration.OutputFileFilenamePattern); - this.textbox_screenshotname.Size = new System.Drawing.Size(233, 20); - this.textbox_screenshotname.TabIndex = 3; - this.textbox_screenshotname.TextChanged += new System.EventHandler(this.FilenamePatternChanged); - // - // label_language - // - this.label_language.LanguageKey = "settings_language"; - this.label_language.Location = new System.Drawing.Point(6, 20); - this.label_language.Name = "label_language"; - this.label_language.Size = new System.Drawing.Size(181, 23); - this.label_language.TabIndex = 10; - // - // combobox_language - // - this.combobox_language.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.combobox_language.FormattingEnabled = true; - this.combobox_language.Location = new System.Drawing.Point(193, 17); - this.combobox_language.MaxDropDownItems = 15; - this.combobox_language.Name = "combobox_language"; - this.combobox_language.Size = new System.Drawing.Size(210, 21); - this.combobox_language.TabIndex = 0; - // - // combobox_primaryimageformat - // - this.combobox_primaryimageformat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.combobox_primaryimageformat.FormattingEnabled = true; - this.combobox_primaryimageformat.Location = new System.Drawing.Point(138, 64); - this.combobox_primaryimageformat.Name = "combobox_primaryimageformat"; - this.combobox_primaryimageformat.PropertyName = nameof(CoreConfiguration.OutputFileFormat); - this.combobox_primaryimageformat.Size = new System.Drawing.Size(268, 21); - this.combobox_primaryimageformat.TabIndex = 5; - // - // label_primaryimageformat - // - this.label_primaryimageformat.LanguageKey = "settings_primaryimageformat"; - this.label_primaryimageformat.Location = new System.Drawing.Point(6, 67); - this.label_primaryimageformat.Name = "label_primaryimageformat"; - this.label_primaryimageformat.Size = new System.Drawing.Size(126, 19); - this.label_primaryimageformat.TabIndex = 8; - // - // groupbox_preferredfilesettings - // - this.groupbox_preferredfilesettings.Controls.Add(this.btnPatternHelp); - this.groupbox_preferredfilesettings.Controls.Add(this.checkbox_copypathtoclipboard); - this.groupbox_preferredfilesettings.Controls.Add(this.combobox_primaryimageformat); - this.groupbox_preferredfilesettings.Controls.Add(this.label_primaryimageformat); - this.groupbox_preferredfilesettings.Controls.Add(this.label_storagelocation); - this.groupbox_preferredfilesettings.Controls.Add(this.browse); - this.groupbox_preferredfilesettings.Controls.Add(this.textbox_storagelocation); - this.groupbox_preferredfilesettings.Controls.Add(this.textbox_screenshotname); - this.groupbox_preferredfilesettings.Controls.Add(this.label_screenshotname); - this.groupbox_preferredfilesettings.LanguageKey = "settings_preferredfilesettings"; - this.groupbox_preferredfilesettings.Location = new System.Drawing.Point(2, 6); - this.groupbox_preferredfilesettings.Name = "groupbox_preferredfilesettings"; - this.groupbox_preferredfilesettings.Size = new System.Drawing.Size(412, 122); - this.groupbox_preferredfilesettings.TabIndex = 13; - this.groupbox_preferredfilesettings.TabStop = false; - // - // btnPatternHelp - // - this.btnPatternHelp.Location = new System.Drawing.Point(371, 39); - this.btnPatternHelp.Name = "btnPatternHelp"; - this.btnPatternHelp.Size = new System.Drawing.Size(35, 23); - this.btnPatternHelp.TabIndex = 4; - this.btnPatternHelp.Text = "?"; - this.btnPatternHelp.UseVisualStyleBackColor = true; - this.btnPatternHelp.Click += new System.EventHandler(this.BtnPatternHelpClick); - // - // checkbox_copypathtoclipboard - // - this.checkbox_copypathtoclipboard.LanguageKey = "settings_copypathtoclipboard"; - this.checkbox_copypathtoclipboard.Location = new System.Drawing.Point(12, 89); - this.checkbox_copypathtoclipboard.Name = "checkbox_copypathtoclipboard"; - this.checkbox_copypathtoclipboard.PropertyName = nameof(CoreConfiguration.OutputFileCopyPathToClipboard); - this.checkbox_copypathtoclipboard.Size = new System.Drawing.Size(394, 24); - this.checkbox_copypathtoclipboard.TabIndex = 6; - this.checkbox_copypathtoclipboard.UseVisualStyleBackColor = true; - // - // groupbox_applicationsettings - // - this.groupbox_applicationsettings.Controls.Add(this.label_language); - this.groupbox_applicationsettings.Controls.Add(this.combobox_language); - this.groupbox_applicationsettings.Controls.Add(this.numericUpdownIconSize); - this.groupbox_applicationsettings.Controls.Add(this.label_icon_size); - this.groupbox_applicationsettings.Controls.Add(this.checkbox_autostartshortcut); - this.groupbox_applicationsettings.LanguageKey = "settings_applicationsettings"; - this.groupbox_applicationsettings.Location = new System.Drawing.Point(2, 6); - this.groupbox_applicationsettings.Name = "groupbox_applicationsettings"; - this.groupbox_applicationsettings.Size = new System.Drawing.Size(412, 89); - this.groupbox_applicationsettings.TabIndex = 14; - this.groupbox_applicationsettings.TabStop = false; - // - // numericUpdownIconSize - // - this.numericUpdownIconSize.Location = new System.Drawing.Point(359, 42); - this.numericUpdownIconSize.Name = "numericUpdownIconWidth"; - this.numericUpdownIconSize.Size = new System.Drawing.Size(44, 20); - this.numericUpdownIconSize.TabIndex = 1; - this.numericUpdownIconSize.Maximum = 256; - this.numericUpdownIconSize.Minimum = 16; - this.numericUpdownIconSize.Increment = 16; - // - // label_icon_size - // - this.label_icon_size.LanguageKey = "settings_iconsize"; - this.label_icon_size.Location = new System.Drawing.Point(6, 44); - this.label_icon_size.Name = "label_icon_size"; - this.label_icon_size.Size = new System.Drawing.Size(350, 16); - this.label_icon_size.TabIndex = 6; - // - // checkbox_autostartshortcut - // - this.checkbox_autostartshortcut.LanguageKey = "settings_autostartshortcut"; - this.checkbox_autostartshortcut.Location = new System.Drawing.Point(8, 60); - this.checkbox_autostartshortcut.Name = "checkbox_autostartshortcut"; - this.checkbox_autostartshortcut.Size = new System.Drawing.Size(397, 25); - this.checkbox_autostartshortcut.TabIndex = 2; - this.checkbox_autostartshortcut.UseVisualStyleBackColor = true; - // - // groupbox_qualitysettings - // - this.groupbox_qualitysettings.Controls.Add(this.checkbox_reducecolors); - this.groupbox_qualitysettings.Controls.Add(this.checkbox_alwaysshowqualitydialog); - this.groupbox_qualitysettings.Controls.Add(this.label_jpegquality); - this.groupbox_qualitysettings.Controls.Add(this.textBoxJpegQuality); - this.groupbox_qualitysettings.Controls.Add(this.trackBarJpegQuality); - this.groupbox_qualitysettings.LanguageKey = "settings_qualitysettings"; - this.groupbox_qualitysettings.Location = new System.Drawing.Point(2, 157); - this.groupbox_qualitysettings.Name = "groupbox_qualitysettings"; - this.groupbox_qualitysettings.Size = new System.Drawing.Size(412, 106); - this.groupbox_qualitysettings.TabIndex = 14; - this.groupbox_qualitysettings.TabStop = false; - // - // checkbox_reducecolors - // - this.checkbox_reducecolors.LanguageKey = "settings_reducecolors"; - this.checkbox_reducecolors.Location = new System.Drawing.Point(12, 72); - this.checkbox_reducecolors.Name = "checkbox_reducecolors"; - this.checkbox_reducecolors.PropertyName = nameof(CoreConfiguration.OutputFileReduceColors); - this.checkbox_reducecolors.Size = new System.Drawing.Size(394, 25); - this.checkbox_reducecolors.TabIndex = 10; - this.checkbox_reducecolors.UseVisualStyleBackColor = true; - // - // checkbox_alwaysshowqualitydialog - // - this.checkbox_alwaysshowqualitydialog.LanguageKey = "settings_alwaysshowqualitydialog"; - this.checkbox_alwaysshowqualitydialog.Location = new System.Drawing.Point(12, 50); - this.checkbox_alwaysshowqualitydialog.Name = "checkbox_alwaysshowqualitydialog"; - this.checkbox_alwaysshowqualitydialog.PropertyName = nameof(CoreConfiguration.OutputFilePromptQuality); - this.checkbox_alwaysshowqualitydialog.Size = new System.Drawing.Size(394, 25); - this.checkbox_alwaysshowqualitydialog.TabIndex = 9; - this.checkbox_alwaysshowqualitydialog.UseVisualStyleBackColor = true; - // - // label_jpegquality - // - this.label_jpegquality.LanguageKey = "settings_jpegquality"; - this.label_jpegquality.Location = new System.Drawing.Point(6, 24); - this.label_jpegquality.Name = "label_jpegquality"; - this.label_jpegquality.Size = new System.Drawing.Size(116, 23); - this.label_jpegquality.TabIndex = 13; - // - // textBoxJpegQuality - // - this.textBoxJpegQuality.Enabled = false; - this.textBoxJpegQuality.Location = new System.Drawing.Point(371, 21); - this.textBoxJpegQuality.Name = "textBoxJpegQuality"; - this.textBoxJpegQuality.ReadOnly = true; - this.textBoxJpegQuality.Size = new System.Drawing.Size(35, 20); - this.textBoxJpegQuality.TabIndex = 8; - this.textBoxJpegQuality.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; - // - // trackBarJpegQuality - // - this.trackBarJpegQuality.LargeChange = 10; - this.trackBarJpegQuality.Location = new System.Drawing.Point(138, 21); - this.trackBarJpegQuality.Maximum = 100; - this.trackBarJpegQuality.Name = "trackBarJpegQuality"; - this.trackBarJpegQuality.Size = new System.Drawing.Size(233, 45); - this.trackBarJpegQuality.TabIndex = 7; - this.trackBarJpegQuality.TickFrequency = 10; - this.trackBarJpegQuality.Scroll += new System.EventHandler(this.TrackBarJpegQualityScroll); - // - // groupbox_destination - // - this.groupbox_destination.Controls.Add(this.checkbox_picker); - this.groupbox_destination.Controls.Add(this.listview_destinations); - this.groupbox_destination.LanguageKey = "settings_destination"; - this.groupbox_destination.Location = new System.Drawing.Point(2, 6); - this.groupbox_destination.Name = "groupbox_destination"; - this.groupbox_destination.Size = new System.Drawing.Size(412, 311); - this.groupbox_destination.TabIndex = 16; - this.groupbox_destination.TabStop = false; - // - // checkbox_picker - // - this.checkbox_picker.LanguageKey = "settings_destination_picker"; - this.checkbox_picker.Location = new System.Drawing.Point(6, 14); - this.checkbox_picker.Name = "checkbox_picker"; - this.checkbox_picker.Size = new System.Drawing.Size(394, 24); - this.checkbox_picker.TabIndex = 1; - this.checkbox_picker.UseVisualStyleBackColor = true; - this.checkbox_picker.CheckStateChanged += new System.EventHandler(this.DestinationsCheckStateChanged); - // - // listview_destinations - // - this.listview_destinations.Alignment = System.Windows.Forms.ListViewAlignment.Left; - this.listview_destinations.AutoArrange = false; - this.listview_destinations.CheckBoxes = true; - this.listview_destinations.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.destination}); - this.listview_destinations.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; - this.listview_destinations.LabelWrap = false; - this.listview_destinations.Location = new System.Drawing.Point(6, 38); - this.listview_destinations.Name = "listview_destinations"; - this.listview_destinations.ShowGroups = false; - this.listview_destinations.Size = new System.Drawing.Size(401, 267); - this.listview_destinations.Sorting = System.Windows.Forms.SortOrder.Ascending; - this.listview_destinations.TabIndex = 2; - this.listview_destinations.UseCompatibleStateImageBehavior = false; - this.listview_destinations.View = System.Windows.Forms.View.Details; - // - // destination - // - this.destination.Text = "Destination"; - this.destination.Width = 380; - // - // tabcontrol - // - this.tabcontrol.Controls.Add(this.tab_general); - this.tabcontrol.Controls.Add(this.tab_capture); - this.tabcontrol.Controls.Add(this.tab_output); - this.tabcontrol.Controls.Add(this.tab_destinations); - this.tabcontrol.Controls.Add(this.tab_printer); - this.tabcontrol.Controls.Add(this.tab_plugins); - this.tabcontrol.Controls.Add(this.tab_expert); - this.tabcontrol.Location = new System.Drawing.Point(12, 13); - this.tabcontrol.Name = "tabcontrol"; - this.tabcontrol.SelectedIndex = 0; - this.tabcontrol.Size = new System.Drawing.Size(431, 377); - this.tabcontrol.TabIndex = 0; - // - // tab_general - // - this.tab_general.BackColor = System.Drawing.Color.Transparent; - this.tab_general.Controls.Add(this.groupbox_network); - this.tab_general.Controls.Add(this.groupbox_hotkeys); - this.tab_general.Controls.Add(this.groupbox_applicationsettings); - this.tab_general.LanguageKey = "settings_general"; - this.tab_general.Location = new System.Drawing.Point(4, 22); - this.tab_general.Name = "tab_general"; - this.tab_general.Padding = new System.Windows.Forms.Padding(3); - this.tab_general.Size = new System.Drawing.Size(423, 351); - this.tab_general.TabIndex = 0; - this.tab_general.UseVisualStyleBackColor = true; - // - // groupbox_network - // - this.groupbox_network.Controls.Add(this.numericUpDown_daysbetweencheck); - this.groupbox_network.Controls.Add(this.label_checkperiod); - this.groupbox_network.Controls.Add(this.checkbox_usedefaultproxy); - this.groupbox_network.LanguageKey = "settings_network"; - this.groupbox_network.Location = new System.Drawing.Point(3, 253); - this.groupbox_network.Name = "groupbox_network"; - this.groupbox_network.Size = new System.Drawing.Size(412, 72); - this.groupbox_network.TabIndex = 54; - this.groupbox_network.TabStop = false; - // - // numericUpDown_daysbetweencheck - // - this.numericUpDown_daysbetweencheck.Location = new System.Drawing.Point(345, 37); - this.numericUpDown_daysbetweencheck.Name = "numericUpDown_daysbetweencheck"; - this.numericUpDown_daysbetweencheck.Size = new System.Drawing.Size(57, 20); - this.numericUpDown_daysbetweencheck.TabIndex = 8; - this.numericUpDown_daysbetweencheck.ThousandsSeparator = true; - this.numericUpDown_daysbetweencheck.Minimum = 0; - this.numericUpDown_daysbetweencheck.Maximum = 365; - // - // label_checkperiod - // - this.label_checkperiod.LanguageKey = "settings_checkperiod"; - this.label_checkperiod.Location = new System.Drawing.Point(5, 39); - this.label_checkperiod.Name = "label_checkperiod"; - this.label_checkperiod.Size = new System.Drawing.Size(334, 23); - this.label_checkperiod.TabIndex = 19; - // - // checkbox_usedefaultproxy - // - this.checkbox_usedefaultproxy.LanguageKey = "settings_usedefaultproxy"; - this.checkbox_usedefaultproxy.Location = new System.Drawing.Point(7, 11); - this.checkbox_usedefaultproxy.Name = "checkbox_usedefaultproxy"; - this.checkbox_usedefaultproxy.PropertyName = nameof(CoreConfiguration.UseProxy); - this.checkbox_usedefaultproxy.Size = new System.Drawing.Size(397, 25); - this.checkbox_usedefaultproxy.TabIndex = 7; - this.checkbox_usedefaultproxy.UseVisualStyleBackColor = true; - // - // groupbox_hotkeys - // - this.groupbox_hotkeys.Controls.Add(this.label_lastregion_hotkey); - this.groupbox_hotkeys.Controls.Add(this.lastregion_hotkeyControl); - this.groupbox_hotkeys.Controls.Add(this.label_ie_hotkey); - this.groupbox_hotkeys.Controls.Add(this.ie_hotkeyControl); - this.groupbox_hotkeys.Controls.Add(this.label_region_hotkey); - this.groupbox_hotkeys.Controls.Add(this.label_window_hotkey); - this.groupbox_hotkeys.Controls.Add(this.label_fullscreen_hotkey); - this.groupbox_hotkeys.Controls.Add(this.region_hotkeyControl); - this.groupbox_hotkeys.Controls.Add(this.window_hotkeyControl); - this.groupbox_hotkeys.Controls.Add(this.fullscreen_hotkeyControl); - this.groupbox_hotkeys.LanguageKey = "hotkeys"; - this.groupbox_hotkeys.Location = new System.Drawing.Point(2, 98); - this.groupbox_hotkeys.Name = "groupbox_hotkeys"; - this.groupbox_hotkeys.Size = new System.Drawing.Size(412, 152); - this.groupbox_hotkeys.TabIndex = 15; - this.groupbox_hotkeys.TabStop = false; - // - // label_lastregion_hotkey - // - this.label_lastregion_hotkey.LanguageKey = "contextmenu_capturelastregion"; - this.label_lastregion_hotkey.Location = new System.Drawing.Point(6, 94); - this.label_lastregion_hotkey.Name = "label_lastregion_hotkey"; - this.label_lastregion_hotkey.Size = new System.Drawing.Size(212, 20); - this.label_lastregion_hotkey.TabIndex = 53; - // - // lastregion_hotkeyControl - // - this.lastregion_hotkeyControl.Hotkey = System.Windows.Forms.Keys.None; - this.lastregion_hotkeyControl.HotkeyModifiers = System.Windows.Forms.Keys.None; - this.lastregion_hotkeyControl.Location = new System.Drawing.Point(224, 94); - this.lastregion_hotkeyControl.Name = "lastregion_hotkeyControl"; - this.lastregion_hotkeyControl.PropertyName = nameof(CoreConfiguration.LastregionHotkey); - this.lastregion_hotkeyControl.Size = new System.Drawing.Size(179, 20); - this.lastregion_hotkeyControl.TabIndex = 5; - // - // label_ie_hotkey - // - this.label_ie_hotkey.LanguageKey = "contextmenu_captureie"; - this.label_ie_hotkey.Location = new System.Drawing.Point(6, 120); - this.label_ie_hotkey.Name = "label_ie_hotkey"; - this.label_ie_hotkey.Size = new System.Drawing.Size(212, 20); - this.label_ie_hotkey.TabIndex = 51; - // - // ie_hotkeyControl - // - this.ie_hotkeyControl.Hotkey = System.Windows.Forms.Keys.None; - this.ie_hotkeyControl.HotkeyModifiers = System.Windows.Forms.Keys.None; - this.ie_hotkeyControl.Location = new System.Drawing.Point(224, 120); - this.ie_hotkeyControl.Name = "ie_hotkeyControl"; - this.ie_hotkeyControl.PropertyName = nameof(CoreConfiguration.IEHotkey); - this.ie_hotkeyControl.Size = new System.Drawing.Size(179, 20); - this.ie_hotkeyControl.TabIndex = 6; - // - // label_region_hotkey - // - this.label_region_hotkey.LanguageKey = "contextmenu_capturearea"; - this.label_region_hotkey.Location = new System.Drawing.Point(6, 68); - this.label_region_hotkey.Name = "label_region_hotkey"; - this.label_region_hotkey.Size = new System.Drawing.Size(212, 20); - this.label_region_hotkey.TabIndex = 49; - // - // label_window_hotkey - // - this.label_window_hotkey.LanguageKey = "contextmenu_capturewindow"; - this.label_window_hotkey.Location = new System.Drawing.Point(6, 42); - this.label_window_hotkey.Name = "label_window_hotkey"; - this.label_window_hotkey.Size = new System.Drawing.Size(212, 23); - this.label_window_hotkey.TabIndex = 48; - // - // label_fullscreen_hotkey - // - this.label_fullscreen_hotkey.LanguageKey = "contextmenu_capturefullscreen"; - this.label_fullscreen_hotkey.Location = new System.Drawing.Point(6, 16); - this.label_fullscreen_hotkey.Name = "label_fullscreen_hotkey"; - this.label_fullscreen_hotkey.Size = new System.Drawing.Size(212, 23); - this.label_fullscreen_hotkey.TabIndex = 47; - // - // region_hotkeyControl - // - this.region_hotkeyControl.Hotkey = System.Windows.Forms.Keys.None; - this.region_hotkeyControl.HotkeyModifiers = System.Windows.Forms.Keys.None; - this.region_hotkeyControl.Location = new System.Drawing.Point(224, 68); - this.region_hotkeyControl.Name = "region_hotkeyControl"; - this.region_hotkeyControl.PropertyName = nameof(CoreConfiguration.RegionHotkey); - this.region_hotkeyControl.Size = new System.Drawing.Size(179, 20); - this.region_hotkeyControl.TabIndex = 4; - // - // window_hotkeyControl - // - this.window_hotkeyControl.Hotkey = System.Windows.Forms.Keys.None; - this.window_hotkeyControl.HotkeyModifiers = System.Windows.Forms.Keys.None; - this.window_hotkeyControl.Location = new System.Drawing.Point(224, 42); - this.window_hotkeyControl.Name = "window_hotkeyControl"; - this.window_hotkeyControl.PropertyName = nameof(CoreConfiguration.WindowHotkey); - this.window_hotkeyControl.Size = new System.Drawing.Size(179, 20); - this.window_hotkeyControl.TabIndex = 3; - // - // fullscreen_hotkeyControl - // - this.fullscreen_hotkeyControl.Hotkey = System.Windows.Forms.Keys.None; - this.fullscreen_hotkeyControl.HotkeyModifiers = System.Windows.Forms.Keys.None; - this.fullscreen_hotkeyControl.Location = new System.Drawing.Point(224, 16); - this.fullscreen_hotkeyControl.Name = "fullscreen_hotkeyControl"; - this.fullscreen_hotkeyControl.PropertyName = nameof(CoreConfiguration.FullscreenHotkey); - this.fullscreen_hotkeyControl.Size = new System.Drawing.Size(179, 20); - this.fullscreen_hotkeyControl.TabIndex = 2; - // - // tab_capture - // - this.tab_capture.Controls.Add(this.groupbox_editor); - this.tab_capture.Controls.Add(this.groupbox_iecapture); - this.tab_capture.Controls.Add(this.groupbox_windowscapture); - this.tab_capture.Controls.Add(this.groupbox_capture); - this.tab_capture.LanguageKey = "settings_capture"; - this.tab_capture.Location = new System.Drawing.Point(4, 22); - this.tab_capture.Name = "tab_capture"; - this.tab_capture.Size = new System.Drawing.Size(423, 351); - this.tab_capture.TabIndex = 3; - this.tab_capture.UseVisualStyleBackColor = true; - // - // groupbox_editor - // - this.groupbox_editor.Controls.Add(this.checkbox_editor_match_capture_size); - this.groupbox_editor.LanguageKey = "settings_editor"; - this.groupbox_editor.Location = new System.Drawing.Point(4, 277); - this.groupbox_editor.Name = "groupbox_editor"; - this.groupbox_editor.Size = new System.Drawing.Size(416, 50); - this.groupbox_editor.TabIndex = 27; - this.groupbox_editor.TabStop = false; - // - // checkbox_editor_match_capture_size - // - this.checkbox_editor_match_capture_size.LanguageKey = "editor_match_capture_size"; - this.checkbox_editor_match_capture_size.Location = new System.Drawing.Point(6, 19); - this.checkbox_editor_match_capture_size.Name = "checkbox_editor_match_capture_size"; - this.checkbox_editor_match_capture_size.PropertyName = nameof(EditorConfiguration.MatchSizeToCapture); - this.checkbox_editor_match_capture_size.SectionName = "Editor"; - this.checkbox_editor_match_capture_size.Size = new System.Drawing.Size(397, 24); - this.checkbox_editor_match_capture_size.TabIndex = 11; - this.checkbox_editor_match_capture_size.UseVisualStyleBackColor = true; - // - // groupbox_iecapture - // - this.groupbox_iecapture.Controls.Add(this.checkbox_ie_capture); - this.groupbox_iecapture.LanguageKey = "settings_iecapture"; - this.groupbox_iecapture.Location = new System.Drawing.Point(4, 224); - this.groupbox_iecapture.Name = "groupbox_iecapture"; - this.groupbox_iecapture.Size = new System.Drawing.Size(416, 50); - this.groupbox_iecapture.TabIndex = 2; - this.groupbox_iecapture.TabStop = false; - // - // checkbox_ie_capture - // - this.checkbox_ie_capture.LanguageKey = "settings_iecapture"; - this.checkbox_ie_capture.Location = new System.Drawing.Point(6, 19); - this.checkbox_ie_capture.Name = "checkbox_ie_capture"; - this.checkbox_ie_capture.PropertyName = nameof(CoreConfiguration.IECapture); - this.checkbox_ie_capture.Size = new System.Drawing.Size(404, 24); - this.checkbox_ie_capture.TabIndex = 10; - this.checkbox_ie_capture.UseVisualStyleBackColor = true; - // - // groupbox_windowscapture - // - this.groupbox_windowscapture.Controls.Add(this.colorButton_window_background); - this.groupbox_windowscapture.Controls.Add(this.radiobuttonWindowCapture); - this.groupbox_windowscapture.Controls.Add(this.radiobuttonInteractiveCapture); - this.groupbox_windowscapture.Controls.Add(this.combobox_window_capture_mode); - this.groupbox_windowscapture.LanguageKey = "settings_windowscapture"; - this.groupbox_windowscapture.Location = new System.Drawing.Point(4, 141); - this.groupbox_windowscapture.Name = "groupbox_windowscapture"; - this.groupbox_windowscapture.Size = new System.Drawing.Size(416, 80); - this.groupbox_windowscapture.TabIndex = 1; - this.groupbox_windowscapture.TabStop = false; - // - // colorButton_window_background - // - this.colorButton_window_background.Image = ((System.Drawing.Image)(resources.GetObject("colorButton_window_background.Image"))); - this.colorButton_window_background.Location = new System.Drawing.Point(374, 37); - this.colorButton_window_background.Name = "colorButton_window_background"; - this.colorButton_window_background.SelectedColor = System.Drawing.Color.White; - this.colorButton_window_background.Size = new System.Drawing.Size(29, 30); - this.colorButton_window_background.TabIndex = 9; - this.colorButton_window_background.UseVisualStyleBackColor = true; - // - // radiobuttonWindowCapture - // - this.radiobuttonWindowCapture.LanguageKey = "settings_window_capture_mode"; - this.radiobuttonWindowCapture.Location = new System.Drawing.Point(11, 44); - this.radiobuttonWindowCapture.Name = "radiobuttonWindowCapture"; - this.radiobuttonWindowCapture.Size = new System.Drawing.Size(132, 17); - this.radiobuttonWindowCapture.TabIndex = 7; - this.radiobuttonWindowCapture.TabStop = true; - this.radiobuttonWindowCapture.UseVisualStyleBackColor = true; - // - // radiobuttonInteractiveCapture - // - this.radiobuttonInteractiveCapture.LanguageKey = "settings_capture_windows_interactive"; - this.radiobuttonInteractiveCapture.Location = new System.Drawing.Point(11, 20); - this.radiobuttonInteractiveCapture.Name = "radiobuttonInteractiveCapture"; - this.radiobuttonInteractiveCapture.PropertyName = nameof(CoreConfiguration.CaptureWindowsInteractive); - this.radiobuttonInteractiveCapture.Size = new System.Drawing.Size(203, 17); - this.radiobuttonInteractiveCapture.TabIndex = 6; - this.radiobuttonInteractiveCapture.TabStop = true; - this.radiobuttonInteractiveCapture.UseVisualStyleBackColor = true; - this.radiobuttonInteractiveCapture.CheckedChanged += new System.EventHandler(this.Radiobutton_CheckedChanged); - // - // combobox_window_capture_mode - // - this.combobox_window_capture_mode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.combobox_window_capture_mode.FormattingEnabled = true; - this.combobox_window_capture_mode.Location = new System.Drawing.Point(217, 43); - this.combobox_window_capture_mode.MaxDropDownItems = 15; - this.combobox_window_capture_mode.Name = "combobox_window_capture_mode"; - this.combobox_window_capture_mode.Size = new System.Drawing.Size(151, 21); - this.combobox_window_capture_mode.TabIndex = 8; - this.combobox_window_capture_mode.SelectedIndexChanged += new System.EventHandler(this.Combobox_window_capture_modeSelectedIndexChanged); - // - // groupbox_capture - // - this.groupbox_capture.Controls.Add(this.checkbox_notifications); - this.groupbox_capture.Controls.Add(this.checkbox_playsound); - this.groupbox_capture.Controls.Add(this.checkbox_capture_mousepointer); - this.groupbox_capture.Controls.Add(this.numericUpDownWaitTime); - this.groupbox_capture.Controls.Add(this.label_waittime); - this.groupbox_capture.Controls.Add(this.checkbox_zoomer); - this.groupbox_capture.LanguageKey = "settings_capture"; - this.groupbox_capture.Location = new System.Drawing.Point(4, 4); - this.groupbox_capture.Name = "groupbox_capture"; - this.groupbox_capture.Size = new System.Drawing.Size(416, 134); - this.groupbox_capture.TabIndex = 0; - this.groupbox_capture.TabStop = false; - // + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SettingsForm)); + this.textbox_storagelocation = new Greenshot.Base.Controls.GreenshotTextBox(); + this.label_storagelocation = new Greenshot.Base.Controls.GreenshotLabel(); + this.settings_cancel = new Greenshot.Base.Controls.GreenshotButton(); + this.settings_confirm = new Greenshot.Base.Controls.GreenshotButton(); + this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog(); + this.browse = new System.Windows.Forms.Button(); + this.label_screenshotname = new Greenshot.Base.Controls.GreenshotLabel(); + this.textbox_screenshotname = new Greenshot.Base.Controls.GreenshotTextBox(); + this.label_language = new Greenshot.Base.Controls.GreenshotLabel(); + this.combobox_language = new System.Windows.Forms.ComboBox(); + this.combobox_primaryimageformat = new Greenshot.Base.Controls.GreenshotComboBox(); + this.label_primaryimageformat = new Greenshot.Base.Controls.GreenshotLabel(); + this.groupbox_preferredfilesettings = new Greenshot.Base.Controls.GreenshotGroupBox(); + this.btnPatternHelp = new System.Windows.Forms.Button(); + this.checkbox_copypathtoclipboard = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.checkbox_zoomer = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.groupbox_applicationsettings = new Greenshot.Base.Controls.GreenshotGroupBox(); + this.numericUpdownIconSize = new System.Windows.Forms.NumericUpDown(); + this.label_icon_size = new Greenshot.Base.Controls.GreenshotLabel(); + this.checkbox_autostartshortcut = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.groupbox_qualitysettings = new Greenshot.Base.Controls.GreenshotGroupBox(); + this.checkbox_reducecolors = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.checkbox_alwaysshowqualitydialog = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.label_jpegquality = new Greenshot.Base.Controls.GreenshotLabel(); + this.textBoxJpegQuality = new System.Windows.Forms.TextBox(); + this.trackBarJpegQuality = new System.Windows.Forms.TrackBar(); + this.groupbox_destination = new Greenshot.Base.Controls.GreenshotGroupBox(); + this.checkbox_picker = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.listview_destinations = new System.Windows.Forms.ListView(); + this.destination = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.tabcontrol = new System.Windows.Forms.TabControl(); + this.tab_general = new Greenshot.Base.Controls.GreenshotTabPage(); + this.groupbox_network = new Greenshot.Base.Controls.GreenshotGroupBox(); + this.numericUpDown_daysbetweencheck = new System.Windows.Forms.NumericUpDown(); + this.label_checkperiod = new Greenshot.Base.Controls.GreenshotLabel(); + this.checkbox_usedefaultproxy = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.groupbox_hotkeys = new Greenshot.Base.Controls.GreenshotGroupBox(); + this.label_lastregion_hotkey = new Greenshot.Base.Controls.GreenshotLabel(); + this.lastregion_hotkeyControl = new Greenshot.Base.Controls.HotkeyControl(); + this.label_ie_hotkey = new Greenshot.Base.Controls.GreenshotLabel(); + this.ie_hotkeyControl = new Greenshot.Base.Controls.HotkeyControl(); + this.label_region_hotkey = new Greenshot.Base.Controls.GreenshotLabel(); + this.label_window_hotkey = new Greenshot.Base.Controls.GreenshotLabel(); + this.label_fullscreen_hotkey = new Greenshot.Base.Controls.GreenshotLabel(); + this.region_hotkeyControl = new Greenshot.Base.Controls.HotkeyControl(); + this.window_hotkeyControl = new Greenshot.Base.Controls.HotkeyControl(); + this.fullscreen_hotkeyControl = new Greenshot.Base.Controls.HotkeyControl(); + this.tab_capture = new Greenshot.Base.Controls.GreenshotTabPage(); + this.groupbox_editor = new Greenshot.Base.Controls.GreenshotGroupBox(); + this.checkbox_editor_match_capture_size = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.groupbox_iecapture = new Greenshot.Base.Controls.GreenshotGroupBox(); + this.checkbox_ie_capture = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.groupbox_windowscapture = new Greenshot.Base.Controls.GreenshotGroupBox(); + this.colorButton_window_background = new Greenshot.Editor.Controls.ColorButton(); + this.radiobuttonWindowCapture = new Greenshot.Base.Controls.GreenshotRadioButton(); + this.radiobuttonInteractiveCapture = new Greenshot.Base.Controls.GreenshotRadioButton(); + this.combobox_window_capture_mode = new System.Windows.Forms.ComboBox(); + this.groupbox_capture = new Greenshot.Base.Controls.GreenshotGroupBox(); + this.checkbox_notifications = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.checkbox_playsound = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.checkbox_capture_mousepointer = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.numericUpDownWaitTime = new System.Windows.Forms.NumericUpDown(); + this.label_waittime = new Greenshot.Base.Controls.GreenshotLabel(); + this.tab_output = new Greenshot.Base.Controls.GreenshotTabPage(); + this.tab_destinations = new Greenshot.Base.Controls.GreenshotTabPage(); + this.settings_destinationSplitContainer = new System.Windows.Forms.SplitContainer(); + this.groupbox_hiddenDestinations = new Greenshot.Base.Controls.GreenshotGroupBox(); + this.listview_hiddenDestinations = new System.Windows.Forms.ListView(); + this.col_excludedDestination = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.tab_printer = new Greenshot.Base.Controls.GreenshotTabPage(); + this.groupBoxColors = new Greenshot.Base.Controls.GreenshotGroupBox(); + this.checkboxPrintInverted = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.radioBtnColorPrint = new Greenshot.Base.Controls.GreenshotRadioButton(); + this.radioBtnGrayScale = new Greenshot.Base.Controls.GreenshotRadioButton(); + this.radioBtnMonochrome = new Greenshot.Base.Controls.GreenshotRadioButton(); + this.groupBoxPrintLayout = new Greenshot.Base.Controls.GreenshotGroupBox(); + this.checkboxDateTime = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.checkboxAllowShrink = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.checkboxAllowEnlarge = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.checkboxAllowRotate = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.checkboxAllowCenter = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.checkbox_alwaysshowprintoptionsdialog = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.tab_plugins = new Greenshot.Base.Controls.GreenshotTabPage(); + this.groupbox_plugins = new Greenshot.Base.Controls.GreenshotGroupBox(); + this.listview_plugins = new System.Windows.Forms.ListView(); + this.button_pluginconfigure = new Greenshot.Base.Controls.GreenshotButton(); + this.tab_expert = new Greenshot.Base.Controls.GreenshotTabPage(); + this.groupbox_expert = new Greenshot.Base.Controls.GreenshotGroupBox(); + this.checkbox_reuseeditor = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.checkbox_minimizememoryfootprint = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.checkbox_checkunstableupdates = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.checkbox_suppresssavedialogatclose = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.label_counter = new Greenshot.Base.Controls.GreenshotLabel(); + this.textbox_counter = new Greenshot.Base.Controls.GreenshotTextBox(); + this.label_footerpattern = new Greenshot.Base.Controls.GreenshotLabel(); + this.textbox_footerpattern = new Greenshot.Base.Controls.GreenshotTextBox(); + this.checkbox_thumbnailpreview = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.checkbox_optimizeforrdp = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.checkbox_autoreducecolors = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.label_clipboardformats = new Greenshot.Base.Controls.GreenshotLabel(); + this.checkbox_enableexpert = new Greenshot.Base.Controls.GreenshotCheckBox(); + this.listview_clipboardformats = new System.Windows.Forms.ListView(); + this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.groupbox_preferredfilesettings.SuspendLayout(); + this.groupbox_applicationsettings.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpdownIconSize)).BeginInit(); + this.groupbox_qualitysettings.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.trackBarJpegQuality)).BeginInit(); + this.groupbox_destination.SuspendLayout(); + this.tabcontrol.SuspendLayout(); + this.tab_general.SuspendLayout(); + this.groupbox_network.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_daysbetweencheck)).BeginInit(); + this.groupbox_hotkeys.SuspendLayout(); + this.tab_capture.SuspendLayout(); + this.groupbox_editor.SuspendLayout(); + this.groupbox_iecapture.SuspendLayout(); + this.groupbox_windowscapture.SuspendLayout(); + this.groupbox_capture.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownWaitTime)).BeginInit(); + this.tab_output.SuspendLayout(); + this.tab_destinations.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.settings_destinationSplitContainer)).BeginInit(); + this.settings_destinationSplitContainer.Panel1.SuspendLayout(); + this.settings_destinationSplitContainer.Panel2.SuspendLayout(); + this.settings_destinationSplitContainer.SuspendLayout(); + this.groupbox_hiddenDestinations.SuspendLayout(); + this.tab_printer.SuspendLayout(); + this.groupBoxColors.SuspendLayout(); + this.groupBoxPrintLayout.SuspendLayout(); + this.tab_plugins.SuspendLayout(); + this.groupbox_plugins.SuspendLayout(); + this.tab_expert.SuspendLayout(); + this.groupbox_expert.SuspendLayout(); + this.SuspendLayout(); + // + // textbox_storagelocation + // + this.textbox_storagelocation.Location = new System.Drawing.Point(118, 17); + this.textbox_storagelocation.Name = "textbox_storagelocation"; + this.textbox_storagelocation.Size = new System.Drawing.Size(200, 20); + this.textbox_storagelocation.TabIndex = 1; + this.textbox_storagelocation.TextChanged += new System.EventHandler(this.StorageLocationChanged); + // + // label_storagelocation + // + this.label_storagelocation.LanguageKey = "settings_storagelocation"; + this.label_storagelocation.Location = new System.Drawing.Point(5, 20); + this.label_storagelocation.Name = "label_storagelocation"; + this.label_storagelocation.Size = new System.Drawing.Size(108, 21); + this.label_storagelocation.TabIndex = 11; + this.label_storagelocation.Text = "Storage location"; + // + // settings_cancel + // + this.settings_cancel.LanguageKey = "CANCEL"; + this.settings_cancel.Location = new System.Drawing.Point(312, 368); + this.settings_cancel.Name = "settings_cancel"; + this.settings_cancel.Size = new System.Drawing.Size(64, 21); + this.settings_cancel.TabIndex = 21; + this.settings_cancel.Text = "Cancel"; + this.settings_cancel.UseVisualStyleBackColor = true; + this.settings_cancel.Click += new System.EventHandler(this.Settings_cancelClick); + // + // settings_confirm + // + this.settings_confirm.LanguageKey = "OK"; + this.settings_confirm.Location = new System.Drawing.Point(243, 368); + this.settings_confirm.Name = "settings_confirm"; + this.settings_confirm.Size = new System.Drawing.Size(64, 21); + this.settings_confirm.TabIndex = 20; + this.settings_confirm.Text = "Ok"; + this.settings_confirm.UseVisualStyleBackColor = true; + this.settings_confirm.Click += new System.EventHandler(this.Settings_okayClick); + // + // browse + // + this.browse.Location = new System.Drawing.Point(318, 16); + this.browse.Name = "browse"; + this.browse.Size = new System.Drawing.Size(30, 21); + this.browse.TabIndex = 2; + this.browse.Text = "..."; + this.browse.UseVisualStyleBackColor = true; + this.browse.Click += new System.EventHandler(this.BrowseClick); + // + // label_screenshotname + // + this.label_screenshotname.LanguageKey = "settings_filenamepattern"; + this.label_screenshotname.Location = new System.Drawing.Point(5, 41); + this.label_screenshotname.Name = "label_screenshotname"; + this.label_screenshotname.Size = new System.Drawing.Size(108, 21); + this.label_screenshotname.TabIndex = 9; + this.label_screenshotname.Text = "Filename pattern"; + // + // textbox_screenshotname + // + this.textbox_screenshotname.Location = new System.Drawing.Point(118, 38); + this.textbox_screenshotname.Name = "textbox_screenshotname"; + this.textbox_screenshotname.PropertyName = "OutputFileFilenamePattern"; + this.textbox_screenshotname.Size = new System.Drawing.Size(200, 20); + this.textbox_screenshotname.TabIndex = 3; + this.textbox_screenshotname.TextChanged += new System.EventHandler(this.FilenamePatternChanged); + // + // label_language + // + this.label_language.LanguageKey = "settings_language"; + this.label_language.Location = new System.Drawing.Point(5, 19); + this.label_language.Name = "label_language"; + this.label_language.Size = new System.Drawing.Size(155, 21); + this.label_language.TabIndex = 10; + this.label_language.Text = "Language"; + // + // combobox_language + // + this.combobox_language.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.combobox_language.FormattingEnabled = true; + this.combobox_language.Location = new System.Drawing.Point(165, 16); + this.combobox_language.MaxDropDownItems = 15; + this.combobox_language.Name = "combobox_language"; + this.combobox_language.Size = new System.Drawing.Size(181, 21); + this.combobox_language.TabIndex = 0; + // + // combobox_primaryimageformat + // + this.combobox_primaryimageformat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.combobox_primaryimageformat.FormattingEnabled = true; + this.combobox_primaryimageformat.Location = new System.Drawing.Point(118, 59); + this.combobox_primaryimageformat.Name = "combobox_primaryimageformat"; + this.combobox_primaryimageformat.PropertyName = "OutputFileFormat"; + this.combobox_primaryimageformat.Size = new System.Drawing.Size(230, 21); + this.combobox_primaryimageformat.TabIndex = 5; + // + // label_primaryimageformat + // + this.label_primaryimageformat.LanguageKey = "settings_primaryimageformat"; + this.label_primaryimageformat.Location = new System.Drawing.Point(5, 62); + this.label_primaryimageformat.Name = "label_primaryimageformat"; + this.label_primaryimageformat.Size = new System.Drawing.Size(108, 18); + this.label_primaryimageformat.TabIndex = 8; + this.label_primaryimageformat.Text = "Image format"; + // + // groupbox_preferredfilesettings + // + this.groupbox_preferredfilesettings.Controls.Add(this.btnPatternHelp); + this.groupbox_preferredfilesettings.Controls.Add(this.checkbox_copypathtoclipboard); + this.groupbox_preferredfilesettings.Controls.Add(this.combobox_primaryimageformat); + this.groupbox_preferredfilesettings.Controls.Add(this.label_primaryimageformat); + this.groupbox_preferredfilesettings.Controls.Add(this.label_storagelocation); + this.groupbox_preferredfilesettings.Controls.Add(this.browse); + this.groupbox_preferredfilesettings.Controls.Add(this.textbox_storagelocation); + this.groupbox_preferredfilesettings.Controls.Add(this.textbox_screenshotname); + this.groupbox_preferredfilesettings.Controls.Add(this.label_screenshotname); + this.groupbox_preferredfilesettings.LanguageKey = "settings_preferredfilesettings"; + this.groupbox_preferredfilesettings.Location = new System.Drawing.Point(2, 6); + this.groupbox_preferredfilesettings.Name = "groupbox_preferredfilesettings"; + this.groupbox_preferredfilesettings.Size = new System.Drawing.Size(353, 113); + this.groupbox_preferredfilesettings.TabIndex = 13; + this.groupbox_preferredfilesettings.TabStop = false; + this.groupbox_preferredfilesettings.Text = "Preferred Output File Settings"; + // + // btnPatternHelp + // + this.btnPatternHelp.Location = new System.Drawing.Point(318, 36); + this.btnPatternHelp.Name = "btnPatternHelp"; + this.btnPatternHelp.Size = new System.Drawing.Size(30, 21); + this.btnPatternHelp.TabIndex = 4; + this.btnPatternHelp.Text = "?"; + this.btnPatternHelp.UseVisualStyleBackColor = true; + this.btnPatternHelp.Click += new System.EventHandler(this.BtnPatternHelpClick); + // + // checkbox_copypathtoclipboard + // + this.checkbox_copypathtoclipboard.LanguageKey = "settings_copypathtoclipboard"; + this.checkbox_copypathtoclipboard.Location = new System.Drawing.Point(10, 83); + this.checkbox_copypathtoclipboard.Name = "checkbox_copypathtoclipboard"; + this.checkbox_copypathtoclipboard.PropertyName = "OutputFileCopyPathToClipboard"; + this.checkbox_copypathtoclipboard.Size = new System.Drawing.Size(338, 22); + this.checkbox_copypathtoclipboard.TabIndex = 6; + this.checkbox_copypathtoclipboard.Text = "Copy file path to clipboard every time an image is saved"; + this.checkbox_copypathtoclipboard.UseVisualStyleBackColor = true; + // // checkbox_zoomer // this.checkbox_zoomer.LanguageKey = "settings_zoom"; - this.checkbox_zoomer.Location = new System.Drawing.Point(11, 79); + this.checkbox_zoomer.Location = new System.Drawing.Point(9, 73); this.checkbox_zoomer.Name = "checkbox_zoomer"; - this.checkbox_zoomer.PropertyName = nameof(CoreConfiguration.ZoomerEnabled); - this.checkbox_zoomer.Size = new System.Drawing.Size(399, 24); + this.checkbox_zoomer.PropertyName = "ZoomerEnabled"; + this.checkbox_zoomer.Size = new System.Drawing.Size(342, 22); this.checkbox_zoomer.TabIndex = 4; + this.checkbox_zoomer.Text = "Show magnifier"; this.checkbox_zoomer.UseVisualStyleBackColor = true; // + // groupbox_applicationsettings + // + this.groupbox_applicationsettings.Controls.Add(this.label_language); + this.groupbox_applicationsettings.Controls.Add(this.combobox_language); + this.groupbox_applicationsettings.Controls.Add(this.numericUpdownIconSize); + this.groupbox_applicationsettings.Controls.Add(this.label_icon_size); + this.groupbox_applicationsettings.Controls.Add(this.checkbox_autostartshortcut); + this.groupbox_applicationsettings.LanguageKey = "settings_applicationsettings"; + this.groupbox_applicationsettings.Location = new System.Drawing.Point(2, 6); + this.groupbox_applicationsettings.Name = "groupbox_applicationsettings"; + this.groupbox_applicationsettings.Size = new System.Drawing.Size(353, 83); + this.groupbox_applicationsettings.TabIndex = 14; + this.groupbox_applicationsettings.TabStop = false; + this.groupbox_applicationsettings.Text = "Application Settings"; + // + // numericUpdownIconSize + // + this.numericUpdownIconSize.Increment = new decimal(new int[] { + 16, + 0, + 0, + 0}); + this.numericUpdownIconSize.Location = new System.Drawing.Point(308, 39); + this.numericUpdownIconSize.Maximum = new decimal(new int[] { + 256, + 0, + 0, + 0}); + this.numericUpdownIconSize.Minimum = new decimal(new int[] { + 16, + 0, + 0, + 0}); + this.numericUpdownIconSize.Name = "numericUpdownIconSize"; + this.numericUpdownIconSize.Size = new System.Drawing.Size(38, 20); + this.numericUpdownIconSize.TabIndex = 1; + this.numericUpdownIconSize.Value = new decimal(new int[] { + 16, + 0, + 0, + 0}); + // + // label_icon_size + // + this.label_icon_size.LanguageKey = "settings_iconsize"; + this.label_icon_size.Location = new System.Drawing.Point(5, 41); + this.label_icon_size.Name = "label_icon_size"; + this.label_icon_size.Size = new System.Drawing.Size(300, 15); + this.label_icon_size.TabIndex = 6; + this.label_icon_size.Text = "Icon size"; + // + // checkbox_autostartshortcut + // + this.checkbox_autostartshortcut.LanguageKey = "settings_autostartshortcut"; + this.checkbox_autostartshortcut.Location = new System.Drawing.Point(7, 56); + this.checkbox_autostartshortcut.Name = "checkbox_autostartshortcut"; + this.checkbox_autostartshortcut.Size = new System.Drawing.Size(340, 23); + this.checkbox_autostartshortcut.TabIndex = 2; + this.checkbox_autostartshortcut.Text = "Launch Greenshot on startup"; + this.checkbox_autostartshortcut.UseVisualStyleBackColor = true; + // + // groupbox_qualitysettings + // + this.groupbox_qualitysettings.Controls.Add(this.checkbox_reducecolors); + this.groupbox_qualitysettings.Controls.Add(this.checkbox_alwaysshowqualitydialog); + this.groupbox_qualitysettings.Controls.Add(this.label_jpegquality); + this.groupbox_qualitysettings.Controls.Add(this.textBoxJpegQuality); + this.groupbox_qualitysettings.Controls.Add(this.trackBarJpegQuality); + this.groupbox_qualitysettings.LanguageKey = "settings_qualitysettings"; + this.groupbox_qualitysettings.Location = new System.Drawing.Point(2, 146); + this.groupbox_qualitysettings.Name = "groupbox_qualitysettings"; + this.groupbox_qualitysettings.Size = new System.Drawing.Size(353, 98); + this.groupbox_qualitysettings.TabIndex = 14; + this.groupbox_qualitysettings.TabStop = false; + this.groupbox_qualitysettings.Text = "Quality settings"; + // + // checkbox_reducecolors + // + this.checkbox_reducecolors.LanguageKey = "settings_reducecolors"; + this.checkbox_reducecolors.Location = new System.Drawing.Point(10, 67); + this.checkbox_reducecolors.Name = "checkbox_reducecolors"; + this.checkbox_reducecolors.PropertyName = "OutputFileReduceColors"; + this.checkbox_reducecolors.Size = new System.Drawing.Size(338, 23); + this.checkbox_reducecolors.TabIndex = 10; + this.checkbox_reducecolors.Text = "Reduce the amount of colors to a maximum of 256"; + this.checkbox_reducecolors.UseVisualStyleBackColor = true; + // + // checkbox_alwaysshowqualitydialog + // + this.checkbox_alwaysshowqualitydialog.LanguageKey = "settings_alwaysshowqualitydialog"; + this.checkbox_alwaysshowqualitydialog.Location = new System.Drawing.Point(10, 46); + this.checkbox_alwaysshowqualitydialog.Name = "checkbox_alwaysshowqualitydialog"; + this.checkbox_alwaysshowqualitydialog.PropertyName = "OutputFilePromptQuality"; + this.checkbox_alwaysshowqualitydialog.Size = new System.Drawing.Size(338, 23); + this.checkbox_alwaysshowqualitydialog.TabIndex = 9; + this.checkbox_alwaysshowqualitydialog.Text = "Show quality dialog every time an image is saved"; + this.checkbox_alwaysshowqualitydialog.UseVisualStyleBackColor = true; + // + // label_jpegquality + // + this.label_jpegquality.LanguageKey = "settings_jpegquality"; + this.label_jpegquality.Location = new System.Drawing.Point(5, 22); + this.label_jpegquality.Name = "label_jpegquality"; + this.label_jpegquality.Size = new System.Drawing.Size(99, 21); + this.label_jpegquality.TabIndex = 13; + this.label_jpegquality.Text = "JPEG quality"; + // + // textBoxJpegQuality + // + this.textBoxJpegQuality.Enabled = false; + this.textBoxJpegQuality.Location = new System.Drawing.Point(318, 20); + this.textBoxJpegQuality.Name = "textBoxJpegQuality"; + this.textBoxJpegQuality.ReadOnly = true; + this.textBoxJpegQuality.Size = new System.Drawing.Size(31, 20); + this.textBoxJpegQuality.TabIndex = 8; + this.textBoxJpegQuality.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // trackBarJpegQuality + // + this.trackBarJpegQuality.LargeChange = 10; + this.trackBarJpegQuality.Location = new System.Drawing.Point(118, 20); + this.trackBarJpegQuality.Maximum = 100; + this.trackBarJpegQuality.Name = "trackBarJpegQuality"; + this.trackBarJpegQuality.Size = new System.Drawing.Size(200, 45); + this.trackBarJpegQuality.TabIndex = 7; + this.trackBarJpegQuality.TickFrequency = 10; + this.trackBarJpegQuality.Scroll += new System.EventHandler(this.TrackBarJpegQualityScroll); + // + // groupbox_destination + // + this.groupbox_destination.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.groupbox_destination.Controls.Add(this.checkbox_picker); + this.groupbox_destination.Controls.Add(this.listview_destinations); + this.groupbox_destination.LanguageKey = "settings_destination"; + this.groupbox_destination.Location = new System.Drawing.Point(3, 3); + this.groupbox_destination.Name = "groupbox_destination"; + this.groupbox_destination.Size = new System.Drawing.Size(355, 156); + this.groupbox_destination.TabIndex = 16; + this.groupbox_destination.TabStop = false; + this.groupbox_destination.Text = "Destination"; + // + // checkbox_picker + // + this.checkbox_picker.LanguageKey = "settings_destination_picker"; + this.checkbox_picker.Location = new System.Drawing.Point(6, 15); + this.checkbox_picker.Name = "checkbox_picker"; + this.checkbox_picker.Size = new System.Drawing.Size(343, 19); + this.checkbox_picker.TabIndex = 1; + this.checkbox_picker.Text = "Select destination dynamically"; + this.checkbox_picker.UseVisualStyleBackColor = true; + this.checkbox_picker.CheckStateChanged += new System.EventHandler(this.DestinationsCheckStateChanged); + // + // listview_destinations + // + this.listview_destinations.Alignment = System.Windows.Forms.ListViewAlignment.Left; + this.listview_destinations.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.listview_destinations.AutoArrange = false; + this.listview_destinations.CheckBoxes = true; + this.listview_destinations.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.destination}); + this.listview_destinations.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; + this.listview_destinations.HideSelection = false; + this.listview_destinations.LabelWrap = false; + this.listview_destinations.Location = new System.Drawing.Point(6, 34); + this.listview_destinations.Name = "listview_destinations"; + this.listview_destinations.ShowGroups = false; + this.listview_destinations.Size = new System.Drawing.Size(343, 116); + this.listview_destinations.Sorting = System.Windows.Forms.SortOrder.Ascending; + this.listview_destinations.TabIndex = 2; + this.listview_destinations.UseCompatibleStateImageBehavior = false; + this.listview_destinations.View = System.Windows.Forms.View.Details; + // + // destination + // + this.destination.Text = "Destination"; + this.destination.Width = 380; + // + // tabcontrol + // + this.tabcontrol.Controls.Add(this.tab_general); + this.tabcontrol.Controls.Add(this.tab_capture); + this.tabcontrol.Controls.Add(this.tab_output); + this.tabcontrol.Controls.Add(this.tab_destinations); + this.tabcontrol.Controls.Add(this.tab_printer); + this.tabcontrol.Controls.Add(this.tab_plugins); + this.tabcontrol.Controls.Add(this.tab_expert); + this.tabcontrol.Location = new System.Drawing.Point(10, 12); + this.tabcontrol.Name = "tabcontrol"; + this.tabcontrol.SelectedIndex = 0; + this.tabcontrol.Size = new System.Drawing.Size(369, 350); + this.tabcontrol.TabIndex = 0; + // + // tab_general + // + this.tab_general.BackColor = System.Drawing.Color.Transparent; + this.tab_general.Controls.Add(this.groupbox_network); + this.tab_general.Controls.Add(this.groupbox_hotkeys); + this.tab_general.Controls.Add(this.groupbox_applicationsettings); + this.tab_general.LanguageKey = "settings_general"; + this.tab_general.Location = new System.Drawing.Point(4, 22); + this.tab_general.Name = "tab_general"; + this.tab_general.Padding = new System.Windows.Forms.Padding(3); + this.tab_general.Size = new System.Drawing.Size(361, 324); + this.tab_general.TabIndex = 0; + this.tab_general.Text = "General"; + this.tab_general.UseVisualStyleBackColor = true; + // + // groupbox_network + // + this.groupbox_network.Controls.Add(this.numericUpDown_daysbetweencheck); + this.groupbox_network.Controls.Add(this.label_checkperiod); + this.groupbox_network.Controls.Add(this.checkbox_usedefaultproxy); + this.groupbox_network.LanguageKey = "settings_network"; + this.groupbox_network.Location = new System.Drawing.Point(3, 235); + this.groupbox_network.Name = "groupbox_network"; + this.groupbox_network.Size = new System.Drawing.Size(353, 67); + this.groupbox_network.TabIndex = 54; + this.groupbox_network.TabStop = false; + this.groupbox_network.Text = "Network and updates"; + // + // numericUpDown_daysbetweencheck + // + this.numericUpDown_daysbetweencheck.Location = new System.Drawing.Point(296, 34); + this.numericUpDown_daysbetweencheck.Maximum = new decimal(new int[] { + 365, + 0, + 0, + 0}); + this.numericUpDown_daysbetweencheck.Name = "numericUpDown_daysbetweencheck"; + this.numericUpDown_daysbetweencheck.Size = new System.Drawing.Size(49, 20); + this.numericUpDown_daysbetweencheck.TabIndex = 8; + this.numericUpDown_daysbetweencheck.ThousandsSeparator = true; + // + // label_checkperiod + // + this.label_checkperiod.LanguageKey = "settings_checkperiod"; + this.label_checkperiod.Location = new System.Drawing.Point(4, 36); + this.label_checkperiod.Name = "label_checkperiod"; + this.label_checkperiod.Size = new System.Drawing.Size(286, 21); + this.label_checkperiod.TabIndex = 19; + this.label_checkperiod.Text = "Update check interval in days (0=no check)"; + // + // checkbox_usedefaultproxy + // + this.checkbox_usedefaultproxy.LanguageKey = "settings_usedefaultproxy"; + this.checkbox_usedefaultproxy.Location = new System.Drawing.Point(6, 10); + this.checkbox_usedefaultproxy.Name = "checkbox_usedefaultproxy"; + this.checkbox_usedefaultproxy.PropertyName = "UseProxy"; + this.checkbox_usedefaultproxy.Size = new System.Drawing.Size(340, 23); + this.checkbox_usedefaultproxy.TabIndex = 7; + this.checkbox_usedefaultproxy.Text = "Use default system proxy"; + this.checkbox_usedefaultproxy.UseVisualStyleBackColor = true; + // + // groupbox_hotkeys + // + this.groupbox_hotkeys.Controls.Add(this.label_lastregion_hotkey); + this.groupbox_hotkeys.Controls.Add(this.lastregion_hotkeyControl); + this.groupbox_hotkeys.Controls.Add(this.label_ie_hotkey); + this.groupbox_hotkeys.Controls.Add(this.ie_hotkeyControl); + this.groupbox_hotkeys.Controls.Add(this.label_region_hotkey); + this.groupbox_hotkeys.Controls.Add(this.label_window_hotkey); + this.groupbox_hotkeys.Controls.Add(this.label_fullscreen_hotkey); + this.groupbox_hotkeys.Controls.Add(this.region_hotkeyControl); + this.groupbox_hotkeys.Controls.Add(this.window_hotkeyControl); + this.groupbox_hotkeys.Controls.Add(this.fullscreen_hotkeyControl); + this.groupbox_hotkeys.LanguageKey = "hotkeys"; + this.groupbox_hotkeys.Location = new System.Drawing.Point(2, 91); + this.groupbox_hotkeys.Name = "groupbox_hotkeys"; + this.groupbox_hotkeys.Size = new System.Drawing.Size(353, 141); + this.groupbox_hotkeys.TabIndex = 15; + this.groupbox_hotkeys.TabStop = false; + this.groupbox_hotkeys.Text = "Hotkeys"; + // + // label_lastregion_hotkey + // + this.label_lastregion_hotkey.LanguageKey = "contextmenu_capturelastregion"; + this.label_lastregion_hotkey.Location = new System.Drawing.Point(5, 87); + this.label_lastregion_hotkey.Name = "label_lastregion_hotkey"; + this.label_lastregion_hotkey.Size = new System.Drawing.Size(182, 19); + this.label_lastregion_hotkey.TabIndex = 53; + this.label_lastregion_hotkey.Text = "Capture last region"; + // + // lastregion_hotkeyControl + // + this.lastregion_hotkeyControl.Hotkey = System.Windows.Forms.Keys.None; + this.lastregion_hotkeyControl.HotkeyModifiers = System.Windows.Forms.Keys.None; + this.lastregion_hotkeyControl.Location = new System.Drawing.Point(192, 87); + this.lastregion_hotkeyControl.Name = "lastregion_hotkeyControl"; + this.lastregion_hotkeyControl.PropertyName = "LastregionHotkey"; + this.lastregion_hotkeyControl.Size = new System.Drawing.Size(154, 20); + this.lastregion_hotkeyControl.TabIndex = 5; + // + // label_ie_hotkey + // + this.label_ie_hotkey.LanguageKey = "contextmenu_captureie"; + this.label_ie_hotkey.Location = new System.Drawing.Point(5, 111); + this.label_ie_hotkey.Name = "label_ie_hotkey"; + this.label_ie_hotkey.Size = new System.Drawing.Size(182, 19); + this.label_ie_hotkey.TabIndex = 51; + this.label_ie_hotkey.Text = "Capture Internet Explorer"; + // + // ie_hotkeyControl + // + this.ie_hotkeyControl.Hotkey = System.Windows.Forms.Keys.None; + this.ie_hotkeyControl.HotkeyModifiers = System.Windows.Forms.Keys.None; + this.ie_hotkeyControl.Location = new System.Drawing.Point(192, 111); + this.ie_hotkeyControl.Name = "ie_hotkeyControl"; + this.ie_hotkeyControl.PropertyName = "IEHotkey"; + this.ie_hotkeyControl.Size = new System.Drawing.Size(154, 20); + this.ie_hotkeyControl.TabIndex = 6; + // + // label_region_hotkey + // + this.label_region_hotkey.LanguageKey = "contextmenu_capturearea"; + this.label_region_hotkey.Location = new System.Drawing.Point(5, 63); + this.label_region_hotkey.Name = "label_region_hotkey"; + this.label_region_hotkey.Size = new System.Drawing.Size(182, 19); + this.label_region_hotkey.TabIndex = 49; + this.label_region_hotkey.Text = "Capture region"; + // + // label_window_hotkey + // + this.label_window_hotkey.LanguageKey = "contextmenu_capturewindow"; + this.label_window_hotkey.Location = new System.Drawing.Point(5, 39); + this.label_window_hotkey.Name = "label_window_hotkey"; + this.label_window_hotkey.Size = new System.Drawing.Size(182, 21); + this.label_window_hotkey.TabIndex = 48; + this.label_window_hotkey.Text = "Capture window"; + // + // label_fullscreen_hotkey + // + this.label_fullscreen_hotkey.LanguageKey = "contextmenu_capturefullscreen"; + this.label_fullscreen_hotkey.Location = new System.Drawing.Point(5, 15); + this.label_fullscreen_hotkey.Name = "label_fullscreen_hotkey"; + this.label_fullscreen_hotkey.Size = new System.Drawing.Size(182, 21); + this.label_fullscreen_hotkey.TabIndex = 47; + this.label_fullscreen_hotkey.Text = "Capture full screen"; + // + // region_hotkeyControl + // + this.region_hotkeyControl.Hotkey = System.Windows.Forms.Keys.None; + this.region_hotkeyControl.HotkeyModifiers = System.Windows.Forms.Keys.None; + this.region_hotkeyControl.Location = new System.Drawing.Point(192, 63); + this.region_hotkeyControl.Name = "region_hotkeyControl"; + this.region_hotkeyControl.PropertyName = "RegionHotkey"; + this.region_hotkeyControl.Size = new System.Drawing.Size(154, 20); + this.region_hotkeyControl.TabIndex = 4; + // + // window_hotkeyControl + // + this.window_hotkeyControl.Hotkey = System.Windows.Forms.Keys.None; + this.window_hotkeyControl.HotkeyModifiers = System.Windows.Forms.Keys.None; + this.window_hotkeyControl.Location = new System.Drawing.Point(192, 39); + this.window_hotkeyControl.Name = "window_hotkeyControl"; + this.window_hotkeyControl.PropertyName = "WindowHotkey"; + this.window_hotkeyControl.Size = new System.Drawing.Size(154, 20); + this.window_hotkeyControl.TabIndex = 3; + // + // fullscreen_hotkeyControl + // + this.fullscreen_hotkeyControl.Hotkey = System.Windows.Forms.Keys.None; + this.fullscreen_hotkeyControl.HotkeyModifiers = System.Windows.Forms.Keys.None; + this.fullscreen_hotkeyControl.Location = new System.Drawing.Point(192, 15); + this.fullscreen_hotkeyControl.Name = "fullscreen_hotkeyControl"; + this.fullscreen_hotkeyControl.PropertyName = "FullscreenHotkey"; + this.fullscreen_hotkeyControl.Size = new System.Drawing.Size(154, 20); + this.fullscreen_hotkeyControl.TabIndex = 2; + // + // tab_capture + // + this.tab_capture.Controls.Add(this.groupbox_editor); + this.tab_capture.Controls.Add(this.groupbox_iecapture); + this.tab_capture.Controls.Add(this.groupbox_windowscapture); + this.tab_capture.Controls.Add(this.groupbox_capture); + this.tab_capture.LanguageKey = "settings_capture"; + this.tab_capture.Location = new System.Drawing.Point(4, 22); + this.tab_capture.Name = "tab_capture"; + this.tab_capture.Size = new System.Drawing.Size(361, 324); + this.tab_capture.TabIndex = 3; + this.tab_capture.Text = "Capture"; + this.tab_capture.UseVisualStyleBackColor = true; + // + // groupbox_editor + // + this.groupbox_editor.Controls.Add(this.checkbox_editor_match_capture_size); + this.groupbox_editor.LanguageKey = "settings_editor"; + this.groupbox_editor.Location = new System.Drawing.Point(3, 257); + this.groupbox_editor.Name = "groupbox_editor"; + this.groupbox_editor.Size = new System.Drawing.Size(357, 46); + this.groupbox_editor.TabIndex = 27; + this.groupbox_editor.TabStop = false; + this.groupbox_editor.Text = "Editor"; + // + // checkbox_editor_match_capture_size + // + this.checkbox_editor_match_capture_size.LanguageKey = "editor_match_capture_size"; + this.checkbox_editor_match_capture_size.Location = new System.Drawing.Point(5, 18); + this.checkbox_editor_match_capture_size.Name = "checkbox_editor_match_capture_size"; + this.checkbox_editor_match_capture_size.PropertyName = "MatchSizeToCapture"; + this.checkbox_editor_match_capture_size.SectionName = "Editor"; + this.checkbox_editor_match_capture_size.Size = new System.Drawing.Size(340, 22); + this.checkbox_editor_match_capture_size.TabIndex = 11; + this.checkbox_editor_match_capture_size.Text = "Match capture size"; + this.checkbox_editor_match_capture_size.UseVisualStyleBackColor = true; + // + // groupbox_iecapture + // + this.groupbox_iecapture.Controls.Add(this.checkbox_ie_capture); + this.groupbox_iecapture.LanguageKey = "settings_iecapture"; + this.groupbox_iecapture.Location = new System.Drawing.Point(3, 208); + this.groupbox_iecapture.Name = "groupbox_iecapture"; + this.groupbox_iecapture.Size = new System.Drawing.Size(357, 46); + this.groupbox_iecapture.TabIndex = 2; + this.groupbox_iecapture.TabStop = false; + this.groupbox_iecapture.Text = "Internet Explorer capture"; + // + // checkbox_ie_capture + // + this.checkbox_ie_capture.LanguageKey = "settings_iecapture"; + this.checkbox_ie_capture.Location = new System.Drawing.Point(5, 18); + this.checkbox_ie_capture.Name = "checkbox_ie_capture"; + this.checkbox_ie_capture.PropertyName = "IECapture"; + this.checkbox_ie_capture.Size = new System.Drawing.Size(346, 22); + this.checkbox_ie_capture.TabIndex = 10; + this.checkbox_ie_capture.Text = "Internet Explorer capture"; + this.checkbox_ie_capture.UseVisualStyleBackColor = true; + // + // groupbox_windowscapture + // + this.groupbox_windowscapture.Controls.Add(this.colorButton_window_background); + this.groupbox_windowscapture.Controls.Add(this.radiobuttonWindowCapture); + this.groupbox_windowscapture.Controls.Add(this.radiobuttonInteractiveCapture); + this.groupbox_windowscapture.Controls.Add(this.combobox_window_capture_mode); + this.groupbox_windowscapture.LanguageKey = "settings_windowscapture"; + this.groupbox_windowscapture.Location = new System.Drawing.Point(3, 131); + this.groupbox_windowscapture.Name = "groupbox_windowscapture"; + this.groupbox_windowscapture.Size = new System.Drawing.Size(357, 74); + this.groupbox_windowscapture.TabIndex = 1; + this.groupbox_windowscapture.TabStop = false; + this.groupbox_windowscapture.Text = "Window capture"; + // + // colorButton_window_background + // + this.colorButton_window_background.Image = ((System.Drawing.Image)(resources.GetObject("colorButton_window_background.Image"))); + this.colorButton_window_background.Location = new System.Drawing.Point(321, 34); + this.colorButton_window_background.Name = "colorButton_window_background"; + this.colorButton_window_background.SelectedColor = System.Drawing.Color.White; + this.colorButton_window_background.Size = new System.Drawing.Size(25, 28); + this.colorButton_window_background.TabIndex = 9; + this.colorButton_window_background.UseVisualStyleBackColor = true; + // + // radiobuttonWindowCapture + // + this.radiobuttonWindowCapture.LanguageKey = "settings_window_capture_mode"; + this.radiobuttonWindowCapture.Location = new System.Drawing.Point(9, 41); + this.radiobuttonWindowCapture.Name = "radiobuttonWindowCapture"; + this.radiobuttonWindowCapture.Size = new System.Drawing.Size(113, 16); + this.radiobuttonWindowCapture.TabIndex = 7; + this.radiobuttonWindowCapture.TabStop = true; + this.radiobuttonWindowCapture.Text = "Window capture mode"; + this.radiobuttonWindowCapture.UseVisualStyleBackColor = true; + // + // radiobuttonInteractiveCapture + // + this.radiobuttonInteractiveCapture.LanguageKey = "settings_capture_windows_interactive"; + this.radiobuttonInteractiveCapture.Location = new System.Drawing.Point(9, 19); + this.radiobuttonInteractiveCapture.Name = "radiobuttonInteractiveCapture"; + this.radiobuttonInteractiveCapture.PropertyName = "CaptureWindowsInteractive"; + this.radiobuttonInteractiveCapture.Size = new System.Drawing.Size(174, 16); + this.radiobuttonInteractiveCapture.TabIndex = 6; + this.radiobuttonInteractiveCapture.TabStop = true; + this.radiobuttonInteractiveCapture.Text = "Use interactive window capture mode"; + this.radiobuttonInteractiveCapture.UseVisualStyleBackColor = true; + this.radiobuttonInteractiveCapture.CheckedChanged += new System.EventHandler(this.Radiobutton_CheckedChanged); + // + // combobox_window_capture_mode + // + this.combobox_window_capture_mode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.combobox_window_capture_mode.FormattingEnabled = true; + this.combobox_window_capture_mode.Location = new System.Drawing.Point(186, 40); + this.combobox_window_capture_mode.MaxDropDownItems = 15; + this.combobox_window_capture_mode.Name = "combobox_window_capture_mode"; + this.combobox_window_capture_mode.Size = new System.Drawing.Size(130, 21); + this.combobox_window_capture_mode.TabIndex = 8; + this.combobox_window_capture_mode.SelectedIndexChanged += new System.EventHandler(this.Combobox_window_capture_modeSelectedIndexChanged); + // + // groupbox_capture + // + this.groupbox_capture.Controls.Add(this.checkbox_notifications); + this.groupbox_capture.Controls.Add(this.checkbox_playsound); + this.groupbox_capture.Controls.Add(this.checkbox_capture_mousepointer); + this.groupbox_capture.Controls.Add(this.numericUpDownWaitTime); + this.groupbox_capture.Controls.Add(this.label_waittime); + this.groupbox_capture.Controls.Add(this.checkbox_zoomer); + this.groupbox_capture.LanguageKey = "settings_capture"; + this.groupbox_capture.Location = new System.Drawing.Point(3, 4); + this.groupbox_capture.Name = "groupbox_capture"; + this.groupbox_capture.Size = new System.Drawing.Size(357, 124); + this.groupbox_capture.TabIndex = 0; + this.groupbox_capture.TabStop = false; + this.groupbox_capture.Text = "Capture"; + // // checkbox_notifications - // - this.checkbox_notifications.LanguageKey = "settings_shownotify"; - this.checkbox_notifications.Location = new System.Drawing.Point(11, 59); - this.checkbox_notifications.Name = "checkbox_notifications"; - this.checkbox_notifications.PropertyName = nameof(CoreConfiguration.ShowTrayNotification); - this.checkbox_notifications.Size = new System.Drawing.Size(399, 24); - this.checkbox_notifications.TabIndex = 3; - this.checkbox_notifications.UseVisualStyleBackColor = true; - // - // checkbox_playsound - // - this.checkbox_playsound.LanguageKey = "settings_playsound"; - this.checkbox_playsound.Location = new System.Drawing.Point(11, 39); - this.checkbox_playsound.Name = "checkbox_playsound"; - this.checkbox_playsound.PropertyName = nameof(CoreConfiguration.PlayCameraSound); - this.checkbox_playsound.Size = new System.Drawing.Size(399, 24); - this.checkbox_playsound.TabIndex = 2; - this.checkbox_playsound.UseVisualStyleBackColor = true; - // - // checkbox_capture_mousepointer - // - this.checkbox_capture_mousepointer.LanguageKey = "settings_capture_mousepointer"; - this.checkbox_capture_mousepointer.Location = new System.Drawing.Point(11, 19); - this.checkbox_capture_mousepointer.Name = "checkbox_capture_mousepointer"; - this.checkbox_capture_mousepointer.PropertyName = nameof(CoreConfiguration.CaptureMousepointer); - this.checkbox_capture_mousepointer.Size = new System.Drawing.Size(394, 24); - this.checkbox_capture_mousepointer.TabIndex = 1; - this.checkbox_capture_mousepointer.UseVisualStyleBackColor = true; - // - // numericUpDownWaitTime - // - this.numericUpDownWaitTime.Increment = new decimal(new int[] { + // + this.checkbox_notifications.LanguageKey = "settings_shownotify"; + this.checkbox_notifications.Location = new System.Drawing.Point(9, 55); + this.checkbox_notifications.Name = "checkbox_notifications"; + this.checkbox_notifications.PropertyName = "ShowTrayNotification"; + this.checkbox_notifications.Size = new System.Drawing.Size(342, 22); + this.checkbox_notifications.TabIndex = 3; + this.checkbox_notifications.Text = "Show notifications"; + this.checkbox_notifications.UseVisualStyleBackColor = true; + // + // checkbox_playsound + // + this.checkbox_playsound.LanguageKey = "settings_playsound"; + this.checkbox_playsound.Location = new System.Drawing.Point(9, 36); + this.checkbox_playsound.Name = "checkbox_playsound"; + this.checkbox_playsound.PropertyName = "PlayCameraSound"; + this.checkbox_playsound.Size = new System.Drawing.Size(342, 22); + this.checkbox_playsound.TabIndex = 2; + this.checkbox_playsound.Text = "Play camera sound"; + this.checkbox_playsound.UseVisualStyleBackColor = true; + // + // checkbox_capture_mousepointer + // + this.checkbox_capture_mousepointer.LanguageKey = "settings_capture_mousepointer"; + this.checkbox_capture_mousepointer.Location = new System.Drawing.Point(9, 18); + this.checkbox_capture_mousepointer.Name = "checkbox_capture_mousepointer"; + this.checkbox_capture_mousepointer.PropertyName = "CaptureMousepointer"; + this.checkbox_capture_mousepointer.Size = new System.Drawing.Size(338, 22); + this.checkbox_capture_mousepointer.TabIndex = 1; + this.checkbox_capture_mousepointer.Text = "Capture mousepointer"; + this.checkbox_capture_mousepointer.UseVisualStyleBackColor = true; + // + // numericUpDownWaitTime + // + this.numericUpDownWaitTime.Increment = new decimal(new int[] { 100, 0, 0, 0}); - this.numericUpDownWaitTime.Location = new System.Drawing.Point(9, 103); - this.numericUpDownWaitTime.Maximum = new decimal(new int[] { + this.numericUpDownWaitTime.Location = new System.Drawing.Point(8, 96); + this.numericUpDownWaitTime.Maximum = new decimal(new int[] { 10000, 0, 0, 0}); - this.numericUpDownWaitTime.Name = "numericUpDownWaitTime"; - this.numericUpDownWaitTime.Size = new System.Drawing.Size(57, 20); - this.numericUpDownWaitTime.TabIndex = 5; - this.numericUpDownWaitTime.ThousandsSeparator = true; - // - // label_waittime - // - this.label_waittime.LanguageKey = "settings_waittime"; - this.label_waittime.Location = new System.Drawing.Point(72, 106); - this.label_waittime.Name = "label_waittime"; - this.label_waittime.Size = new System.Drawing.Size(331, 16); - this.label_waittime.TabIndex = 5; - // - // tab_output - // - this.tab_output.BackColor = System.Drawing.Color.Transparent; - this.tab_output.Controls.Add(this.groupbox_preferredfilesettings); - this.tab_output.Controls.Add(this.groupbox_qualitysettings); - this.tab_output.LanguageKey = "settings_output"; - this.tab_output.Location = new System.Drawing.Point(4, 22); - this.tab_output.Name = "tab_output"; - this.tab_output.Padding = new System.Windows.Forms.Padding(3); - this.tab_output.Size = new System.Drawing.Size(423, 351); - this.tab_output.TabIndex = 1; - this.tab_output.UseVisualStyleBackColor = true; - // - // tab_destinations - // - this.tab_destinations.Controls.Add(this.groupbox_destination); - this.tab_destinations.LanguageKey = "settings_destination"; - this.tab_destinations.Location = new System.Drawing.Point(4, 22); - this.tab_destinations.Name = "tab_destinations"; - this.tab_destinations.Size = new System.Drawing.Size(423, 351); - this.tab_destinations.TabIndex = 4; - this.tab_destinations.UseVisualStyleBackColor = true; - // - // tab_printer - // - this.tab_printer.Controls.Add(this.groupBoxColors); - this.tab_printer.Controls.Add(this.groupBoxPrintLayout); - this.tab_printer.Controls.Add(this.checkbox_alwaysshowprintoptionsdialog); - this.tab_printer.LanguageKey = "settings_printer"; - this.tab_printer.Location = new System.Drawing.Point(4, 22); - this.tab_printer.Name = "tab_printer"; - this.tab_printer.Padding = new System.Windows.Forms.Padding(3); - this.tab_printer.Size = new System.Drawing.Size(423, 351); - this.tab_printer.TabIndex = 2; - this.tab_printer.UseVisualStyleBackColor = true; - // - // groupBoxColors - // - this.groupBoxColors.Controls.Add(this.checkboxPrintInverted); - this.groupBoxColors.Controls.Add(this.radioBtnColorPrint); - this.groupBoxColors.Controls.Add(this.radioBtnGrayScale); - this.groupBoxColors.Controls.Add(this.radioBtnMonochrome); - this.groupBoxColors.LanguageKey = "printoptions_colors"; - this.groupBoxColors.Location = new System.Drawing.Point(6, 163); - this.groupBoxColors.Name = "groupBoxColors"; - this.groupBoxColors.Size = new System.Drawing.Size(331, 124); - this.groupBoxColors.TabIndex = 10; - this.groupBoxColors.TabStop = false; - // - // checkboxPrintInverted - // - this.checkboxPrintInverted.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxPrintInverted.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxPrintInverted.LanguageKey = "printoptions_inverted"; - this.checkboxPrintInverted.Location = new System.Drawing.Point(13, 88); - this.checkboxPrintInverted.Name = "checkboxPrintInverted"; - this.checkboxPrintInverted.PropertyName = nameof(CoreConfiguration.OutputPrintInverted); - this.checkboxPrintInverted.Size = new System.Drawing.Size(141, 17); - this.checkboxPrintInverted.TabIndex = 14; - this.checkboxPrintInverted.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxPrintInverted.UseVisualStyleBackColor = true; - // - // radioBtnColorPrint - // - this.radioBtnColorPrint.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnColorPrint.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnColorPrint.LanguageKey = "printoptions_printcolor"; - this.radioBtnColorPrint.Location = new System.Drawing.Point(13, 19); - this.radioBtnColorPrint.Name = "radioBtnColorPrint"; - this.radioBtnColorPrint.Size = new System.Drawing.Size(90, 17); - this.radioBtnColorPrint.TabIndex = 11; - this.radioBtnColorPrint.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnColorPrint.UseVisualStyleBackColor = true; - // - // radioBtnGrayScale - // - this.radioBtnGrayScale.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnGrayScale.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnGrayScale.LanguageKey = "printoptions_printgrayscale"; - this.radioBtnGrayScale.Location = new System.Drawing.Point(13, 42); - this.radioBtnGrayScale.Name = "radioBtnGrayScale"; - this.radioBtnGrayScale.PropertyName = nameof(coreConfiguration.OutputPrintGrayscale); - this.radioBtnGrayScale.Size = new System.Drawing.Size(137, 17); - this.radioBtnGrayScale.TabIndex = 12; - this.radioBtnGrayScale.Text = "Force grayscale printing"; - this.radioBtnGrayScale.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnGrayScale.UseVisualStyleBackColor = true; - // - // radioBtnMonochrome - // - this.radioBtnMonochrome.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnMonochrome.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnMonochrome.LanguageKey = "printoptions_printmonochrome"; - this.radioBtnMonochrome.Location = new System.Drawing.Point(13, 65); - this.radioBtnMonochrome.Name = "radioBtnMonochrome"; - this.radioBtnMonochrome.PropertyName = nameof(coreConfiguration.OutputPrintMonochrome); - this.radioBtnMonochrome.Size = new System.Drawing.Size(148, 17); - this.radioBtnMonochrome.TabIndex = 13; - this.radioBtnMonochrome.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnMonochrome.UseVisualStyleBackColor = true; - // - // groupBoxPrintLayout - // - this.groupBoxPrintLayout.Controls.Add(this.checkboxDateTime); - this.groupBoxPrintLayout.Controls.Add(this.checkboxAllowShrink); - this.groupBoxPrintLayout.Controls.Add(this.checkboxAllowEnlarge); - this.groupBoxPrintLayout.Controls.Add(this.checkboxAllowRotate); - this.groupBoxPrintLayout.Controls.Add(this.checkboxAllowCenter); - this.groupBoxPrintLayout.LanguageKey = "printoptions_layout"; - this.groupBoxPrintLayout.Location = new System.Drawing.Point(6, 6); - this.groupBoxPrintLayout.Name = "groupBoxPrintLayout"; - this.groupBoxPrintLayout.Size = new System.Drawing.Size(331, 151); - this.groupBoxPrintLayout.TabIndex = 1; - this.groupBoxPrintLayout.TabStop = false; - // - // checkboxDateTime - // - this.checkboxDateTime.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxDateTime.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxDateTime.LanguageKey = "printoptions_timestamp"; - this.checkboxDateTime.Location = new System.Drawing.Point(13, 115); - this.checkboxDateTime.Name = "checkboxDateTime"; - this.checkboxDateTime.PropertyName = nameof(coreConfiguration.OutputPrintFooter); - this.checkboxDateTime.Size = new System.Drawing.Size(187, 17); - this.checkboxDateTime.TabIndex = 6; - this.checkboxDateTime.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxDateTime.UseVisualStyleBackColor = true; - // - // checkboxAllowShrink - // - this.checkboxAllowShrink.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowShrink.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowShrink.LanguageKey = "printoptions_allowshrink"; - this.checkboxAllowShrink.Location = new System.Drawing.Point(13, 23); - this.checkboxAllowShrink.Name = "checkboxAllowShrink"; - this.checkboxAllowShrink.PropertyName = nameof(coreConfiguration.OutputPrintAllowShrink); - this.checkboxAllowShrink.Size = new System.Drawing.Size(168, 17); - this.checkboxAllowShrink.TabIndex = 2; - this.checkboxAllowShrink.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowShrink.UseVisualStyleBackColor = true; - // - // checkboxAllowEnlarge - // - this.checkboxAllowEnlarge.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowEnlarge.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowEnlarge.LanguageKey = "printoptions_allowenlarge"; - this.checkboxAllowEnlarge.Location = new System.Drawing.Point(13, 46); - this.checkboxAllowEnlarge.Name = "checkboxAllowEnlarge"; - this.checkboxAllowEnlarge.PropertyName = nameof(coreConfiguration.OutputPrintAllowEnlarge); - this.checkboxAllowEnlarge.Size = new System.Drawing.Size(174, 17); - this.checkboxAllowEnlarge.TabIndex = 3; - this.checkboxAllowEnlarge.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowEnlarge.UseVisualStyleBackColor = true; - // - // checkboxAllowRotate - // - this.checkboxAllowRotate.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowRotate.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowRotate.LanguageKey = "printoptions_allowrotate"; - this.checkboxAllowRotate.Location = new System.Drawing.Point(13, 69); - this.checkboxAllowRotate.Name = "checkboxAllowRotate"; - this.checkboxAllowRotate.PropertyName = nameof(coreConfiguration.OutputPrintAllowRotate); - this.checkboxAllowRotate.Size = new System.Drawing.Size(187, 17); - this.checkboxAllowRotate.TabIndex = 4; - this.checkboxAllowRotate.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowRotate.UseVisualStyleBackColor = true; - // - // checkboxAllowCenter - // - this.checkboxAllowCenter.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowCenter.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowCenter.LanguageKey = "printoptions_allowcenter"; - this.checkboxAllowCenter.Location = new System.Drawing.Point(13, 92); - this.checkboxAllowCenter.Name = "checkboxAllowCenter"; - this.checkboxAllowCenter.PropertyName = nameof(coreConfiguration.OutputPrintCenter); - this.checkboxAllowCenter.Size = new System.Drawing.Size(137, 17); - this.checkboxAllowCenter.TabIndex = 5; - this.checkboxAllowCenter.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowCenter.UseVisualStyleBackColor = true; - // - // checkbox_alwaysshowprintoptionsdialog - // - this.checkbox_alwaysshowprintoptionsdialog.LanguageKey = "settings_alwaysshowprintoptionsdialog"; - this.checkbox_alwaysshowprintoptionsdialog.Location = new System.Drawing.Point(19, 293); - this.checkbox_alwaysshowprintoptionsdialog.Name = "checkbox_alwaysshowprintoptionsdialog"; - this.checkbox_alwaysshowprintoptionsdialog.PropertyName = nameof(coreConfiguration.OutputPrintPromptOptions); - this.checkbox_alwaysshowprintoptionsdialog.Size = new System.Drawing.Size(394, 20); - this.checkbox_alwaysshowprintoptionsdialog.TabIndex = 15; - this.checkbox_alwaysshowprintoptionsdialog.Text = "Show print options dialog every time an image is printed"; - this.checkbox_alwaysshowprintoptionsdialog.UseVisualStyleBackColor = true; - // - // tab_plugins - // - this.tab_plugins.Controls.Add(this.groupbox_plugins); - this.tab_plugins.LanguageKey = "settings_plugins"; - this.tab_plugins.Location = new System.Drawing.Point(4, 22); - this.tab_plugins.Name = "tab_plugins"; - this.tab_plugins.Size = new System.Drawing.Size(423, 351); - this.tab_plugins.TabIndex = 2; - this.tab_plugins.UseVisualStyleBackColor = true; - // - // groupbox_plugins - // - this.groupbox_plugins.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.numericUpDownWaitTime.Name = "numericUpDownWaitTime"; + this.numericUpDownWaitTime.Size = new System.Drawing.Size(49, 20); + this.numericUpDownWaitTime.TabIndex = 5; + this.numericUpDownWaitTime.ThousandsSeparator = true; + // + // label_waittime + // + this.label_waittime.LanguageKey = "settings_waittime"; + this.label_waittime.Location = new System.Drawing.Point(62, 98); + this.label_waittime.Name = "label_waittime"; + this.label_waittime.Size = new System.Drawing.Size(284, 15); + this.label_waittime.TabIndex = 5; + this.label_waittime.Text = "Milliseconds to wait before capture"; + // + // tab_output + // + this.tab_output.BackColor = System.Drawing.Color.Transparent; + this.tab_output.Controls.Add(this.groupbox_preferredfilesettings); + this.tab_output.Controls.Add(this.groupbox_qualitysettings); + this.tab_output.LanguageKey = "settings_output"; + this.tab_output.Location = new System.Drawing.Point(4, 22); + this.tab_output.Name = "tab_output"; + this.tab_output.Padding = new System.Windows.Forms.Padding(3); + this.tab_output.Size = new System.Drawing.Size(361, 324); + this.tab_output.TabIndex = 1; + this.tab_output.Text = "Output"; + this.tab_output.UseVisualStyleBackColor = true; + // + // tab_destinations + // + this.tab_destinations.Controls.Add(this.settings_destinationSplitContainer); + this.tab_destinations.LanguageKey = "settings_destination"; + this.tab_destinations.Location = new System.Drawing.Point(4, 22); + this.tab_destinations.Name = "tab_destinations"; + this.tab_destinations.Size = new System.Drawing.Size(361, 324); + this.tab_destinations.TabIndex = 4; + this.tab_destinations.Text = "Destination"; + this.tab_destinations.UseVisualStyleBackColor = true; + // + // settings_destinationSplitContainer + // + this.settings_destinationSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill; + this.settings_destinationSplitContainer.Location = new System.Drawing.Point(0, 0); + this.settings_destinationSplitContainer.Name = "settings_destinationSplitContainer"; + this.settings_destinationSplitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal; + // + // settings_destinationSplitContainer.Panel1 + // + this.settings_destinationSplitContainer.Panel1.Controls.Add(this.groupbox_destination); + // + // settings_destinationSplitContainer.Panel2 + // + this.settings_destinationSplitContainer.Panel2.Controls.Add(this.groupbox_hiddenDestinations); + this.settings_destinationSplitContainer.Size = new System.Drawing.Size(361, 324); + this.settings_destinationSplitContainer.SplitterDistance = 162; + this.settings_destinationSplitContainer.TabIndex = 17; + // + // groupbox_hiddenDestinations + // + this.groupbox_hiddenDestinations.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.groupbox_plugins.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.groupbox_plugins.Controls.Add(this.listview_plugins); - this.groupbox_plugins.Controls.Add(this.button_pluginconfigure); - this.groupbox_plugins.LanguageKey = "settings_plugins"; - this.groupbox_plugins.Location = new System.Drawing.Point(0, 0); - this.groupbox_plugins.Name = "groupbox_plugins"; - this.groupbox_plugins.Size = new System.Drawing.Size(423, 314); - this.groupbox_plugins.TabIndex = 0; - this.groupbox_plugins.TabStop = false; - this.groupbox_plugins.Text = "Plugins"; - // - // listview_plugins - // - this.listview_plugins.Dock = System.Windows.Forms.DockStyle.Top; - this.listview_plugins.FullRowSelect = true; - this.listview_plugins.Location = new System.Drawing.Point(3, 16); - this.listview_plugins.Name = "listview_plugins"; - this.listview_plugins.Size = new System.Drawing.Size(417, 263); - this.listview_plugins.TabIndex = 1; - this.listview_plugins.UseCompatibleStateImageBehavior = false; - this.listview_plugins.View = System.Windows.Forms.View.Details; - this.listview_plugins.SelectedIndexChanged += new System.EventHandler(this.Listview_pluginsSelectedIndexChanged); - this.listview_plugins.Click += new System.EventHandler(this.Listview_pluginsSelectedIndexChanged); - // - // button_pluginconfigure - // - this.button_pluginconfigure.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.button_pluginconfigure.Enabled = false; - this.button_pluginconfigure.LanguageKey = "settings_configureplugin"; - this.button_pluginconfigure.Location = new System.Drawing.Point(6, 285); - this.button_pluginconfigure.Name = "button_pluginconfigure"; - this.button_pluginconfigure.Size = new System.Drawing.Size(75, 23); - this.button_pluginconfigure.TabIndex = 2; - this.button_pluginconfigure.UseVisualStyleBackColor = true; - this.button_pluginconfigure.Click += new System.EventHandler(this.Button_pluginconfigureClick); - // - // tab_expert - // - this.tab_expert.Controls.Add(this.groupbox_expert); - this.tab_expert.LanguageKey = "expertsettings"; - this.tab_expert.Location = new System.Drawing.Point(4, 22); - this.tab_expert.Name = "tab_expert"; - this.tab_expert.Size = new System.Drawing.Size(423, 351); - this.tab_expert.TabIndex = 5; - this.tab_expert.Text = "Expert"; - this.tab_expert.UseVisualStyleBackColor = true; - // - // groupbox_expert - // - this.groupbox_expert.Controls.Add(this.checkbox_reuseeditor); - this.groupbox_expert.Controls.Add(this.checkbox_minimizememoryfootprint); - this.groupbox_expert.Controls.Add(this.checkbox_checkunstableupdates); - this.groupbox_expert.Controls.Add(this.checkbox_suppresssavedialogatclose); - this.groupbox_expert.Controls.Add(this.label_counter); - this.groupbox_expert.Controls.Add(this.textbox_counter); - this.groupbox_expert.Controls.Add(this.label_footerpattern); - this.groupbox_expert.Controls.Add(this.textbox_footerpattern); - this.groupbox_expert.Controls.Add(this.checkbox_thumbnailpreview); - this.groupbox_expert.Controls.Add(this.checkbox_optimizeforrdp); - this.groupbox_expert.Controls.Add(this.checkbox_autoreducecolors); - this.groupbox_expert.Controls.Add(this.label_clipboardformats); - this.groupbox_expert.Controls.Add(this.checkbox_enableexpert); - this.groupbox_expert.Controls.Add(this.listview_clipboardformats); - this.groupbox_expert.LanguageKey = "expertsettings"; - this.groupbox_expert.Location = new System.Drawing.Point(5, 5); - this.groupbox_expert.Name = "groupbox_expert"; - this.groupbox_expert.Size = new System.Drawing.Size(412, 311); - this.groupbox_expert.TabIndex = 17; - this.groupbox_expert.TabStop = false; - this.groupbox_expert.Text = "Expert"; - // - // checkbox_reuseeditor - // - this.checkbox_reuseeditor.LanguageKey = "expertsettings_reuseeditorifpossible"; - this.checkbox_reuseeditor.Location = new System.Drawing.Point(10, 225); - this.checkbox_reuseeditor.Name = "checkbox_reuseeditor"; - this.checkbox_reuseeditor.PropertyName = nameof(EditorConfiguration.ReuseEditor); - this.checkbox_reuseeditor.SectionName = "Editor"; - this.checkbox_reuseeditor.Size = new System.Drawing.Size(394, 24); - this.checkbox_reuseeditor.TabIndex = 9; - this.checkbox_reuseeditor.UseVisualStyleBackColor = true; - // - // checkbox_minimizememoryfootprint - // - this.checkbox_minimizememoryfootprint.LanguageKey = "expertsettings_minimizememoryfootprint"; - this.checkbox_minimizememoryfootprint.Location = new System.Drawing.Point(10, 206); - this.checkbox_minimizememoryfootprint.Name = "checkbox_minimizememoryfootprint"; - this.checkbox_minimizememoryfootprint.PropertyName = nameof(coreConfiguration.MinimizeWorkingSetSize); - this.checkbox_minimizememoryfootprint.Size = new System.Drawing.Size(394, 24); - this.checkbox_minimizememoryfootprint.TabIndex = 8; - this.checkbox_minimizememoryfootprint.UseVisualStyleBackColor = true; - // - // checkbox_checkunstableupdates - // - this.checkbox_checkunstableupdates.LanguageKey = "expertsettings_checkunstableupdates"; - this.checkbox_checkunstableupdates.Location = new System.Drawing.Point(10, 187); - this.checkbox_checkunstableupdates.Name = "checkbox_checkunstableupdates"; - this.checkbox_checkunstableupdates.PropertyName = nameof(coreConfiguration.CheckForUnstable); - this.checkbox_checkunstableupdates.Size = new System.Drawing.Size(394, 24); - this.checkbox_checkunstableupdates.TabIndex = 7; - this.checkbox_checkunstableupdates.UseVisualStyleBackColor = true; - // - // checkbox_suppresssavedialogatclose - // - this.checkbox_suppresssavedialogatclose.LanguageKey = "expertsettings_suppresssavedialogatclose"; - this.checkbox_suppresssavedialogatclose.Location = new System.Drawing.Point(10, 168); - this.checkbox_suppresssavedialogatclose.Name = "checkbox_suppresssavedialogatclose"; - this.checkbox_suppresssavedialogatclose.PropertyName = nameof(EditorConfiguration.SuppressSaveDialogAtClose); - this.checkbox_suppresssavedialogatclose.SectionName = "Editor"; - this.checkbox_suppresssavedialogatclose.Size = new System.Drawing.Size(394, 24); - this.checkbox_suppresssavedialogatclose.TabIndex = 6; - this.checkbox_suppresssavedialogatclose.UseVisualStyleBackColor = true; - // - // label_counter - // - this.label_counter.LanguageKey = "expertsettings_counter"; - this.label_counter.Location = new System.Drawing.Point(7, 285); - this.label_counter.Name = "label_counter"; - this.label_counter.Size = new System.Drawing.Size(246, 13); - this.label_counter.TabIndex = 27; - // - // textbox_counter - // - this.textbox_counter.Location = new System.Drawing.Point(259, 282); - this.textbox_counter.Name = "textbox_counter"; - this.textbox_counter.PropertyName = nameof(coreConfiguration.OutputFileIncrementingNumber); - this.textbox_counter.Size = new System.Drawing.Size(141, 20); - this.textbox_counter.TabIndex = 11; - // - // label_footerpattern - // - this.label_footerpattern.LanguageKey = "expertsettings_footerpattern"; - this.label_footerpattern.Location = new System.Drawing.Point(7, 259); - this.label_footerpattern.Name = "label_footerpattern"; - this.label_footerpattern.Size = new System.Drawing.Size(103, 13); - this.label_footerpattern.TabIndex = 25; - this.label_footerpattern.Text = "Printer footer pattern"; - // - // textbox_footerpattern - // - this.textbox_footerpattern.Location = new System.Drawing.Point(138, 256); - this.textbox_footerpattern.Name = "textbox_footerpattern"; - this.textbox_footerpattern.PropertyName = nameof(coreConfiguration.OutputPrintFooterPattern); - this.textbox_footerpattern.Size = new System.Drawing.Size(262, 20); - this.textbox_footerpattern.TabIndex = 10; - // - // checkbox_thumbnailpreview - // - this.checkbox_thumbnailpreview.LanguageKey = "expertsettings_thumbnailpreview"; - this.checkbox_thumbnailpreview.Location = new System.Drawing.Point(10, 149); - this.checkbox_thumbnailpreview.Name = "checkbox_thumbnailpreview"; - this.checkbox_thumbnailpreview.PropertyName = nameof(coreConfiguration.ThumnailPreview); - this.checkbox_thumbnailpreview.Size = new System.Drawing.Size(394, 24); - this.checkbox_thumbnailpreview.TabIndex = 5; - this.checkbox_thumbnailpreview.UseVisualStyleBackColor = true; - // - // checkbox_optimizeforrdp - // - this.checkbox_optimizeforrdp.LanguageKey = "expertsettings_optimizeforrdp"; - this.checkbox_optimizeforrdp.Location = new System.Drawing.Point(10, 130); - this.checkbox_optimizeforrdp.Name = "checkbox_optimizeforrdp"; - this.checkbox_optimizeforrdp.PropertyName = nameof(coreConfiguration.OptimizeForRDP); - this.checkbox_optimizeforrdp.Size = new System.Drawing.Size(394, 24); - this.checkbox_optimizeforrdp.TabIndex = 4; - this.checkbox_optimizeforrdp.UseVisualStyleBackColor = true; - // - // checkbox_autoreducecolors - // - this.checkbox_autoreducecolors.LanguageKey = "expertsettings_autoreducecolors"; - this.checkbox_autoreducecolors.Location = new System.Drawing.Point(10, 111); - this.checkbox_autoreducecolors.Name = "checkbox_autoreducecolors"; - this.checkbox_autoreducecolors.PropertyName = nameof(coreConfiguration.OutputFileAutoReduceColors); - this.checkbox_autoreducecolors.Size = new System.Drawing.Size(408, 24); - this.checkbox_autoreducecolors.TabIndex = 3; - this.checkbox_autoreducecolors.UseVisualStyleBackColor = true; - // - // label_clipboardformats - // - this.label_clipboardformats.LanguageKey = "expertsettings_clipboardformats"; - this.label_clipboardformats.Location = new System.Drawing.Point(7, 39); - this.label_clipboardformats.Name = "label_clipboardformats"; - this.label_clipboardformats.Size = new System.Drawing.Size(88, 13); - this.label_clipboardformats.TabIndex = 20; - // - // checkbox_enableexpert - // - this.checkbox_enableexpert.LanguageKey = "expertsettings_enableexpert"; - this.checkbox_enableexpert.Location = new System.Drawing.Point(6, 14); - this.checkbox_enableexpert.Name = "checkbox_enableexpert"; - this.checkbox_enableexpert.Size = new System.Drawing.Size(394, 24); - this.checkbox_enableexpert.TabIndex = 1; - this.checkbox_enableexpert.UseVisualStyleBackColor = true; - this.checkbox_enableexpert.CheckedChanged += new System.EventHandler(this.Checkbox_enableexpert_CheckedChanged); - // - // listview_clipboardformats - // - this.listview_clipboardformats.Alignment = System.Windows.Forms.ListViewAlignment.Left; - this.listview_clipboardformats.AutoArrange = false; - this.listview_clipboardformats.CheckBoxes = true; - this.listview_clipboardformats.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.groupbox_hiddenDestinations.Controls.Add(this.listview_hiddenDestinations); + this.groupbox_hiddenDestinations.Location = new System.Drawing.Point(3, 3); + this.groupbox_hiddenDestinations.Name = "groupbox_hiddenDestinations"; + this.groupbox_hiddenDestinations.Size = new System.Drawing.Size(355, 152); + this.groupbox_hiddenDestinations.TabIndex = 0; + this.groupbox_hiddenDestinations.TabStop = false; + this.groupbox_hiddenDestinations.Text = "Hidden Destinations"; + // + // listview_hiddenDestinations + // + this.listview_hiddenDestinations.Alignment = System.Windows.Forms.ListViewAlignment.Left; + this.listview_hiddenDestinations.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.listview_hiddenDestinations.AutoArrange = false; + this.listview_hiddenDestinations.CheckBoxes = true; + this.listview_hiddenDestinations.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.col_excludedDestination}); + this.listview_hiddenDestinations.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; + this.listview_hiddenDestinations.HideSelection = false; + this.listview_hiddenDestinations.LabelWrap = false; + this.listview_hiddenDestinations.Location = new System.Drawing.Point(6, 19); + this.listview_hiddenDestinations.Name = "listview_hiddenDestinations"; + this.listview_hiddenDestinations.ShowGroups = false; + this.listview_hiddenDestinations.Size = new System.Drawing.Size(343, 127); + this.listview_hiddenDestinations.Sorting = System.Windows.Forms.SortOrder.Ascending; + this.listview_hiddenDestinations.TabIndex = 3; + this.listview_hiddenDestinations.UseCompatibleStateImageBehavior = false; + this.listview_hiddenDestinations.View = System.Windows.Forms.View.Details; + // + // col_excludedDestination + // + this.col_excludedDestination.Text = "Excluded Destination"; + this.col_excludedDestination.Width = 380; + // + // tab_printer + // + this.tab_printer.Controls.Add(this.groupBoxColors); + this.tab_printer.Controls.Add(this.groupBoxPrintLayout); + this.tab_printer.Controls.Add(this.checkbox_alwaysshowprintoptionsdialog); + this.tab_printer.LanguageKey = "settings_printer"; + this.tab_printer.Location = new System.Drawing.Point(4, 22); + this.tab_printer.Name = "tab_printer"; + this.tab_printer.Padding = new System.Windows.Forms.Padding(3); + this.tab_printer.Size = new System.Drawing.Size(361, 324); + this.tab_printer.TabIndex = 2; + this.tab_printer.Text = "Printer"; + this.tab_printer.UseVisualStyleBackColor = true; + // + // groupBoxColors + // + this.groupBoxColors.Controls.Add(this.checkboxPrintInverted); + this.groupBoxColors.Controls.Add(this.radioBtnColorPrint); + this.groupBoxColors.Controls.Add(this.radioBtnGrayScale); + this.groupBoxColors.Controls.Add(this.radioBtnMonochrome); + this.groupBoxColors.LanguageKey = "printoptions_colors"; + this.groupBoxColors.Location = new System.Drawing.Point(5, 151); + this.groupBoxColors.Name = "groupBoxColors"; + this.groupBoxColors.Size = new System.Drawing.Size(284, 115); + this.groupBoxColors.TabIndex = 10; + this.groupBoxColors.TabStop = false; + this.groupBoxColors.Text = "Color settings"; + // + // checkboxPrintInverted + // + this.checkboxPrintInverted.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxPrintInverted.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxPrintInverted.LanguageKey = "printoptions_inverted"; + this.checkboxPrintInverted.Location = new System.Drawing.Point(11, 82); + this.checkboxPrintInverted.Name = "checkboxPrintInverted"; + this.checkboxPrintInverted.PropertyName = "OutputPrintInverted"; + this.checkboxPrintInverted.Size = new System.Drawing.Size(121, 16); + this.checkboxPrintInverted.TabIndex = 14; + this.checkboxPrintInverted.Text = "Print with inverted colors"; + this.checkboxPrintInverted.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxPrintInverted.UseVisualStyleBackColor = true; + // + // radioBtnColorPrint + // + this.radioBtnColorPrint.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnColorPrint.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnColorPrint.LanguageKey = "printoptions_printcolor"; + this.radioBtnColorPrint.Location = new System.Drawing.Point(11, 18); + this.radioBtnColorPrint.Name = "radioBtnColorPrint"; + this.radioBtnColorPrint.Size = new System.Drawing.Size(77, 16); + this.radioBtnColorPrint.TabIndex = 11; + this.radioBtnColorPrint.Text = "Full color print"; + this.radioBtnColorPrint.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnColorPrint.UseVisualStyleBackColor = true; + // + // radioBtnGrayScale + // + this.radioBtnGrayScale.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnGrayScale.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnGrayScale.LanguageKey = "printoptions_printgrayscale"; + this.radioBtnGrayScale.Location = new System.Drawing.Point(11, 39); + this.radioBtnGrayScale.Name = "radioBtnGrayScale"; + this.radioBtnGrayScale.PropertyName = "OutputPrintGrayscale"; + this.radioBtnGrayScale.Size = new System.Drawing.Size(117, 16); + this.radioBtnGrayScale.TabIndex = 12; + this.radioBtnGrayScale.Text = "Force grayscale printing"; + this.radioBtnGrayScale.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnGrayScale.UseVisualStyleBackColor = true; + // + // radioBtnMonochrome + // + this.radioBtnMonochrome.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnMonochrome.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnMonochrome.LanguageKey = "printoptions_printmonochrome"; + this.radioBtnMonochrome.Location = new System.Drawing.Point(11, 60); + this.radioBtnMonochrome.Name = "radioBtnMonochrome"; + this.radioBtnMonochrome.PropertyName = "OutputPrintMonochrome"; + this.radioBtnMonochrome.Size = new System.Drawing.Size(127, 16); + this.radioBtnMonochrome.TabIndex = 13; + this.radioBtnMonochrome.Text = "Force black/white printing"; + this.radioBtnMonochrome.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnMonochrome.UseVisualStyleBackColor = true; + // + // groupBoxPrintLayout + // + this.groupBoxPrintLayout.Controls.Add(this.checkboxDateTime); + this.groupBoxPrintLayout.Controls.Add(this.checkboxAllowShrink); + this.groupBoxPrintLayout.Controls.Add(this.checkboxAllowEnlarge); + this.groupBoxPrintLayout.Controls.Add(this.checkboxAllowRotate); + this.groupBoxPrintLayout.Controls.Add(this.checkboxAllowCenter); + this.groupBoxPrintLayout.LanguageKey = "printoptions_layout"; + this.groupBoxPrintLayout.Location = new System.Drawing.Point(5, 6); + this.groupBoxPrintLayout.Name = "groupBoxPrintLayout"; + this.groupBoxPrintLayout.Size = new System.Drawing.Size(284, 140); + this.groupBoxPrintLayout.TabIndex = 1; + this.groupBoxPrintLayout.TabStop = false; + this.groupBoxPrintLayout.Text = "Page layout settings"; + // + // checkboxDateTime + // + this.checkboxDateTime.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxDateTime.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxDateTime.LanguageKey = "printoptions_timestamp"; + this.checkboxDateTime.Location = new System.Drawing.Point(11, 107); + this.checkboxDateTime.Name = "checkboxDateTime"; + this.checkboxDateTime.PropertyName = "OutputPrintFooter"; + this.checkboxDateTime.Size = new System.Drawing.Size(160, 16); + this.checkboxDateTime.TabIndex = 6; + this.checkboxDateTime.Text = "Print date / time at bottom of page"; + this.checkboxDateTime.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxDateTime.UseVisualStyleBackColor = true; + // + // checkboxAllowShrink + // + this.checkboxAllowShrink.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowShrink.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowShrink.LanguageKey = "printoptions_allowshrink"; + this.checkboxAllowShrink.Location = new System.Drawing.Point(11, 21); + this.checkboxAllowShrink.Name = "checkboxAllowShrink"; + this.checkboxAllowShrink.PropertyName = "OutputPrintAllowShrink"; + this.checkboxAllowShrink.Size = new System.Drawing.Size(144, 16); + this.checkboxAllowShrink.TabIndex = 2; + this.checkboxAllowShrink.Text = "Shrink printout to fit paper size"; + this.checkboxAllowShrink.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowShrink.UseVisualStyleBackColor = true; + // + // checkboxAllowEnlarge + // + this.checkboxAllowEnlarge.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowEnlarge.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowEnlarge.LanguageKey = "printoptions_allowenlarge"; + this.checkboxAllowEnlarge.Location = new System.Drawing.Point(11, 43); + this.checkboxAllowEnlarge.Name = "checkboxAllowEnlarge"; + this.checkboxAllowEnlarge.PropertyName = "OutputPrintAllowEnlarge"; + this.checkboxAllowEnlarge.Size = new System.Drawing.Size(149, 16); + this.checkboxAllowEnlarge.TabIndex = 3; + this.checkboxAllowEnlarge.Text = "Enlarge printout to fit paper size"; + this.checkboxAllowEnlarge.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowEnlarge.UseVisualStyleBackColor = true; + // + // checkboxAllowRotate + // + this.checkboxAllowRotate.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowRotate.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowRotate.LanguageKey = "printoptions_allowrotate"; + this.checkboxAllowRotate.Location = new System.Drawing.Point(11, 64); + this.checkboxAllowRotate.Name = "checkboxAllowRotate"; + this.checkboxAllowRotate.PropertyName = "OutputPrintAllowRotate"; + this.checkboxAllowRotate.Size = new System.Drawing.Size(160, 16); + this.checkboxAllowRotate.TabIndex = 4; + this.checkboxAllowRotate.Text = "Rotate printout to page orientation"; + this.checkboxAllowRotate.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowRotate.UseVisualStyleBackColor = true; + // + // checkboxAllowCenter + // + this.checkboxAllowCenter.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowCenter.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowCenter.LanguageKey = "printoptions_allowcenter"; + this.checkboxAllowCenter.Location = new System.Drawing.Point(11, 85); + this.checkboxAllowCenter.Name = "checkboxAllowCenter"; + this.checkboxAllowCenter.PropertyName = "OutputPrintCenter"; + this.checkboxAllowCenter.Size = new System.Drawing.Size(117, 16); + this.checkboxAllowCenter.TabIndex = 5; + this.checkboxAllowCenter.Text = "Center printout on page"; + this.checkboxAllowCenter.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowCenter.UseVisualStyleBackColor = true; + // + // checkbox_alwaysshowprintoptionsdialog + // + this.checkbox_alwaysshowprintoptionsdialog.LanguageKey = "settings_alwaysshowprintoptionsdialog"; + this.checkbox_alwaysshowprintoptionsdialog.Location = new System.Drawing.Point(16, 272); + this.checkbox_alwaysshowprintoptionsdialog.Name = "checkbox_alwaysshowprintoptionsdialog"; + this.checkbox_alwaysshowprintoptionsdialog.PropertyName = "OutputPrintPromptOptions"; + this.checkbox_alwaysshowprintoptionsdialog.Size = new System.Drawing.Size(338, 19); + this.checkbox_alwaysshowprintoptionsdialog.TabIndex = 15; + this.checkbox_alwaysshowprintoptionsdialog.Text = "Show print options dialog every time an image is printed"; + this.checkbox_alwaysshowprintoptionsdialog.UseVisualStyleBackColor = true; + // + // tab_plugins + // + this.tab_plugins.Controls.Add(this.groupbox_plugins); + this.tab_plugins.LanguageKey = "settings_plugins"; + this.tab_plugins.Location = new System.Drawing.Point(4, 22); + this.tab_plugins.Name = "tab_plugins"; + this.tab_plugins.Size = new System.Drawing.Size(361, 324); + this.tab_plugins.TabIndex = 2; + this.tab_plugins.Text = "Plugins"; + this.tab_plugins.UseVisualStyleBackColor = true; + // + // groupbox_plugins + // + this.groupbox_plugins.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.groupbox_plugins.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.groupbox_plugins.Controls.Add(this.listview_plugins); + this.groupbox_plugins.Controls.Add(this.button_pluginconfigure); + this.groupbox_plugins.LanguageKey = "settings_plugins"; + this.groupbox_plugins.Location = new System.Drawing.Point(0, 0); + this.groupbox_plugins.Name = "groupbox_plugins"; + this.groupbox_plugins.Size = new System.Drawing.Size(363, 292); + this.groupbox_plugins.TabIndex = 0; + this.groupbox_plugins.TabStop = false; + this.groupbox_plugins.Text = "Plugins"; + // + // listview_plugins + // + this.listview_plugins.Dock = System.Windows.Forms.DockStyle.Top; + this.listview_plugins.FullRowSelect = true; + this.listview_plugins.HideSelection = false; + this.listview_plugins.Location = new System.Drawing.Point(3, 16); + this.listview_plugins.Name = "listview_plugins"; + this.listview_plugins.Size = new System.Drawing.Size(357, 244); + this.listview_plugins.TabIndex = 1; + this.listview_plugins.UseCompatibleStateImageBehavior = false; + this.listview_plugins.View = System.Windows.Forms.View.Details; + this.listview_plugins.SelectedIndexChanged += new System.EventHandler(this.Listview_pluginsSelectedIndexChanged); + this.listview_plugins.Click += new System.EventHandler(this.Listview_pluginsSelectedIndexChanged); + // + // button_pluginconfigure + // + this.button_pluginconfigure.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.button_pluginconfigure.Enabled = false; + this.button_pluginconfigure.LanguageKey = "settings_configureplugin"; + this.button_pluginconfigure.Location = new System.Drawing.Point(5, 265); + this.button_pluginconfigure.Name = "button_pluginconfigure"; + this.button_pluginconfigure.Size = new System.Drawing.Size(64, 21); + this.button_pluginconfigure.TabIndex = 2; + this.button_pluginconfigure.Text = "Configure"; + this.button_pluginconfigure.UseVisualStyleBackColor = true; + this.button_pluginconfigure.Click += new System.EventHandler(this.Button_pluginconfigureClick); + // + // tab_expert + // + this.tab_expert.Controls.Add(this.groupbox_expert); + this.tab_expert.LanguageKey = "expertsettings"; + this.tab_expert.Location = new System.Drawing.Point(4, 22); + this.tab_expert.Name = "tab_expert"; + this.tab_expert.Size = new System.Drawing.Size(361, 324); + this.tab_expert.TabIndex = 5; + this.tab_expert.Text = "Expert"; + this.tab_expert.UseVisualStyleBackColor = true; + // + // groupbox_expert + // + this.groupbox_expert.Controls.Add(this.checkbox_reuseeditor); + this.groupbox_expert.Controls.Add(this.checkbox_minimizememoryfootprint); + this.groupbox_expert.Controls.Add(this.checkbox_checkunstableupdates); + this.groupbox_expert.Controls.Add(this.checkbox_suppresssavedialogatclose); + this.groupbox_expert.Controls.Add(this.label_counter); + this.groupbox_expert.Controls.Add(this.textbox_counter); + this.groupbox_expert.Controls.Add(this.label_footerpattern); + this.groupbox_expert.Controls.Add(this.textbox_footerpattern); + this.groupbox_expert.Controls.Add(this.checkbox_thumbnailpreview); + this.groupbox_expert.Controls.Add(this.checkbox_optimizeforrdp); + this.groupbox_expert.Controls.Add(this.checkbox_autoreducecolors); + this.groupbox_expert.Controls.Add(this.label_clipboardformats); + this.groupbox_expert.Controls.Add(this.checkbox_enableexpert); + this.groupbox_expert.Controls.Add(this.listview_clipboardformats); + this.groupbox_expert.LanguageKey = "expertsettings"; + this.groupbox_expert.Location = new System.Drawing.Point(4, 5); + this.groupbox_expert.Name = "groupbox_expert"; + this.groupbox_expert.Size = new System.Drawing.Size(353, 289); + this.groupbox_expert.TabIndex = 17; + this.groupbox_expert.TabStop = false; + this.groupbox_expert.Text = "Expert"; + // + // checkbox_reuseeditor + // + this.checkbox_reuseeditor.LanguageKey = "expertsettings_reuseeditorifpossible"; + this.checkbox_reuseeditor.Location = new System.Drawing.Point(9, 209); + this.checkbox_reuseeditor.Name = "checkbox_reuseeditor"; + this.checkbox_reuseeditor.PropertyName = "ReuseEditor"; + this.checkbox_reuseeditor.SectionName = "Editor"; + this.checkbox_reuseeditor.Size = new System.Drawing.Size(338, 22); + this.checkbox_reuseeditor.TabIndex = 9; + this.checkbox_reuseeditor.Text = "Reuse editor if possible"; + this.checkbox_reuseeditor.UseVisualStyleBackColor = true; + // + // checkbox_minimizememoryfootprint + // + this.checkbox_minimizememoryfootprint.LanguageKey = "expertsettings_minimizememoryfootprint"; + this.checkbox_minimizememoryfootprint.Location = new System.Drawing.Point(9, 191); + this.checkbox_minimizememoryfootprint.Name = "checkbox_minimizememoryfootprint"; + this.checkbox_minimizememoryfootprint.PropertyName = "MinimizeWorkingSetSize"; + this.checkbox_minimizememoryfootprint.Size = new System.Drawing.Size(338, 22); + this.checkbox_minimizememoryfootprint.TabIndex = 8; + this.checkbox_minimizememoryfootprint.Text = "Minimize memory footprint, but with a performance penalty (not advised)."; + this.checkbox_minimizememoryfootprint.UseVisualStyleBackColor = true; + // + // checkbox_checkunstableupdates + // + this.checkbox_checkunstableupdates.LanguageKey = "expertsettings_checkunstableupdates"; + this.checkbox_checkunstableupdates.Location = new System.Drawing.Point(9, 174); + this.checkbox_checkunstableupdates.Name = "checkbox_checkunstableupdates"; + this.checkbox_checkunstableupdates.PropertyName = "CheckForUnstable"; + this.checkbox_checkunstableupdates.Size = new System.Drawing.Size(338, 22); + this.checkbox_checkunstableupdates.TabIndex = 7; + this.checkbox_checkunstableupdates.Text = "Check for unstable updates"; + this.checkbox_checkunstableupdates.UseVisualStyleBackColor = true; + // + // checkbox_suppresssavedialogatclose + // + this.checkbox_suppresssavedialogatclose.LanguageKey = "expertsettings_suppresssavedialogatclose"; + this.checkbox_suppresssavedialogatclose.Location = new System.Drawing.Point(9, 156); + this.checkbox_suppresssavedialogatclose.Name = "checkbox_suppresssavedialogatclose"; + this.checkbox_suppresssavedialogatclose.PropertyName = "SuppressSaveDialogAtClose"; + this.checkbox_suppresssavedialogatclose.SectionName = "Editor"; + this.checkbox_suppresssavedialogatclose.Size = new System.Drawing.Size(338, 22); + this.checkbox_suppresssavedialogatclose.TabIndex = 6; + this.checkbox_suppresssavedialogatclose.Text = "Suppress the save dialog when closing the editor"; + this.checkbox_suppresssavedialogatclose.UseVisualStyleBackColor = true; + // + // label_counter + // + this.label_counter.LanguageKey = "expertsettings_counter"; + this.label_counter.Location = new System.Drawing.Point(6, 265); + this.label_counter.Name = "label_counter"; + this.label_counter.Size = new System.Drawing.Size(211, 12); + this.label_counter.TabIndex = 27; + this.label_counter.Text = "The number for the ${NUM} in the filename pattern"; + // + // textbox_counter + // + this.textbox_counter.Location = new System.Drawing.Point(222, 262); + this.textbox_counter.Name = "textbox_counter"; + this.textbox_counter.PropertyName = "OutputFileIncrementingNumber"; + this.textbox_counter.Size = new System.Drawing.Size(121, 20); + this.textbox_counter.TabIndex = 11; + // + // label_footerpattern + // + this.label_footerpattern.LanguageKey = "expertsettings_footerpattern"; + this.label_footerpattern.Location = new System.Drawing.Point(6, 240); + this.label_footerpattern.Name = "label_footerpattern"; + this.label_footerpattern.Size = new System.Drawing.Size(88, 12); + this.label_footerpattern.TabIndex = 25; + this.label_footerpattern.Text = "Printer footer pattern"; + // + // textbox_footerpattern + // + this.textbox_footerpattern.Location = new System.Drawing.Point(118, 238); + this.textbox_footerpattern.Name = "textbox_footerpattern"; + this.textbox_footerpattern.PropertyName = "OutputPrintFooterPattern"; + this.textbox_footerpattern.Size = new System.Drawing.Size(225, 20); + this.textbox_footerpattern.TabIndex = 10; + // + // checkbox_thumbnailpreview + // + this.checkbox_thumbnailpreview.LanguageKey = "expertsettings_thumbnailpreview"; + this.checkbox_thumbnailpreview.Location = new System.Drawing.Point(9, 138); + this.checkbox_thumbnailpreview.Name = "checkbox_thumbnailpreview"; + this.checkbox_thumbnailpreview.PropertyName = "ThumnailPreview"; + this.checkbox_thumbnailpreview.Size = new System.Drawing.Size(338, 22); + this.checkbox_thumbnailpreview.TabIndex = 5; + this.checkbox_thumbnailpreview.Text = "Show window thumbnails in context menu (for Vista and windows 7)"; + this.checkbox_thumbnailpreview.UseVisualStyleBackColor = true; + // + // checkbox_optimizeforrdp + // + this.checkbox_optimizeforrdp.LanguageKey = "expertsettings_optimizeforrdp"; + this.checkbox_optimizeforrdp.Location = new System.Drawing.Point(9, 121); + this.checkbox_optimizeforrdp.Name = "checkbox_optimizeforrdp"; + this.checkbox_optimizeforrdp.PropertyName = "OptimizeForRDP"; + this.checkbox_optimizeforrdp.Size = new System.Drawing.Size(338, 22); + this.checkbox_optimizeforrdp.TabIndex = 4; + this.checkbox_optimizeforrdp.Text = "Make some optimizations for usage with remote desktop"; + this.checkbox_optimizeforrdp.UseVisualStyleBackColor = true; + // + // checkbox_autoreducecolors + // + this.checkbox_autoreducecolors.LanguageKey = "expertsettings_autoreducecolors"; + this.checkbox_autoreducecolors.Location = new System.Drawing.Point(9, 103); + this.checkbox_autoreducecolors.Name = "checkbox_autoreducecolors"; + this.checkbox_autoreducecolors.PropertyName = "OutputFileAutoReduceColors"; + this.checkbox_autoreducecolors.Size = new System.Drawing.Size(350, 22); + this.checkbox_autoreducecolors.TabIndex = 3; + this.checkbox_autoreducecolors.Text = "Create an 8-bit image if the colors are less than 256 while having a > 8 bits ima" + + "ge"; + this.checkbox_autoreducecolors.UseVisualStyleBackColor = true; + // + // label_clipboardformats + // + this.label_clipboardformats.LanguageKey = "expertsettings_clipboardformats"; + this.label_clipboardformats.Location = new System.Drawing.Point(6, 36); + this.label_clipboardformats.Name = "label_clipboardformats"; + this.label_clipboardformats.Size = new System.Drawing.Size(75, 12); + this.label_clipboardformats.TabIndex = 20; + this.label_clipboardformats.Text = "Clipboard formats"; + // + // checkbox_enableexpert + // + this.checkbox_enableexpert.LanguageKey = "expertsettings_enableexpert"; + this.checkbox_enableexpert.Location = new System.Drawing.Point(5, 13); + this.checkbox_enableexpert.Name = "checkbox_enableexpert"; + this.checkbox_enableexpert.Size = new System.Drawing.Size(338, 22); + this.checkbox_enableexpert.TabIndex = 1; + this.checkbox_enableexpert.Text = "I know what I am doing!"; + this.checkbox_enableexpert.UseVisualStyleBackColor = true; + this.checkbox_enableexpert.CheckedChanged += new System.EventHandler(this.Checkbox_enableexpert_CheckedChanged); + // + // listview_clipboardformats + // + this.listview_clipboardformats.Alignment = System.Windows.Forms.ListViewAlignment.Left; + this.listview_clipboardformats.AutoArrange = false; + this.listview_clipboardformats.CheckBoxes = true; + this.listview_clipboardformats.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1}); - this.listview_clipboardformats.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; - this.listview_clipboardformats.LabelWrap = false; - this.listview_clipboardformats.Location = new System.Drawing.Point(170, 38); - this.listview_clipboardformats.Name = "listview_clipboardformats"; - this.listview_clipboardformats.ShowGroups = false; - this.listview_clipboardformats.Size = new System.Drawing.Size(230, 72); - this.listview_clipboardformats.Sorting = System.Windows.Forms.SortOrder.Ascending; - this.listview_clipboardformats.TabIndex = 2; - this.listview_clipboardformats.UseCompatibleStateImageBehavior = false; - this.listview_clipboardformats.View = System.Windows.Forms.View.Details; - // - // columnHeader1 - // - this.columnHeader1.Text = "Destination"; - this.columnHeader1.Width = 225; - // - // SettingsForm - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(451, 431); - this.Controls.Add(this.tabcontrol); - this.Controls.Add(this.settings_confirm); - this.Controls.Add(this.settings_cancel); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.LanguageKey = "settings_title"; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "SettingsForm"; - this.Text = "Settings"; - this.groupbox_preferredfilesettings.ResumeLayout(false); - this.groupbox_preferredfilesettings.PerformLayout(); - this.groupbox_applicationsettings.ResumeLayout(false); - this.groupbox_qualitysettings.ResumeLayout(false); - this.groupbox_qualitysettings.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.trackBarJpegQuality)).EndInit(); - this.groupbox_destination.ResumeLayout(false); - this.tabcontrol.ResumeLayout(false); - this.tab_general.ResumeLayout(false); - this.groupbox_network.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_daysbetweencheck)).EndInit(); - this.groupbox_hotkeys.ResumeLayout(false); - this.groupbox_hotkeys.PerformLayout(); - this.tab_capture.ResumeLayout(false); - this.groupbox_editor.ResumeLayout(false); - this.groupbox_iecapture.ResumeLayout(false); - this.groupbox_windowscapture.ResumeLayout(false); - this.groupbox_windowscapture.PerformLayout(); - this.groupbox_capture.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.numericUpDownWaitTime)).EndInit(); - this.tab_output.ResumeLayout(false); - this.tab_destinations.ResumeLayout(false); - this.tab_printer.ResumeLayout(false); - this.tab_printer.PerformLayout(); - this.groupBoxColors.ResumeLayout(false); - this.groupBoxColors.PerformLayout(); - this.groupBoxPrintLayout.ResumeLayout(false); - this.groupBoxPrintLayout.PerformLayout(); - this.tab_plugins.ResumeLayout(false); - this.groupbox_plugins.ResumeLayout(false); - this.groupbox_plugins.PerformLayout(); - this.tab_expert.ResumeLayout(false); - this.groupbox_expert.ResumeLayout(false); - this.groupbox_expert.PerformLayout(); - this.ResumeLayout(false); + this.listview_clipboardformats.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; + this.listview_clipboardformats.HideSelection = false; + this.listview_clipboardformats.LabelWrap = false; + this.listview_clipboardformats.Location = new System.Drawing.Point(146, 35); + this.listview_clipboardformats.Name = "listview_clipboardformats"; + this.listview_clipboardformats.ShowGroups = false; + this.listview_clipboardformats.Size = new System.Drawing.Size(198, 67); + this.listview_clipboardformats.Sorting = System.Windows.Forms.SortOrder.Ascending; + this.listview_clipboardformats.TabIndex = 2; + this.listview_clipboardformats.UseCompatibleStateImageBehavior = false; + this.listview_clipboardformats.View = System.Windows.Forms.View.Details; + // + // columnHeader1 + // + this.columnHeader1.Text = "Destination"; + this.columnHeader1.Width = 225; + // + // SettingsForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(387, 400); + this.Controls.Add(this.tabcontrol); + this.Controls.Add(this.settings_confirm); + this.Controls.Add(this.settings_cancel); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.LanguageKey = "settings_title"; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "SettingsForm"; + this.Text = "Settings"; + this.groupbox_preferredfilesettings.ResumeLayout(false); + this.groupbox_preferredfilesettings.PerformLayout(); + this.groupbox_applicationsettings.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.numericUpdownIconSize)).EndInit(); + this.groupbox_qualitysettings.ResumeLayout(false); + this.groupbox_qualitysettings.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.trackBarJpegQuality)).EndInit(); + this.groupbox_destination.ResumeLayout(false); + this.tabcontrol.ResumeLayout(false); + this.tab_general.ResumeLayout(false); + this.groupbox_network.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_daysbetweencheck)).EndInit(); + this.groupbox_hotkeys.ResumeLayout(false); + this.groupbox_hotkeys.PerformLayout(); + this.tab_capture.ResumeLayout(false); + this.groupbox_editor.ResumeLayout(false); + this.groupbox_iecapture.ResumeLayout(false); + this.groupbox_windowscapture.ResumeLayout(false); + this.groupbox_capture.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownWaitTime)).EndInit(); + this.tab_output.ResumeLayout(false); + this.tab_destinations.ResumeLayout(false); + this.settings_destinationSplitContainer.Panel1.ResumeLayout(false); + this.settings_destinationSplitContainer.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.settings_destinationSplitContainer)).EndInit(); + this.settings_destinationSplitContainer.ResumeLayout(false); + this.groupbox_hiddenDestinations.ResumeLayout(false); + this.tab_printer.ResumeLayout(false); + this.groupBoxColors.ResumeLayout(false); + this.groupBoxPrintLayout.ResumeLayout(false); + this.tab_plugins.ResumeLayout(false); + this.groupbox_plugins.ResumeLayout(false); + this.tab_expert.ResumeLayout(false); + this.groupbox_expert.ResumeLayout(false); + this.groupbox_expert.PerformLayout(); + this.ResumeLayout(false); } private GreenshotCheckBox checkbox_notifications; @@ -1406,5 +1572,9 @@ namespace Greenshot.Forms { private GreenshotCheckBox checkbox_zoomer; private GreenshotLabel label_icon_size; private System.Windows.Forms.NumericUpDown numericUpdownIconSize; + private System.Windows.Forms.SplitContainer settings_destinationSplitContainer; + private GreenshotGroupBox groupbox_hiddenDestinations; + private System.Windows.Forms.ListView listview_hiddenDestinations; + private System.Windows.Forms.ColumnHeader col_excludedDestination; } } diff --git a/src/Greenshot/Forms/SettingsForm.cs b/src/Greenshot/Forms/SettingsForm.cs index 12f2f07cb..bdae3f8e1 100644 --- a/src/Greenshot/Forms/SettingsForm.cs +++ b/src/Greenshot/Forms/SettingsForm.cs @@ -28,6 +28,7 @@ using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Windows.Forms; +using Dapplo.Windows.Common.Structs; using Dapplo.Windows.DesktopWindowsManager; using Dapplo.Windows.Dpi; using Greenshot.Base; @@ -52,6 +53,7 @@ namespace Greenshot.Forms private readonly ToolTip _toolTip = new ToolTip(); private bool _inHotkey; private int _daysBetweenCheckPreviousValue; + private readonly NativeSize _scaledIconSize; public SettingsForm() { @@ -61,6 +63,10 @@ namespace Greenshot.Forms // Make sure the store isn't called to early, that's why we do it manually ManualStoreFields = true; + + // Precalculate icon size. + //TODO: This might be worth moving to a global service so that the entire UI can use it, rather than re-calculating on each form. + _scaledIconSize = DpiCalculator.ScaleWithDpi(coreConfiguration.IconSize, NativeDpiMethods.GetDpi(Handle)); } /// @@ -421,21 +427,27 @@ namespace Greenshot.Forms checkbox_picker.Checked = false; listview_destinations.Items.Clear(); - var scaledIconSize = DpiCalculator.ScaleWithDpi(coreConfiguration.IconSize, NativeDpiMethods.GetDpi(Handle)); listview_destinations.ListViewItemSorter = new ListviewWithDestinationComparer(); + + listview_hiddenDestinations.Items.Clear(); + listview_hiddenDestinations.ListViewItemSorter = new ListviewWithDestinationComparer(); + ImageList imageList = new ImageList { - ImageSize = scaledIconSize + ImageSize = _scaledIconSize }; + listview_destinations.SmallImageList = imageList; - int imageNr = -1; + listview_hiddenDestinations.SmallImageList = imageList; + + int currentImageIndex = -1; foreach (IDestination currentDestination in DestinationHelper.GetAllDestinations()) { Image destinationImage = currentDestination.DisplayIcon; if (destinationImage != null) { imageList.Images.Add(currentDestination.DisplayIcon); - imageNr++; + currentImageIndex++; } if (nameof(WellKnownDestinations.Picker).Equals(currentDestination.Designation)) @@ -445,18 +457,12 @@ namespace Greenshot.Forms } else { - ListViewItem item; - if (destinationImage != null) - { - item = listview_destinations.Items.Add(currentDestination.Description, imageNr); - } - else - { - item = listview_destinations.Items.Add(currentDestination.Description); - } - - item.Tag = currentDestination; - item.Checked = coreConfiguration.OutputDestinations.Contains(currentDestination.Designation); + bool isSelected = coreConfiguration.OutputDestinations.Contains(currentDestination.Designation); + bool isHidden = coreConfiguration.HiddenDestinations.Contains(currentDestination.Designation); + int? imageIndex = destinationImage != null ? currentImageIndex : null; + + listview_destinations.Items.Add(CreateDestinationListViewItem(currentDestination, isSelected, imageIndex)); + listview_hiddenDestinations.Items.Add(CreateDestinationListViewItem(currentDestination, isHidden, imageIndex)); } } @@ -474,6 +480,17 @@ namespace Greenshot.Forms listview_destinations.Enabled = destinationsEnabled; } + private ListViewItem CreateDestinationListViewItem(IDestination destination, bool isChecked, int? imageIndex = null) + { + var listViewItem = new ListViewItem(destination.Description, imageIndex ?? -1) + { + Tag = destination, + Checked = isChecked + }; + + return listViewItem; + } + private void DisplaySettings() { colorButton_window_background.SelectedColor = coreConfiguration.DWMBackgroundColor; @@ -585,7 +602,20 @@ namespace Greenshot.Forms } } + List hiddenDestinations = new List(); + + foreach (int index in listview_hiddenDestinations.CheckedIndices) + { + ListViewItem item = listview_hiddenDestinations.Items[index]; + + if (item.Checked && item.Tag is IDestination hiddenDestinationFromTag) + { + hiddenDestinations.Add(hiddenDestinationFromTag.Designation); + } + } + coreConfiguration.OutputDestinations = destinations; + coreConfiguration.HiddenDestinations = hiddenDestinations; coreConfiguration.CaptureDelay = (int) numericUpDownWaitTime.Value; coreConfiguration.DWMBackgroundColor = colorButton_window_background.SelectedColor; coreConfiguration.UpdateCheckInterval = (int) numericUpDown_daysbetweencheck.Value;