From 225b7fe3a7ec4c9fc116898175739f90e7351219 Mon Sep 17 00:00:00 2001 From: Jaex Date: Sat, 27 Feb 2016 08:37:11 +0200 Subject: [PATCH] Recent max count changes to fix loading incorrect amount of recent items in main window --- ShareX.HelpersLib/Automate/AutomateForm.resx | 2 +- ShareX.HelpersLib/Colors/ColorPickerForm.resx | 2 +- .../Colors/GradientPickerForm.resx | 2 +- ShareX.HelpersLib/DNS/DNSChangerForm.resx | 2 +- .../Forms/ClipboardContentViewer.resx | 2 +- ShareX.HelpersLib/Forms/DebugForm.resx | 2 +- ShareX.HelpersLib/Forms/ErrorForm.resx | 2 +- ShareX.HelpersLib/Forms/HashCheckForm.resx | 2 +- ShareX.HelpersLib/Forms/InputBox.resx | 2 +- ShareX.HelpersLib/Forms/MonitorTestForm.resx | 2 +- ShareX.HelpersLib/Forms/QRCodeForm.resx | 2 +- ShareX.HelpersLib/Printer/PrintForm.resx | 2 +- ShareX.HelpersLib/Printer/PrintTextForm.resx | 2 +- .../UpdateChecker/DownloaderForm.resx | 2 +- ShareX.HistoryLib/HistoryForm.resx | 2 +- ShareX.HistoryLib/HistoryItemInfoForm.resx | 2 +- ShareX.HistoryLib/ImageHistoryForm.resx | 2 +- ShareX.ImageEffectsLib/ImageEffectsForm.resx | 2 +- .../Forms/VideoThumbnailerForm.resx | 2 +- .../Forms/ScrollingCaptureForm.resx | 2 +- .../Screencast/FFmpegOptionsForm.resx | 2 +- .../FTPClient/FTPClientForm.resx | 2 +- ShareX.UploadersLib/FileUploaders/Pomf.cs | 2 +- .../Forms/DropboxFilesForm.resx | 2 +- ShareX.UploadersLib/Forms/EmailForm.resx | 2 +- ShareX.UploadersLib/Forms/JiraUpload.resx | 2 +- ShareX.UploadersLib/Forms/OAuthWebForm.resx | 2 +- ShareX.UploadersLib/Forms/ResponseForm.resx | 2 +- .../Forms/TwitterTweetForm.resx | 2 +- ShareX.UploadersLib/Forms/UserPassBox.resx | 2 +- ShareX/Forms/AboutForm.resx | 2 +- ShareX/Forms/ActionsForm.resx | 2 +- ShareX/Forms/AfterUploadForm.resx | 2 +- .../Forms/ApplicationSettingsForm.Designer.cs | 200 +++++++++--------- ShareX/Forms/ApplicationSettingsForm.resx | 2 +- ShareX/Forms/AutoCaptureForm.resx | 2 +- ShareX/Forms/BeforeUploadForm.resx | 2 +- ShareX/Forms/ChromeForm.resx | 2 +- ShareX/Forms/ClipboardFormatForm.resx | 2 +- ShareX/Forms/EncoderProgramForm.resx | 2 +- ShareX/Forms/FileExistForm.resx | 2 +- ShareX/Forms/HotkeySettingsForm.resx | 2 +- ShareX/Forms/ImageCombinerForm.resx | 2 +- ShareX/Forms/MainForm.cs | 1 + ShareX/Forms/QuickTaskInfoEditForm.resx | 2 +- ShareX/Forms/QuickTaskMenuEditorForm.resx | 2 +- ShareX/Forms/ScreenRecordForm.resx | 2 +- ShareX/Forms/TaskSettingsForm.resx | 2 +- ShareX/Forms/VideoEncodersForm.resx | 2 +- ShareX/Forms/WatchFolderForm.resx | 2 +- ShareX/Forms/WebpageCaptureForm.resx | 2 +- ShareX/RecentTaskManager.cs | 3 +- 52 files changed, 157 insertions(+), 145 deletions(-) diff --git a/ShareX.HelpersLib/Automate/AutomateForm.resx b/ShareX.HelpersLib/Automate/AutomateForm.resx index 02790afe6..f68aab06e 100644 --- a/ShareX.HelpersLib/Automate/AutomateForm.resx +++ b/ShareX.HelpersLib/Automate/AutomateForm.resx @@ -604,6 +604,6 @@ AutomateForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.HelpersLib/Colors/ColorPickerForm.resx b/ShareX.HelpersLib/Colors/ColorPickerForm.resx index 9854b945b..016a5115f 100644 --- a/ShareX.HelpersLib/Colors/ColorPickerForm.resx +++ b/ShareX.HelpersLib/Colors/ColorPickerForm.resx @@ -1237,6 +1237,6 @@ ColorPickerForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.HelpersLib/Colors/GradientPickerForm.resx b/ShareX.HelpersLib/Colors/GradientPickerForm.resx index 19f65f5d5..dd5a3fee2 100644 --- a/ShareX.HelpersLib/Colors/GradientPickerForm.resx +++ b/ShareX.HelpersLib/Colors/GradientPickerForm.resx @@ -439,6 +439,6 @@ GradientPickerForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.HelpersLib/DNS/DNSChangerForm.resx b/ShareX.HelpersLib/DNS/DNSChangerForm.resx index ad50d2c15..615f35cb8 100644 --- a/ShareX.HelpersLib/DNS/DNSChangerForm.resx +++ b/ShareX.HelpersLib/DNS/DNSChangerForm.resx @@ -454,6 +454,6 @@ DNSChangerForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.HelpersLib/Forms/ClipboardContentViewer.resx b/ShareX.HelpersLib/Forms/ClipboardContentViewer.resx index 37889d3ae..20c95ab7b 100644 --- a/ShareX.HelpersLib/Forms/ClipboardContentViewer.resx +++ b/ShareX.HelpersLib/Forms/ClipboardContentViewer.resx @@ -337,6 +337,6 @@ ClipboardContentViewer - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.HelpersLib/Forms/DebugForm.resx b/ShareX.HelpersLib/Forms/DebugForm.resx index 59b937bfa..79d9121a4 100644 --- a/ShareX.HelpersLib/Forms/DebugForm.resx +++ b/ShareX.HelpersLib/Forms/DebugForm.resx @@ -340,6 +340,6 @@ DebugForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.HelpersLib/Forms/ErrorForm.resx b/ShareX.HelpersLib/Forms/ErrorForm.resx index 675722bd1..65e3a79c5 100644 --- a/ShareX.HelpersLib/Forms/ErrorForm.resx +++ b/ShareX.HelpersLib/Forms/ErrorForm.resx @@ -356,6 +356,6 @@ Error 2 ErrorForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.HelpersLib/Forms/HashCheckForm.resx b/ShareX.HelpersLib/Forms/HashCheckForm.resx index 1cd26a461..7b9ba7de1 100644 --- a/ShareX.HelpersLib/Forms/HashCheckForm.resx +++ b/ShareX.HelpersLib/Forms/HashCheckForm.resx @@ -976,6 +976,6 @@ HashCheckForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.HelpersLib/Forms/InputBox.resx b/ShareX.HelpersLib/Forms/InputBox.resx index 996a52af9..6dd58f6b4 100644 --- a/ShareX.HelpersLib/Forms/InputBox.resx +++ b/ShareX.HelpersLib/Forms/InputBox.resx @@ -223,6 +223,6 @@ InputBox - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.HelpersLib/Forms/MonitorTestForm.resx b/ShareX.HelpersLib/Forms/MonitorTestForm.resx index 3c068b9bd..9ca2b1229 100644 --- a/ShareX.HelpersLib/Forms/MonitorTestForm.resx +++ b/ShareX.HelpersLib/Forms/MonitorTestForm.resx @@ -897,6 +897,6 @@ MonitorTestForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.HelpersLib/Forms/QRCodeForm.resx b/ShareX.HelpersLib/Forms/QRCodeForm.resx index 91495398a..82e0312f0 100644 --- a/ShareX.HelpersLib/Forms/QRCodeForm.resx +++ b/ShareX.HelpersLib/Forms/QRCodeForm.resx @@ -238,6 +238,6 @@ QRCodeForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.HelpersLib/Printer/PrintForm.resx b/ShareX.HelpersLib/Printer/PrintForm.resx index 6ec944a6e..c1d099a2c 100644 --- a/ShareX.HelpersLib/Printer/PrintForm.resx +++ b/ShareX.HelpersLib/Printer/PrintForm.resx @@ -370,6 +370,6 @@ PrintForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.HelpersLib/Printer/PrintTextForm.resx b/ShareX.HelpersLib/Printer/PrintTextForm.resx index 4541ab691..4e2512c8e 100644 --- a/ShareX.HelpersLib/Printer/PrintTextForm.resx +++ b/ShareX.HelpersLib/Printer/PrintTextForm.resx @@ -258,6 +258,6 @@ PrintTextForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.HelpersLib/UpdateChecker/DownloaderForm.resx b/ShareX.HelpersLib/UpdateChecker/DownloaderForm.resx index 437cf3d86..84b7d151e 100644 --- a/ShareX.HelpersLib/UpdateChecker/DownloaderForm.resx +++ b/ShareX.HelpersLib/UpdateChecker/DownloaderForm.resx @@ -349,6 +349,6 @@ DownloaderForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.HistoryLib/HistoryForm.resx b/ShareX.HistoryLib/HistoryForm.resx index 1553b528c..3d26c8333 100644 --- a/ShareX.HistoryLib/HistoryForm.resx +++ b/ShareX.HistoryLib/HistoryForm.resx @@ -724,6 +724,6 @@ HistoryForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.HistoryLib/HistoryItemInfoForm.resx b/ShareX.HistoryLib/HistoryItemInfoForm.resx index 3d2459d03..30efe840a 100644 --- a/ShareX.HistoryLib/HistoryItemInfoForm.resx +++ b/ShareX.HistoryLib/HistoryItemInfoForm.resx @@ -163,6 +163,6 @@ HistoryItemInfoForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.HistoryLib/ImageHistoryForm.resx b/ShareX.HistoryLib/ImageHistoryForm.resx index 5286e4f45..7eff5d4d1 100644 --- a/ShareX.HistoryLib/ImageHistoryForm.resx +++ b/ShareX.HistoryLib/ImageHistoryForm.resx @@ -412,6 +412,6 @@ ImageHistoryForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.ImageEffectsLib/ImageEffectsForm.resx b/ShareX.ImageEffectsLib/ImageEffectsForm.resx index 79976a00f..5892b598a 100644 --- a/ShareX.ImageEffectsLib/ImageEffectsForm.resx +++ b/ShareX.ImageEffectsLib/ImageEffectsForm.resx @@ -526,6 +526,6 @@ ImageEffectsForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.MediaLib/Forms/VideoThumbnailerForm.resx b/ShareX.MediaLib/Forms/VideoThumbnailerForm.resx index 0d8d855dd..d2be111ae 100644 --- a/ShareX.MediaLib/Forms/VideoThumbnailerForm.resx +++ b/ShareX.MediaLib/Forms/VideoThumbnailerForm.resx @@ -253,6 +253,6 @@ VideoThumbnailerForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.ScreenCaptureLib/Forms/ScrollingCaptureForm.resx b/ShareX.ScreenCaptureLib/Forms/ScrollingCaptureForm.resx index 2beb84632..d4d41ca5e 100644 --- a/ShareX.ScreenCaptureLib/Forms/ScrollingCaptureForm.resx +++ b/ShareX.ScreenCaptureLib/Forms/ScrollingCaptureForm.resx @@ -2182,6 +2182,6 @@ ScrollingCaptureForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.ScreenCaptureLib/Screencast/FFmpegOptionsForm.resx b/ShareX.ScreenCaptureLib/Screencast/FFmpegOptionsForm.resx index f3a57c8fa..51bfe81a4 100644 --- a/ShareX.ScreenCaptureLib/Screencast/FFmpegOptionsForm.resx +++ b/ShareX.ScreenCaptureLib/Screencast/FFmpegOptionsForm.resx @@ -1925,6 +1925,6 @@ Otherwise it can't keep up with recording and a lot of frame drops will happen.< FFmpegOptionsForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.UploadersLib/FTPClient/FTPClientForm.resx b/ShareX.UploadersLib/FTPClient/FTPClientForm.resx index 8dc23b041..89a4a5281 100644 --- a/ShareX.UploadersLib/FTPClient/FTPClientForm.resx +++ b/ShareX.UploadersLib/FTPClient/FTPClientForm.resx @@ -919,6 +919,6 @@ FTPClientForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.UploadersLib/FileUploaders/Pomf.cs b/ShareX.UploadersLib/FileUploaders/Pomf.cs index fc1c1097f..61452d79a 100644 --- a/ShareX.UploadersLib/FileUploaders/Pomf.cs +++ b/ShareX.UploadersLib/FileUploaders/Pomf.cs @@ -174,4 +174,4 @@ public override string ToString() } } } -} +} \ No newline at end of file diff --git a/ShareX.UploadersLib/Forms/DropboxFilesForm.resx b/ShareX.UploadersLib/Forms/DropboxFilesForm.resx index a30775c7b..0bb14fa03 100644 --- a/ShareX.UploadersLib/Forms/DropboxFilesForm.resx +++ b/ShareX.UploadersLib/Forms/DropboxFilesForm.resx @@ -343,6 +343,6 @@ DropboxFilesForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.UploadersLib/Forms/EmailForm.resx b/ShareX.UploadersLib/Forms/EmailForm.resx index ee749c00b..c2b82a614 100644 --- a/ShareX.UploadersLib/Forms/EmailForm.resx +++ b/ShareX.UploadersLib/Forms/EmailForm.resx @@ -346,6 +346,6 @@ EmailForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.UploadersLib/Forms/JiraUpload.resx b/ShareX.UploadersLib/Forms/JiraUpload.resx index c309ab34e..086f2ebcb 100644 --- a/ShareX.UploadersLib/Forms/JiraUpload.resx +++ b/ShareX.UploadersLib/Forms/JiraUpload.resx @@ -301,6 +301,6 @@ JiraUpload - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.UploadersLib/Forms/OAuthWebForm.resx b/ShareX.UploadersLib/Forms/OAuthWebForm.resx index 9e37b43ad..2c9d7b439 100644 --- a/ShareX.UploadersLib/Forms/OAuthWebForm.resx +++ b/ShareX.UploadersLib/Forms/OAuthWebForm.resx @@ -304,6 +304,6 @@ OAuthWebForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.UploadersLib/Forms/ResponseForm.resx b/ShareX.UploadersLib/Forms/ResponseForm.resx index 4cfa7d2c6..df93707ab 100644 --- a/ShareX.UploadersLib/Forms/ResponseForm.resx +++ b/ShareX.UploadersLib/Forms/ResponseForm.resx @@ -277,6 +277,6 @@ ResponseForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.UploadersLib/Forms/TwitterTweetForm.resx b/ShareX.UploadersLib/Forms/TwitterTweetForm.resx index 6400722c6..9763dc86d 100644 --- a/ShareX.UploadersLib/Forms/TwitterTweetForm.resx +++ b/ShareX.UploadersLib/Forms/TwitterTweetForm.resx @@ -244,6 +244,6 @@ TwitterTweetForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX.UploadersLib/Forms/UserPassBox.resx b/ShareX.UploadersLib/Forms/UserPassBox.resx index 71b93a7ab..54de0e33b 100644 --- a/ShareX.UploadersLib/Forms/UserPassBox.resx +++ b/ShareX.UploadersLib/Forms/UserPassBox.resx @@ -385,6 +385,6 @@ UserPassBox - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/AboutForm.resx b/ShareX/Forms/AboutForm.resx index 41c24db66..26ebb9d8c 100644 --- a/ShareX/Forms/AboutForm.resx +++ b/ShareX/Forms/AboutForm.resx @@ -523,6 +523,6 @@ AboutForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/ActionsForm.resx b/ShareX/Forms/ActionsForm.resx index 032f7e9f2..e34615f12 100644 --- a/ShareX/Forms/ActionsForm.resx +++ b/ShareX/Forms/ActionsForm.resx @@ -505,6 +505,6 @@ ActionsForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/AfterUploadForm.resx b/ShareX/Forms/AfterUploadForm.resx index d5e85ec0c..1b4483ef6 100644 --- a/ShareX/Forms/AfterUploadForm.resx +++ b/ShareX/Forms/AfterUploadForm.resx @@ -415,6 +415,6 @@ AfterUploadForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/ApplicationSettingsForm.Designer.cs b/ShareX/Forms/ApplicationSettingsForm.Designer.cs index 21f0143b4..c201cc161 100644 --- a/ShareX/Forms/ApplicationSettingsForm.Designer.cs +++ b/ShareX/Forms/ApplicationSettingsForm.Designer.cs @@ -74,17 +74,6 @@ private void InitializeComponent() this.pbExportImport = new System.Windows.Forms.ProgressBar(); this.btnExport = new System.Windows.Forms.Button(); this.btnImport = new System.Windows.Forms.Button(); - this.tpProxy = new System.Windows.Forms.TabPage(); - this.cbProxyMethod = new System.Windows.Forms.ComboBox(); - this.lblProxyMethod = new System.Windows.Forms.Label(); - this.lblProxyHost = new System.Windows.Forms.Label(); - this.txtProxyHost = new System.Windows.Forms.TextBox(); - this.nudProxyPort = new System.Windows.Forms.NumericUpDown(); - this.lblProxyPort = new System.Windows.Forms.Label(); - this.lblProxyPassword = new System.Windows.Forms.Label(); - this.txtProxyPassword = new System.Windows.Forms.TextBox(); - this.lblProxyUsername = new System.Windows.Forms.Label(); - this.txtProxyUsername = new System.Windows.Forms.TextBox(); this.tpUpload = new System.Windows.Forms.TabPage(); this.tcUpload = new System.Windows.Forms.TabControl(); this.tpPerformance = new System.Windows.Forms.TabPage(); @@ -130,6 +119,17 @@ private void InitializeComponent() this.cbPrintDontShowWindowsDialog = new System.Windows.Forms.CheckBox(); this.cbDontShowPrintSettingDialog = new System.Windows.Forms.CheckBox(); this.btnShowImagePrintSettings = new System.Windows.Forms.Button(); + this.tpProxy = new System.Windows.Forms.TabPage(); + this.cbProxyMethod = new System.Windows.Forms.ComboBox(); + this.lblProxyMethod = new System.Windows.Forms.Label(); + this.lblProxyHost = new System.Windows.Forms.Label(); + this.txtProxyHost = new System.Windows.Forms.TextBox(); + this.nudProxyPort = new System.Windows.Forms.NumericUpDown(); + this.lblProxyPort = new System.Windows.Forms.Label(); + this.lblProxyPassword = new System.Windows.Forms.Label(); + this.txtProxyPassword = new System.Windows.Forms.TextBox(); + this.lblProxyUsername = new System.Windows.Forms.Label(); + this.txtProxyUsername = new System.Windows.Forms.TextBox(); this.tpAdvanced = new System.Windows.Forms.TabPage(); this.pgSettings = new System.Windows.Forms.PropertyGrid(); this.tttvMain = new ShareX.HelpersLib.TabToTreeView(); @@ -141,8 +141,6 @@ private void InitializeComponent() this.gbWindows.SuspendLayout(); this.tpPaths.SuspendLayout(); this.tpExportImport.SuspendLayout(); - this.tpProxy.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudProxyPort)).BeginInit(); this.tpUpload.SuspendLayout(); this.tcUpload.SuspendLayout(); this.tpPerformance.SuspendLayout(); @@ -160,6 +158,8 @@ private void InitializeComponent() this.gbRecentLinks.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.nudRecentTasksMaxCount)).BeginInit(); this.tpPrint.SuspendLayout(); + this.tpProxy.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.nudProxyPort)).BeginInit(); this.tpAdvanced.SuspendLayout(); this.SuspendLayout(); // @@ -485,85 +485,6 @@ private void InitializeComponent() this.btnImport.UseVisualStyleBackColor = true; this.btnImport.Click += new System.EventHandler(this.btnImport_Click); // - // tpProxy - // - this.tpProxy.Controls.Add(this.cbProxyMethod); - this.tpProxy.Controls.Add(this.lblProxyMethod); - this.tpProxy.Controls.Add(this.lblProxyHost); - this.tpProxy.Controls.Add(this.txtProxyHost); - this.tpProxy.Controls.Add(this.nudProxyPort); - this.tpProxy.Controls.Add(this.lblProxyPort); - this.tpProxy.Controls.Add(this.lblProxyPassword); - this.tpProxy.Controls.Add(this.txtProxyPassword); - this.tpProxy.Controls.Add(this.lblProxyUsername); - this.tpProxy.Controls.Add(this.txtProxyUsername); - resources.ApplyResources(this.tpProxy, "tpProxy"); - this.tpProxy.Name = "tpProxy"; - this.tpProxy.UseVisualStyleBackColor = true; - // - // cbProxyMethod - // - this.cbProxyMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cbProxyMethod.FormattingEnabled = true; - resources.ApplyResources(this.cbProxyMethod, "cbProxyMethod"); - this.cbProxyMethod.Name = "cbProxyMethod"; - this.cbProxyMethod.SelectedIndexChanged += new System.EventHandler(this.cbProxyMethod_SelectedIndexChanged); - // - // lblProxyMethod - // - resources.ApplyResources(this.lblProxyMethod, "lblProxyMethod"); - this.lblProxyMethod.Name = "lblProxyMethod"; - // - // lblProxyHost - // - resources.ApplyResources(this.lblProxyHost, "lblProxyHost"); - this.lblProxyHost.Name = "lblProxyHost"; - // - // txtProxyHost - // - resources.ApplyResources(this.txtProxyHost, "txtProxyHost"); - this.txtProxyHost.Name = "txtProxyHost"; - this.txtProxyHost.TextChanged += new System.EventHandler(this.txtProxyHost_TextChanged); - // - // nudProxyPort - // - resources.ApplyResources(this.nudProxyPort, "nudProxyPort"); - this.nudProxyPort.Maximum = new decimal(new int[] { - 65535, - 0, - 0, - 0}); - this.nudProxyPort.Name = "nudProxyPort"; - this.nudProxyPort.ValueChanged += new System.EventHandler(this.nudProxyPort_ValueChanged); - // - // lblProxyPort - // - resources.ApplyResources(this.lblProxyPort, "lblProxyPort"); - this.lblProxyPort.Name = "lblProxyPort"; - // - // lblProxyPassword - // - resources.ApplyResources(this.lblProxyPassword, "lblProxyPassword"); - this.lblProxyPassword.Name = "lblProxyPassword"; - // - // txtProxyPassword - // - resources.ApplyResources(this.txtProxyPassword, "txtProxyPassword"); - this.txtProxyPassword.Name = "txtProxyPassword"; - this.txtProxyPassword.UseSystemPasswordChar = true; - this.txtProxyPassword.TextChanged += new System.EventHandler(this.txtProxyPassword_TextChanged); - // - // lblProxyUsername - // - resources.ApplyResources(this.lblProxyUsername, "lblProxyUsername"); - this.lblProxyUsername.Name = "lblProxyUsername"; - // - // txtProxyUsername - // - resources.ApplyResources(this.txtProxyUsername, "txtProxyUsername"); - this.txtProxyUsername.Name = "txtProxyUsername"; - this.txtProxyUsername.TextChanged += new System.EventHandler(this.txtProxyUsername_TextChanged); - // // tpUpload // this.tpUpload.Controls.Add(this.tcUpload); @@ -860,7 +781,17 @@ private void InitializeComponent() // nudRecentTasksMaxCount // resources.ApplyResources(this.nudRecentTasksMaxCount, "nudRecentTasksMaxCount"); + this.nudRecentTasksMaxCount.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); this.nudRecentTasksMaxCount.Name = "nudRecentTasksMaxCount"; + this.nudRecentTasksMaxCount.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); this.nudRecentTasksMaxCount.ValueChanged += new System.EventHandler(this.nudRecentTasksMaxCount_ValueChanged); // // cbRecentTasksShowInTrayMenu @@ -914,6 +845,85 @@ private void InitializeComponent() this.btnShowImagePrintSettings.UseVisualStyleBackColor = true; this.btnShowImagePrintSettings.Click += new System.EventHandler(this.btnShowImagePrintSettings_Click); // + // tpProxy + // + this.tpProxy.Controls.Add(this.cbProxyMethod); + this.tpProxy.Controls.Add(this.lblProxyMethod); + this.tpProxy.Controls.Add(this.lblProxyHost); + this.tpProxy.Controls.Add(this.txtProxyHost); + this.tpProxy.Controls.Add(this.nudProxyPort); + this.tpProxy.Controls.Add(this.lblProxyPort); + this.tpProxy.Controls.Add(this.lblProxyPassword); + this.tpProxy.Controls.Add(this.txtProxyPassword); + this.tpProxy.Controls.Add(this.lblProxyUsername); + this.tpProxy.Controls.Add(this.txtProxyUsername); + resources.ApplyResources(this.tpProxy, "tpProxy"); + this.tpProxy.Name = "tpProxy"; + this.tpProxy.UseVisualStyleBackColor = true; + // + // cbProxyMethod + // + this.cbProxyMethod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cbProxyMethod.FormattingEnabled = true; + resources.ApplyResources(this.cbProxyMethod, "cbProxyMethod"); + this.cbProxyMethod.Name = "cbProxyMethod"; + this.cbProxyMethod.SelectedIndexChanged += new System.EventHandler(this.cbProxyMethod_SelectedIndexChanged); + // + // lblProxyMethod + // + resources.ApplyResources(this.lblProxyMethod, "lblProxyMethod"); + this.lblProxyMethod.Name = "lblProxyMethod"; + // + // lblProxyHost + // + resources.ApplyResources(this.lblProxyHost, "lblProxyHost"); + this.lblProxyHost.Name = "lblProxyHost"; + // + // txtProxyHost + // + resources.ApplyResources(this.txtProxyHost, "txtProxyHost"); + this.txtProxyHost.Name = "txtProxyHost"; + this.txtProxyHost.TextChanged += new System.EventHandler(this.txtProxyHost_TextChanged); + // + // nudProxyPort + // + resources.ApplyResources(this.nudProxyPort, "nudProxyPort"); + this.nudProxyPort.Maximum = new decimal(new int[] { + 65535, + 0, + 0, + 0}); + this.nudProxyPort.Name = "nudProxyPort"; + this.nudProxyPort.ValueChanged += new System.EventHandler(this.nudProxyPort_ValueChanged); + // + // lblProxyPort + // + resources.ApplyResources(this.lblProxyPort, "lblProxyPort"); + this.lblProxyPort.Name = "lblProxyPort"; + // + // lblProxyPassword + // + resources.ApplyResources(this.lblProxyPassword, "lblProxyPassword"); + this.lblProxyPassword.Name = "lblProxyPassword"; + // + // txtProxyPassword + // + resources.ApplyResources(this.txtProxyPassword, "txtProxyPassword"); + this.txtProxyPassword.Name = "txtProxyPassword"; + this.txtProxyPassword.UseSystemPasswordChar = true; + this.txtProxyPassword.TextChanged += new System.EventHandler(this.txtProxyPassword_TextChanged); + // + // lblProxyUsername + // + resources.ApplyResources(this.lblProxyUsername, "lblProxyUsername"); + this.lblProxyUsername.Name = "lblProxyUsername"; + // + // txtProxyUsername + // + resources.ApplyResources(this.txtProxyUsername, "txtProxyUsername"); + this.txtProxyUsername.Name = "txtProxyUsername"; + this.txtProxyUsername.TextChanged += new System.EventHandler(this.txtProxyUsername_TextChanged); + // // tpAdvanced // this.tpAdvanced.Controls.Add(this.pgSettings); @@ -963,9 +973,6 @@ private void InitializeComponent() this.tpPaths.PerformLayout(); this.tpExportImport.ResumeLayout(false); this.tpExportImport.PerformLayout(); - this.tpProxy.ResumeLayout(false); - this.tpProxy.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.nudProxyPort)).EndInit(); this.tpUpload.ResumeLayout(false); this.tcUpload.ResumeLayout(false); this.tpPerformance.ResumeLayout(false); @@ -988,6 +995,9 @@ private void InitializeComponent() ((System.ComponentModel.ISupportInitialize)(this.nudRecentTasksMaxCount)).EndInit(); this.tpPrint.ResumeLayout(false); this.tpPrint.PerformLayout(); + this.tpProxy.ResumeLayout(false); + this.tpProxy.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.nudProxyPort)).EndInit(); this.tpAdvanced.ResumeLayout(false); this.ResumeLayout(false); diff --git a/ShareX/Forms/ApplicationSettingsForm.resx b/ShareX/Forms/ApplicationSettingsForm.resx index 085f9f2e6..bed06e03d 100644 --- a/ShareX/Forms/ApplicationSettingsForm.resx +++ b/ShareX/Forms/ApplicationSettingsForm.resx @@ -2803,6 +2803,6 @@ ApplicationSettingsForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/AutoCaptureForm.resx b/ShareX/Forms/AutoCaptureForm.resx index 6747ab729..c907d65af 100644 --- a/ShareX/Forms/AutoCaptureForm.resx +++ b/ShareX/Forms/AutoCaptureForm.resx @@ -484,6 +484,6 @@ AutoCaptureForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/BeforeUploadForm.resx b/ShareX/Forms/BeforeUploadForm.resx index 270ce925f..53d74f702 100644 --- a/ShareX/Forms/BeforeUploadForm.resx +++ b/ShareX/Forms/BeforeUploadForm.resx @@ -286,6 +286,6 @@ BeforeUploadForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/ChromeForm.resx b/ShareX/Forms/ChromeForm.resx index e8bf3bc63..0129ad806 100644 --- a/ShareX/Forms/ChromeForm.resx +++ b/ShareX/Forms/ChromeForm.resx @@ -319,6 +319,6 @@ ChromeForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/ClipboardFormatForm.resx b/ShareX/Forms/ClipboardFormatForm.resx index 120dc3965..fa18c850f 100644 --- a/ShareX/Forms/ClipboardFormatForm.resx +++ b/ShareX/Forms/ClipboardFormatForm.resx @@ -304,6 +304,6 @@ ClipboardFormatForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/EncoderProgramForm.resx b/ShareX/Forms/EncoderProgramForm.resx index 6c87c418c..45c4eea2a 100644 --- a/ShareX/Forms/EncoderProgramForm.resx +++ b/ShareX/Forms/EncoderProgramForm.resx @@ -403,6 +403,6 @@ EncoderProgramForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/FileExistForm.resx b/ShareX/Forms/FileExistForm.resx index c268b0014..dc17f66bc 100644 --- a/ShareX/Forms/FileExistForm.resx +++ b/ShareX/Forms/FileExistForm.resx @@ -323,6 +323,6 @@ Select new file name or action: FileExistForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/HotkeySettingsForm.resx b/ShareX/Forms/HotkeySettingsForm.resx index 3cb2c834f..123284dc4 100644 --- a/ShareX/Forms/HotkeySettingsForm.resx +++ b/ShareX/Forms/HotkeySettingsForm.resx @@ -322,6 +322,6 @@ HotkeySettingsForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/ImageCombinerForm.resx b/ShareX/Forms/ImageCombinerForm.resx index fd24e8161..168526764 100644 --- a/ShareX/Forms/ImageCombinerForm.resx +++ b/ShareX/Forms/ImageCombinerForm.resx @@ -439,6 +439,6 @@ ImageCombinerForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/MainForm.cs b/ShareX/Forms/MainForm.cs index 2f272c5ce..e72be16fd 100644 --- a/ShareX/Forms/MainForm.cs +++ b/ShareX/Forms/MainForm.cs @@ -180,6 +180,7 @@ public void UpdateControls() if (Program.Settings.RecentTasksSave) { + TaskManager.RecentManager.MaxCount = Program.Settings.RecentTasksMaxCount; TaskManager.RecentManager.UpdateItems(Program.Settings.RecentTasks); if (Program.Settings.RecentTasksShowInMainWindow && lvUploads.Items.Count == 0) diff --git a/ShareX/Forms/QuickTaskInfoEditForm.resx b/ShareX/Forms/QuickTaskInfoEditForm.resx index 2c584998b..69ef3cb83 100644 --- a/ShareX/Forms/QuickTaskInfoEditForm.resx +++ b/ShareX/Forms/QuickTaskInfoEditForm.resx @@ -337,6 +337,6 @@ QuickTaskInfoEditForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/QuickTaskMenuEditorForm.resx b/ShareX/Forms/QuickTaskMenuEditorForm.resx index 336eee1ed..a2ef624e8 100644 --- a/ShareX/Forms/QuickTaskMenuEditorForm.resx +++ b/ShareX/Forms/QuickTaskMenuEditorForm.resx @@ -340,6 +340,6 @@ QuickTaskMenuEditorForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/ScreenRecordForm.resx b/ShareX/Forms/ScreenRecordForm.resx index 5e9892b8f..eb6f925b2 100644 --- a/ShareX/Forms/ScreenRecordForm.resx +++ b/ShareX/Forms/ScreenRecordForm.resx @@ -316,6 +316,6 @@ ScreenRecordForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/TaskSettingsForm.resx b/ShareX/Forms/TaskSettingsForm.resx index 2166a42fb..a689e0c18 100644 --- a/ShareX/Forms/TaskSettingsForm.resx +++ b/ShareX/Forms/TaskSettingsForm.resx @@ -4474,6 +4474,6 @@ TaskSettingsForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/VideoEncodersForm.resx b/ShareX/Forms/VideoEncodersForm.resx index 77b87f0ee..53b2926cb 100644 --- a/ShareX/Forms/VideoEncodersForm.resx +++ b/ShareX/Forms/VideoEncodersForm.resx @@ -310,6 +310,6 @@ VideoEncodersForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/WatchFolderForm.resx b/ShareX/Forms/WatchFolderForm.resx index cd4021a56..7393a8ac8 100644 --- a/ShareX/Forms/WatchFolderForm.resx +++ b/ShareX/Forms/WatchFolderForm.resx @@ -361,6 +361,6 @@ WatchFolderForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/Forms/WebpageCaptureForm.resx b/ShareX/Forms/WebpageCaptureForm.resx index 60c3e2720..e8c6b3ab2 100644 --- a/ShareX/Forms/WebpageCaptureForm.resx +++ b/ShareX/Forms/WebpageCaptureForm.resx @@ -469,6 +469,6 @@ WebpageCaptureForm - ShareX.HelpersLib.BaseForm, ShareX.HelpersLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/ShareX/RecentTaskManager.cs b/ShareX/RecentTaskManager.cs index 5bcfd1444..7c560275f 100644 --- a/ShareX/RecentTaskManager.cs +++ b/ShareX/RecentTaskManager.cs @@ -27,6 +27,7 @@ using ShareX.Properties; using System; using System.Collections.Generic; +using System.Linq; using System.Windows.Forms; namespace ShareX @@ -106,7 +107,7 @@ public void UpdateItems(RecentTask[] tasks) { lock (itemsLock) { - Tasks = new Queue(tasks); + Tasks = new Queue(tasks.Take(MaxCount)); UpdateRecentMenu(); }