diff --git a/Greenshot/Controls/BindableToolStripDropDownButton.cs b/Greenshot/Controls/BindableToolStripDropDownButton.cs index 62339da13..35c8579c3 100644 --- a/Greenshot/Controls/BindableToolStripDropDownButton.cs +++ b/Greenshot/Controls/BindableToolStripDropDownButton.cs @@ -18,7 +18,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; using System.ComponentModel; using System.Windows.Forms; using GreenshotPlugin.Controls; diff --git a/Greenshot/Controls/MenuStripEx.cs b/Greenshot/Controls/MenuStripEx.cs index c9b7731ce..7a50aab89 100644 --- a/Greenshot/Controls/MenuStripEx.cs +++ b/Greenshot/Controls/MenuStripEx.cs @@ -19,11 +19,7 @@ * along with this program. If not, see . */ using System; -using System.Collections.Generic; -using System.Text; using System.Windows.Forms; -using GreenshotPlugin.Controls; -using System.ComponentModel; namespace Greenshot.Controls { /// diff --git a/Greenshot/Controls/NonJumpingPanel.cs b/Greenshot/Controls/NonJumpingPanel.cs index 3f62900d5..36abea573 100644 --- a/Greenshot/Controls/NonJumpingPanel.cs +++ b/Greenshot/Controls/NonJumpingPanel.cs @@ -18,17 +18,16 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; /// /// See: http://nickstips.wordpress.com/2010/03/03/c-panel-resets-scroll-position-after-focus-is-lost-and-regained/ /// namespace GreenshotPlugin.Controls { public class NonJumpingPanel : System.Windows.Forms.Panel { - protected override System.Drawing.Point ScrollToControl(System.Windows.Forms.Control activeControl) { - // Returning the current location prevents the panel from - // scrolling to the active control when the panel loses and regains focus - return this.DisplayRectangle.Location; - } + protected override System.Drawing.Point ScrollToControl(System.Windows.Forms.Control activeControl) { + // Returning the current location prevents the panel from + // scrolling to the active control when the panel loses and regains focus + return this.DisplayRectangle.Location; + } } } diff --git a/Greenshot/Controls/Pipette.cs b/Greenshot/Controls/Pipette.cs index 98426acc6..dbcffaaa8 100644 --- a/Greenshot/Controls/Pipette.cs +++ b/Greenshot/Controls/Pipette.cs @@ -19,12 +19,9 @@ * along with this program. If not, see . */ using System; -using System.Collections.Generic; -using System.Text; -using System.Windows.Forms; -using Greenshot.Plugin; -using Greenshot.Forms; using System.Drawing; +using System.Windows.Forms; +using Greenshot.Forms; using GreenshotPlugin.UnmanagedHelpers; namespace Greenshot.Controls { diff --git a/Greenshot/Controls/ToolStripEx.cs b/Greenshot/Controls/ToolStripEx.cs index d4cc22c87..faa60cac5 100644 --- a/Greenshot/Controls/ToolStripEx.cs +++ b/Greenshot/Controls/ToolStripEx.cs @@ -19,11 +19,7 @@ * along with this program. If not, see . */ using System; -using System.Collections.Generic; -using System.Text; using System.Windows.Forms; -using System.ComponentModel; -using GreenshotPlugin.Controls; namespace Greenshot.Controls { /// diff --git a/GreenshotConfluencePlugin/Confluence.cs b/GreenshotConfluencePlugin/Confluence.cs index 4dfbc6b54..93eb49e4a 100644 --- a/GreenshotConfluencePlugin/Confluence.cs +++ b/GreenshotConfluencePlugin/Confluence.cs @@ -21,11 +21,10 @@ using System; using System.Collections.Generic; using System.Windows.Forms; - +using Greenshot.IniFile; using GreenshotConfluencePlugin; using GreenshotConfluencePlugin.confluence; using GreenshotPlugin.Core; -using Greenshot.IniFile; /// /// For details see the Confluence API site diff --git a/GreenshotConfluencePlugin/ConfluenceConfiguration.cs b/GreenshotConfluencePlugin/ConfluenceConfiguration.cs index 1590ee385..3ca092e52 100644 --- a/GreenshotConfluencePlugin/ConfluenceConfiguration.cs +++ b/GreenshotConfluencePlugin/ConfluenceConfiguration.cs @@ -19,8 +19,8 @@ * along with this program. If not, see . */ using System; -using GreenshotPlugin.Core; using Greenshot.IniFile; +using GreenshotPlugin.Core; namespace GreenshotConfluencePlugin { /// @@ -30,8 +30,8 @@ namespace GreenshotConfluencePlugin { [IniSection("Confluence", Description="Greenshot Confluence Plugin configuration")] public class ConfluenceConfiguration : IniSection { public const string DEFAULT_POSTFIX1 = "/rpc/soap-axis/confluenceservice-v1?wsdl"; - public const string DEFAULT_POSTFIX2 = "/rpc/soap-axis/confluenceservice-v2?wsdl"; - public const string DEFAULT_PREFIX = "http://"; + public const string DEFAULT_POSTFIX2 = "/rpc/soap-axis/confluenceservice-v2?wsdl"; + public const string DEFAULT_PREFIX = "http://"; private const string DEFAULT_URL = DEFAULT_PREFIX + "confluence"; [IniProperty("Url", Description="Url to Confluence system, including wsdl.", DefaultValue=DEFAULT_URL)] @@ -75,10 +75,10 @@ namespace GreenshotConfluencePlugin { get; set; } - [IniProperty("IncludePersonSpaces", Description = "Include personal spaces in the search & browse spaces list", DefaultValue = "False")] - public bool IncludePersonSpaces { - get; - set; - } + [IniProperty("IncludePersonSpaces", Description = "Include personal spaces in the search & browse spaces list", DefaultValue = "False")] + public bool IncludePersonSpaces { + get; + set; + } } } diff --git a/GreenshotConfluencePlugin/ConfluenceDestination.cs b/GreenshotConfluencePlugin/ConfluenceDestination.cs index 07542c656..5f283f9fe 100644 --- a/GreenshotConfluencePlugin/ConfluenceDestination.cs +++ b/GreenshotConfluencePlugin/ConfluenceDestination.cs @@ -25,12 +25,11 @@ using System.Drawing; using System.IO; using System.Threading; using System.Windows; - using Confluence; -using Greenshot.Plugin; -using GreenshotPlugin.Core; using Greenshot.IniFile; +using Greenshot.Plugin; using GreenshotPlugin.Controls; +using GreenshotPlugin.Core; namespace GreenshotConfluencePlugin { /// diff --git a/GreenshotConfluencePlugin/ConfluencePlugin.cs b/GreenshotConfluencePlugin/ConfluencePlugin.cs index f12bc2c9d..a42f765fd 100644 --- a/GreenshotConfluencePlugin/ConfluencePlugin.cs +++ b/GreenshotConfluencePlugin/ConfluencePlugin.cs @@ -20,16 +20,12 @@ */ using System; using System.Collections.Generic; -using System.Diagnostics; -using System.Drawing; -using System.IO; -using System.Windows; using System.Web; - +using System.Windows; using Confluence; +using Greenshot.IniFile; using Greenshot.Plugin; using GreenshotPlugin.Core; -using Greenshot.IniFile; using TranslationByMarkupExtension; namespace GreenshotConfluencePlugin { diff --git a/GreenshotConfluencePlugin/ConfluenceUtils.cs b/GreenshotConfluencePlugin/ConfluenceUtils.cs index 76309bc9f..cbdcb82c3 100644 --- a/GreenshotConfluencePlugin/ConfluenceUtils.cs +++ b/GreenshotConfluencePlugin/ConfluenceUtils.cs @@ -25,7 +25,6 @@ using System.Text.RegularExpressions; using System.Windows.Automation; using GreenshotPlugin.Core; -using Confluence; namespace GreenshotConfluencePlugin { /// diff --git a/GreenshotConfluencePlugin/LanguageKeys.cs b/GreenshotConfluencePlugin/LanguageKeys.cs index 9f033ace8..cecbac086 100644 --- a/GreenshotConfluencePlugin/LanguageKeys.cs +++ b/GreenshotConfluencePlugin/LanguageKeys.cs @@ -18,10 +18,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; namespace GreenshotConfluencePlugin { - public enum LangKey { + public enum LangKey { login_error, login_title, label_url, diff --git a/GreenshotExternalCommandPlugin/ExternalCommandConfiguration.cs b/GreenshotExternalCommandPlugin/ExternalCommandConfiguration.cs index 4825b2467..dfe7051cc 100644 --- a/GreenshotExternalCommandPlugin/ExternalCommandConfiguration.cs +++ b/GreenshotExternalCommandPlugin/ExternalCommandConfiguration.cs @@ -21,9 +21,8 @@ using System; using System.Collections.Generic; using System.IO; - -using GreenshotPlugin.Core; using Greenshot.IniFile; +using GreenshotPlugin.Core; namespace ExternalCommand { /// diff --git a/GreenshotExternalCommandPlugin/ExternalCommandDestination.cs b/GreenshotExternalCommandPlugin/ExternalCommandDestination.cs index a690885e6..45bcd9e8d 100644 --- a/GreenshotExternalCommandPlugin/ExternalCommandDestination.cs +++ b/GreenshotExternalCommandPlugin/ExternalCommandDestination.cs @@ -22,12 +22,10 @@ using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; -using System.IO; using System.Threading; - +using Greenshot.IniFile; using Greenshot.Plugin; using GreenshotPlugin.Core; -using Greenshot.IniFile; namespace ExternalCommand { /// diff --git a/GreenshotExternalCommandPlugin/ExternalCommandForm.cs b/GreenshotExternalCommandPlugin/ExternalCommandForm.cs index a1e26d473..614c0310a 100644 --- a/GreenshotExternalCommandPlugin/ExternalCommandForm.cs +++ b/GreenshotExternalCommandPlugin/ExternalCommandForm.cs @@ -18,7 +18,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; using GreenshotPlugin.Controls; namespace ExternalCommand { diff --git a/GreenshotExternalCommandPlugin/ExternalCommandPlugin.cs b/GreenshotExternalCommandPlugin/ExternalCommandPlugin.cs index c227a13ef..6c9e4dc97 100644 --- a/GreenshotExternalCommandPlugin/ExternalCommandPlugin.cs +++ b/GreenshotExternalCommandPlugin/ExternalCommandPlugin.cs @@ -20,11 +20,10 @@ */ using System; using System.Collections.Generic; -using System.Diagnostics; using System.IO; -using Greenshot.Plugin; -using Greenshot.IniFile; using System.Windows.Forms; +using Greenshot.IniFile; +using Greenshot.Plugin; using GreenshotPlugin.Core; namespace ExternalCommand { diff --git a/GreenshotExternalCommandPlugin/IconCache.cs b/GreenshotExternalCommandPlugin/IconCache.cs index 8a4a51b06..7fb5abef6 100644 --- a/GreenshotExternalCommandPlugin/IconCache.cs +++ b/GreenshotExternalCommandPlugin/IconCache.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Text; using System.Drawing; using System.IO; using Greenshot.IniFile; diff --git a/GreenshotExternalCommandPlugin/SettingsForm.cs b/GreenshotExternalCommandPlugin/SettingsForm.cs index 8b97a75b2..2030f951b 100644 --- a/GreenshotExternalCommandPlugin/SettingsForm.cs +++ b/GreenshotExternalCommandPlugin/SettingsForm.cs @@ -20,11 +20,9 @@ */ using System; using System.Drawing; -using System.IO; using System.Windows.Forms; using Greenshot.IniFile; -using GreenshotPlugin.Core; namespace ExternalCommand { /// diff --git a/GreenshotImgurPlugin/Forms/SettingsForm.resx b/GreenshotImgurPlugin/Forms/SettingsForm.resx deleted file mode 100644 index 5ea0895e3..000000000 --- a/GreenshotImgurPlugin/Forms/SettingsForm.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/GreenshotImgurPlugin/GreenshotImgurPlugin.csproj b/GreenshotImgurPlugin/GreenshotImgurPlugin.csproj index fa6ae6255..5c72f9225 100644 --- a/GreenshotImgurPlugin/GreenshotImgurPlugin.csproj +++ b/GreenshotImgurPlugin/GreenshotImgurPlugin.csproj @@ -53,9 +53,6 @@ - - SettingsForm.cs - Never diff --git a/GreenshotImgurPlugin/ImgurConfiguration.cs b/GreenshotImgurPlugin/ImgurConfiguration.cs index d46728d75..dbbb800f4 100644 --- a/GreenshotImgurPlugin/ImgurConfiguration.cs +++ b/GreenshotImgurPlugin/ImgurConfiguration.cs @@ -18,13 +18,11 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Windows.Forms; - +using Greenshot.IniFile; using GreenshotPlugin.Controls; using GreenshotPlugin.Core; -using Greenshot.IniFile; namespace GreenshotImgurPlugin { /// diff --git a/GreenshotImgurPlugin/ImgurCredentials.cs b/GreenshotImgurPlugin/ImgurCredentials.cs index e4d5f8cad..4f6f5efbd 100644 --- a/GreenshotImgurPlugin/ImgurCredentials.cs +++ b/GreenshotImgurPlugin/ImgurCredentials.cs @@ -18,7 +18,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; namespace GreenshotImgurPlugin { /// diff --git a/GreenshotImgurPlugin/ImgurDestination.cs b/GreenshotImgurPlugin/ImgurDestination.cs index 3212e3bf1..6fc7ea707 100644 --- a/GreenshotImgurPlugin/ImgurDestination.cs +++ b/GreenshotImgurPlugin/ImgurDestination.cs @@ -18,17 +18,11 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; -using System.Collections.Generic; using System.ComponentModel; -using System.Diagnostics; using System.Drawing; -using System.IO; -using System.Windows; - +using Greenshot.IniFile; using Greenshot.Plugin; using GreenshotPlugin.Core; -using Greenshot.IniFile; namespace GreenshotImgurPlugin { /// diff --git a/GreenshotImgurPlugin/ImgurPlugin.cs b/GreenshotImgurPlugin/ImgurPlugin.cs index 409f321c8..cf2977190 100644 --- a/GreenshotImgurPlugin/ImgurPlugin.cs +++ b/GreenshotImgurPlugin/ImgurPlugin.cs @@ -23,13 +23,12 @@ using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.IO; -using System.Windows.Forms; using System.Threading; - +using System.Windows.Forms; +using Greenshot.IniFile; using Greenshot.Plugin; using GreenshotPlugin.Controls; using GreenshotPlugin.Core; -using Greenshot.IniFile; namespace GreenshotImgurPlugin { /// diff --git a/GreenshotImgurPlugin/ImgurUtils.cs b/GreenshotImgurPlugin/ImgurUtils.cs index 23e82dab0..306fb96a4 100644 --- a/GreenshotImgurPlugin/ImgurUtils.cs +++ b/GreenshotImgurPlugin/ImgurUtils.cs @@ -21,15 +21,11 @@ using System; using System.Collections.Generic; using System.Drawing; -using System.Drawing.Drawing2D; using System.IO; using System.Net; -using System.Text; -using System.Web; - -using GreenshotPlugin.Core; using Greenshot.IniFile; using Greenshot.Plugin; +using GreenshotPlugin.Core; namespace GreenshotImgurPlugin { /// diff --git a/GreenshotImgurPlugin/LanguageKeys.cs b/GreenshotImgurPlugin/LanguageKeys.cs index 3367feb8c..34205b2b7 100644 --- a/GreenshotImgurPlugin/LanguageKeys.cs +++ b/GreenshotImgurPlugin/LanguageKeys.cs @@ -18,7 +18,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; namespace GreenshotImgurPlugin { public enum LangKey { diff --git a/GreenshotImmioPlugin/ImmioConfiguration.cs b/GreenshotImmioPlugin/ImmioConfiguration.cs index 210e094bd..7a969c684 100644 --- a/GreenshotImmioPlugin/ImmioConfiguration.cs +++ b/GreenshotImmioPlugin/ImmioConfiguration.cs @@ -18,13 +18,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; -using System.Collections.Generic; using System.Windows.Forms; - +using Greenshot.IniFile; using GreenshotPlugin.Controls; using GreenshotPlugin.Core; -using Greenshot.IniFile; namespace GreenshotImmioPlugin { /// diff --git a/GreenshotImmioPlugin/ImmioDestination.cs b/GreenshotImmioPlugin/ImmioDestination.cs index 548f703bc..978600cf6 100644 --- a/GreenshotImmioPlugin/ImmioDestination.cs +++ b/GreenshotImmioPlugin/ImmioDestination.cs @@ -18,17 +18,11 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; -using System.Collections.Generic; using System.ComponentModel; -using System.Diagnostics; using System.Drawing; -using System.IO; -using System.Windows; - +using Greenshot.IniFile; using Greenshot.Plugin; using GreenshotPlugin.Core; -using Greenshot.IniFile; namespace GreenshotImmioPlugin { /// diff --git a/GreenshotImmioPlugin/ImmioPlugin.cs b/GreenshotImmioPlugin/ImmioPlugin.cs index fe5e9ce65..ebd9acc72 100644 --- a/GreenshotImmioPlugin/ImmioPlugin.cs +++ b/GreenshotImmioPlugin/ImmioPlugin.cs @@ -24,12 +24,10 @@ using System.ComponentModel; using System.Drawing; using System.IO; using System.Windows.Forms; -using System.Threading; - +using Greenshot.IniFile; using Greenshot.Plugin; using GreenshotPlugin.Controls; using GreenshotPlugin.Core; -using Greenshot.IniFile; namespace GreenshotImmioPlugin { /// diff --git a/GreenshotImmioPlugin/ImmioUtils.cs b/GreenshotImmioPlugin/ImmioUtils.cs index e24b25d61..e3bd659d9 100644 --- a/GreenshotImmioPlugin/ImmioUtils.cs +++ b/GreenshotImmioPlugin/ImmioUtils.cs @@ -18,18 +18,12 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.Drawing; -using System.Drawing.Drawing2D; -using System.IO; using System.Net; -using System.Text; -using System.Web; - -using GreenshotPlugin.Core; using Greenshot.IniFile; using Greenshot.Plugin; +using GreenshotPlugin.Core; namespace GreenshotImmioPlugin { /// diff --git a/GreenshotImmioPlugin/LanguageKeys.cs b/GreenshotImmioPlugin/LanguageKeys.cs index 3b7c486ff..f1799de38 100644 --- a/GreenshotImmioPlugin/LanguageKeys.cs +++ b/GreenshotImmioPlugin/LanguageKeys.cs @@ -18,7 +18,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; namespace GreenshotImmioPlugin { public enum LangKey { diff --git a/GreenshotJiraPlugin/Forms/SettingsForm.resx b/GreenshotJiraPlugin/Forms/SettingsForm.resx deleted file mode 100644 index 5ea0895e3..000000000 --- a/GreenshotJiraPlugin/Forms/SettingsForm.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/GreenshotJiraPlugin/GreenshotJiraPlugin.csproj b/GreenshotJiraPlugin/GreenshotJiraPlugin.csproj index 415da91dd..ad8e94d45 100644 --- a/GreenshotJiraPlugin/GreenshotJiraPlugin.csproj +++ b/GreenshotJiraPlugin/GreenshotJiraPlugin.csproj @@ -56,9 +56,6 @@ True Reference.map - - SettingsForm.cs - Always diff --git a/GreenshotJiraPlugin/Jira.cs b/GreenshotJiraPlugin/Jira.cs index 776686d17..bd8e8030c 100644 --- a/GreenshotJiraPlugin/Jira.cs +++ b/GreenshotJiraPlugin/Jira.cs @@ -20,15 +20,12 @@ */ using System; using System.Collections.Generic; -using System.IO; -using System.Text; +using System.Threading; using System.Windows.Forms; - +using Greenshot.IniFile; using GreenshotJiraPlugin; using GreenshotPlugin.Controls; using GreenshotPlugin.Core; -using Greenshot.IniFile; -using System.Threading; namespace Jira { #region transport classes diff --git a/GreenshotJiraPlugin/JiraConfiguration.cs b/GreenshotJiraPlugin/JiraConfiguration.cs index 6ee61a00f..ef8807379 100644 --- a/GreenshotJiraPlugin/JiraConfiguration.cs +++ b/GreenshotJiraPlugin/JiraConfiguration.cs @@ -18,10 +18,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; using System.Windows.Forms; -using GreenshotPlugin.Core; using Greenshot.IniFile; +using GreenshotPlugin.Core; namespace GreenshotJiraPlugin { /// diff --git a/GreenshotJiraPlugin/JiraDestination.cs b/GreenshotJiraPlugin/JiraDestination.cs index 2633851d5..28fc46307 100644 --- a/GreenshotJiraPlugin/JiraDestination.cs +++ b/GreenshotJiraPlugin/JiraDestination.cs @@ -24,12 +24,10 @@ using System.ComponentModel; using System.Drawing; using System.IO; using System.Windows.Forms; -using System.Text.RegularExpressions; - +using Greenshot.IniFile; using Greenshot.Plugin; using GreenshotPlugin.Controls; using GreenshotPlugin.Core; -using Greenshot.IniFile; using Jira; namespace GreenshotJiraPlugin { diff --git a/GreenshotJiraPlugin/JiraPlugin.cs b/GreenshotJiraPlugin/JiraPlugin.cs index 5c8641785..ddf15d74f 100644 --- a/GreenshotJiraPlugin/JiraPlugin.cs +++ b/GreenshotJiraPlugin/JiraPlugin.cs @@ -18,17 +18,11 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; using System.Collections.Generic; using System.ComponentModel; -using System.Drawing; -using System.IO; using System.Windows.Forms; - -using Greenshot.Plugin; -using GreenshotPlugin.Controls; -using GreenshotPlugin.Core; using Greenshot.IniFile; +using Greenshot.Plugin; using Jira; namespace GreenshotJiraPlugin { diff --git a/GreenshotJiraPlugin/JiraUtils.cs b/GreenshotJiraPlugin/JiraUtils.cs index 437782a85..3fc5291cd 100644 --- a/GreenshotJiraPlugin/JiraUtils.cs +++ b/GreenshotJiraPlugin/JiraUtils.cs @@ -18,18 +18,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; using System.Collections.Generic; -using System.ComponentModel; -using System.Drawing; -using System.IO; -using System.Windows.Forms; using System.Text.RegularExpressions; - -using Greenshot.Plugin; -using GreenshotPlugin.Controls; -using GreenshotPlugin.Core; using Greenshot.IniFile; +using GreenshotPlugin.Core; using Jira; namespace GreenshotJiraPlugin { diff --git a/GreenshotJiraPlugin/LanguageKeys.cs b/GreenshotJiraPlugin/LanguageKeys.cs index bb9b7a9bc..dc340b167 100644 --- a/GreenshotJiraPlugin/LanguageKeys.cs +++ b/GreenshotJiraPlugin/LanguageKeys.cs @@ -18,7 +18,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; namespace GreenshotJiraPlugin { public enum LangKey { diff --git a/GreenshotOCRCommand/IDispatch.cs b/GreenshotOCRCommand/IDispatch.cs index a9f53a6c0..8df4cc022 100644 --- a/GreenshotOCRCommand/IDispatch.cs +++ b/GreenshotOCRCommand/IDispatch.cs @@ -1,6 +1,4 @@ using System; -using System.Collections.Generic; -using System.Text; using System.Runtime.InteropServices; using System.Runtime.InteropServices.CustomMarshalers; diff --git a/GreenshotOCRCommand/Program.cs b/GreenshotOCRCommand/Program.cs index 4d95d59e2..1975e451c 100644 --- a/GreenshotOCRCommand/Program.cs +++ b/GreenshotOCRCommand/Program.cs @@ -1,9 +1,7 @@ using System; -using System.Collections.Generic; -using System.Text; -using GreenshotOCR; -using Greenshot.Interop; using System.IO; +using Greenshot.Interop; +using GreenshotOCR; namespace GreenshotOCRCommand { public class Program { diff --git a/GreenshotOCRPlugin/OCRConfiguration.cs b/GreenshotOCRPlugin/OCRConfiguration.cs index 6246fbc45..ab3a0fe4b 100644 --- a/GreenshotOCRPlugin/OCRConfiguration.cs +++ b/GreenshotOCRPlugin/OCRConfiguration.cs @@ -18,7 +18,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; using Greenshot.IniFile; namespace GreenshotOCR { diff --git a/GreenshotOCRPlugin/OCRDestination.cs b/GreenshotOCRPlugin/OCRDestination.cs index 98d4b1704..1e4f69347 100644 --- a/GreenshotOCRPlugin/OCRDestination.cs +++ b/GreenshotOCRPlugin/OCRDestination.cs @@ -18,15 +18,11 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; using System.Drawing; using System.IO; -using System.Windows.Forms; - -using Greenshot.Plugin; -using GreenshotPlugin.Controls; -using GreenshotPlugin.Core; using Greenshot.IniFile; +using Greenshot.Plugin; +using GreenshotPlugin.Core; namespace GreenshotOCR { /// diff --git a/GreenshotOCRPlugin/OCRForm.cs b/GreenshotOCRPlugin/OCRForm.cs index d0f6e7df8..1a8927476 100644 --- a/GreenshotOCRPlugin/OCRForm.cs +++ b/GreenshotOCRPlugin/OCRForm.cs @@ -18,7 +18,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; namespace GreenshotOCR { /// diff --git a/GreenshotOCRPlugin/OCRPlugin.cs b/GreenshotOCRPlugin/OCRPlugin.cs index 109ba24e9..d1d21e9f9 100644 --- a/GreenshotOCRPlugin/OCRPlugin.cs +++ b/GreenshotOCRPlugin/OCRPlugin.cs @@ -20,16 +20,13 @@ */ using System; using System.Collections.Generic; +using System.Diagnostics; using System.Drawing; using System.IO; using System.Windows.Forms; - -using Greenshot.Plugin; -using GreenshotPlugin.Controls; -using GreenshotPlugin.Core; using Greenshot.IniFile; -using Greenshot.Interop; -using System.Diagnostics; +using Greenshot.Plugin; +using GreenshotPlugin.Core; //using Microsoft.Win32; diff --git a/GreenshotOfficePlugin/OfficeConfiguration.cs b/GreenshotOfficePlugin/OfficeConfiguration.cs index 006be0279..34b8317f4 100644 --- a/GreenshotOfficePlugin/OfficeConfiguration.cs +++ b/GreenshotOfficePlugin/OfficeConfiguration.cs @@ -18,7 +18,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; using Greenshot.IniFile; using Greenshot.Interop.Office; diff --git a/GreenshotOfficePlugin/OfficePlugin.cs b/GreenshotOfficePlugin/OfficePlugin.cs index 2d77493e4..a0360882f 100644 --- a/GreenshotOfficePlugin/OfficePlugin.cs +++ b/GreenshotOfficePlugin/OfficePlugin.cs @@ -18,18 +18,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; using System.Collections.Generic; -using System.ComponentModel; -using System.Drawing; -using System.IO; using System.Windows.Forms; -using System.Threading; using Greenshot.Plugin; -using GreenshotPlugin.Controls; -using GreenshotPlugin.Core; -using Greenshot.IniFile; namespace GreenshotOfficePlugin { /// diff --git a/GreenshotPlugin/Core/AbstractDestination.cs b/GreenshotPlugin/Core/AbstractDestination.cs index b38a2a308..d4504e0b6 100644 --- a/GreenshotPlugin/Core/AbstractDestination.cs +++ b/GreenshotPlugin/Core/AbstractDestination.cs @@ -21,15 +21,9 @@ using System; using System.Collections.Generic; using System.Drawing; -using System.Drawing.Imaging; -using System.IO; using System.Windows.Forms; -using System.Reflection; - -using Microsoft.Win32; - -using Greenshot.Plugin; using Greenshot.IniFile; +using Greenshot.Plugin; using GreenshotPlugin.UnmanagedHelpers; namespace GreenshotPlugin.Core { diff --git a/GreenshotPlugin/Core/AbstractProcessor.cs b/GreenshotPlugin/Core/AbstractProcessor.cs index 71b5d1451..aff12b433 100644 --- a/GreenshotPlugin/Core/AbstractProcessor.cs +++ b/GreenshotPlugin/Core/AbstractProcessor.cs @@ -18,15 +18,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; -using System.IO; -using System.Windows.Forms; -using System.Reflection; -using Microsoft.Win32; using Greenshot.Plugin; diff --git a/GreenshotPlugin/Core/ClipboardHelper.cs b/GreenshotPlugin/Core/ClipboardHelper.cs index 23252617d..09afb891f 100644 --- a/GreenshotPlugin/Core/ClipboardHelper.cs +++ b/GreenshotPlugin/Core/ClipboardHelper.cs @@ -27,11 +27,9 @@ using System.IO; using System.Text; using System.Threading; using System.Windows.Forms; - -using GreenshotPlugin.UnmanagedHelpers; -using GreenshotPlugin.Core; using Greenshot.IniFile; using Greenshot.Plugin; +using GreenshotPlugin.UnmanagedHelpers; namespace GreenshotPlugin.Core { /// diff --git a/GreenshotPlugin/Core/CoreConfiguration.cs b/GreenshotPlugin/Core/CoreConfiguration.cs index 81886f06c..966e8aee1 100644 --- a/GreenshotPlugin/Core/CoreConfiguration.cs +++ b/GreenshotPlugin/Core/CoreConfiguration.cs @@ -20,12 +20,11 @@ */ using System; using System.Collections.Generic; -using System.Diagnostics; using System.Drawing; using System.IO; using System.Windows.Forms; -using Greenshot.Plugin; using Greenshot.IniFile; +using Greenshot.Plugin; namespace GreenshotPlugin.Core { public enum ClipboardFormat { diff --git a/GreenshotPlugin/Core/EmailConfigHelper.cs b/GreenshotPlugin/Core/EmailConfigHelper.cs index acfe2304e..5a6e29ae7 100644 --- a/GreenshotPlugin/Core/EmailConfigHelper.cs +++ b/GreenshotPlugin/Core/EmailConfigHelper.cs @@ -18,7 +18,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; using System.IO; using Microsoft.Win32; diff --git a/GreenshotPlugin/Core/EncryptionHelper.cs b/GreenshotPlugin/Core/EncryptionHelper.cs index 31b4e5278..88abbf860 100644 --- a/GreenshotPlugin/Core/EncryptionHelper.cs +++ b/GreenshotPlugin/Core/EncryptionHelper.cs @@ -19,10 +19,9 @@ * along with this program. If not, see . */ using System; -using System.Collections.Generic; -using System.Text; -using System.Security.Cryptography; using System.IO; +using System.Security.Cryptography; +using System.Text; namespace GreenshotPlugin.Core { public static class EncryptionHelper { diff --git a/GreenshotPlugin/Core/ExtensionAttribute.cs b/GreenshotPlugin/Core/ExtensionAttribute.cs index e528d60c0..6eaa7168a 100644 --- a/GreenshotPlugin/Core/ExtensionAttribute.cs +++ b/GreenshotPlugin/Core/ExtensionAttribute.cs @@ -19,7 +19,6 @@ * along with this program. If not, see . */ -using System; namespace System.Runtime.CompilerServices { [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)] diff --git a/GreenshotPlugin/Core/FilenameHelper.cs b/GreenshotPlugin/Core/FilenameHelper.cs index 026306dfb..5fc64a8d0 100644 --- a/GreenshotPlugin/Core/FilenameHelper.cs +++ b/GreenshotPlugin/Core/FilenameHelper.cs @@ -23,10 +23,8 @@ using System.Collections; using System.IO; using System.Text.RegularExpressions; using System.Windows.Forms; - -using Greenshot.Plugin; -using GreenshotPlugin.Core; using Greenshot.IniFile; +using Greenshot.Plugin; namespace GreenshotPlugin.Core { public static class FilenameHelper { diff --git a/GreenshotPlugin/Core/GreenshotResources.cs b/GreenshotPlugin/Core/GreenshotResources.cs index 476e5b044..40a9f9536 100644 --- a/GreenshotPlugin/Core/GreenshotResources.cs +++ b/GreenshotPlugin/Core/GreenshotResources.cs @@ -18,7 +18,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; using System.ComponentModel; using System.Drawing; diff --git a/GreenshotPlugin/Core/IEHelper.cs b/GreenshotPlugin/Core/IEHelper.cs index e7b4793f5..2283daf44 100644 --- a/GreenshotPlugin/Core/IEHelper.cs +++ b/GreenshotPlugin/Core/IEHelper.cs @@ -18,7 +18,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; using System.Collections.Generic; using Microsoft.Win32; diff --git a/GreenshotPlugin/Core/ImageHelper.cs b/GreenshotPlugin/Core/ImageHelper.cs index ef7cab2e3..f1685d370 100644 --- a/GreenshotPlugin/Core/ImageHelper.cs +++ b/GreenshotPlugin/Core/ImageHelper.cs @@ -21,15 +21,12 @@ using System; using System.Collections.Generic; using System.Drawing; +using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.IO; -using System.Drawing.Drawing2D; - -using GreenshotPlugin.UnmanagedHelpers; -using GreenshotPlugin.Core; -using Greenshot.IniFile; using System.Runtime.InteropServices; -using System.Collections; +using Greenshot.IniFile; +using GreenshotPlugin.UnmanagedHelpers; namespace GreenshotPlugin.Core { /// diff --git a/GreenshotPlugin/Core/ImageOutput.cs b/GreenshotPlugin/Core/ImageOutput.cs index 8a289d048..7a7ee25e6 100644 --- a/GreenshotPlugin/Core/ImageOutput.cs +++ b/GreenshotPlugin/Core/ImageOutput.cs @@ -25,10 +25,8 @@ using System.IO; using System.Reflection; using System.Text.RegularExpressions; using System.Windows.Forms; - -using Greenshot.Plugin; -using GreenshotPlugin.Core; using Greenshot.IniFile; +using Greenshot.Plugin; using GreenshotPlugin.Controls; namespace GreenshotPlugin.Core { diff --git a/GreenshotPlugin/Core/InterfaceUtils.cs b/GreenshotPlugin/Core/InterfaceUtils.cs index 209512118..725bc9123 100644 --- a/GreenshotPlugin/Core/InterfaceUtils.cs +++ b/GreenshotPlugin/Core/InterfaceUtils.cs @@ -19,10 +19,9 @@ * along with this program. If not, see . */ using System; -using System.Threading; -using System.Reflection; using System.Collections.Generic; - +using System.Reflection; +using System.Threading; using Greenshot.Plugin; namespace GreenshotPlugin.Core { diff --git a/GreenshotPlugin/Core/JSONHelper.cs b/GreenshotPlugin/Core/JSONHelper.cs index 8b74413df..8bb4e3625 100644 --- a/GreenshotPlugin/Core/JSONHelper.cs +++ b/GreenshotPlugin/Core/JSONHelper.cs @@ -9,9 +9,9 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI */ using System; using System.Collections; +using System.Collections.Generic; using System.Globalization; using System.Text; -using System.Collections.Generic; namespace GreenshotPlugin.Core { /// diff --git a/GreenshotPlugin/Core/Language.cs b/GreenshotPlugin/Core/Language.cs index 3779f51e9..95c55bb56 100644 --- a/GreenshotPlugin/Core/Language.cs +++ b/GreenshotPlugin/Core/Language.cs @@ -20,13 +20,12 @@ */ using System; using System.Collections.Generic; -using System.Text; using System.IO; using System.Reflection; -using Microsoft.Win32; +using System.Text.RegularExpressions; using System.Xml; using Greenshot.IniFile; -using System.Text.RegularExpressions; +using Microsoft.Win32; namespace GreenshotPlugin.Core { /// diff --git a/GreenshotPlugin/Core/LogHelper.cs b/GreenshotPlugin/Core/LogHelper.cs index f82c287ad..7096b9c4b 100644 --- a/GreenshotPlugin/Core/LogHelper.cs +++ b/GreenshotPlugin/Core/LogHelper.cs @@ -18,7 +18,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -using System; using System.IO; using System.Reflection; using System.Windows.Forms; diff --git a/GreenshotPlugin/Core/NetworkHelper.cs b/GreenshotPlugin/Core/NetworkHelper.cs index 47205e20c..349c0f74d 100644 --- a/GreenshotPlugin/Core/NetworkHelper.cs +++ b/GreenshotPlugin/Core/NetworkHelper.cs @@ -19,17 +19,15 @@ * along with this program. If not, see . */ using System; +using System.Collections.Generic; using System.Drawing; using System.IO; using System.Net; +using System.Net.Security; +using System.Security.Cryptography.X509Certificates; using System.Text; -using System.Collections.Generic; -using System.Collections.Specialized; using System.Text.RegularExpressions; using Greenshot.IniFile; -using System.Security.Cryptography.X509Certificates; -using System.Net.Security; -using System.Web; using Greenshot.Plugin; namespace GreenshotPlugin.Core { diff --git a/GreenshotPlugin/Core/OAuthHelper.cs b/GreenshotPlugin/Core/OAuthHelper.cs index a18db6275..405bb67e3 100644 --- a/GreenshotPlugin/Core/OAuthHelper.cs +++ b/GreenshotPlugin/Core/OAuthHelper.cs @@ -19,16 +19,12 @@ * along with this program. If not, see . */ using System; -using System.Security.Cryptography; using System.Collections.Generic; -using System.Text; -using System.Net; -using System.Collections.Specialized; -using System.IO; -using System.Text.RegularExpressions; -using GreenshotPlugin.Controls; using System.Drawing; -using Greenshot.Plugin; +using System.Net; +using System.Security.Cryptography; +using System.Text; +using GreenshotPlugin.Controls; namespace GreenshotPlugin.Core { /// diff --git a/GreenshotPlugin/Core/PluginUtils.cs b/GreenshotPlugin/Core/PluginUtils.cs index 60eeed1b1..20d3d7bd2 100644 --- a/GreenshotPlugin/Core/PluginUtils.cs +++ b/GreenshotPlugin/Core/PluginUtils.cs @@ -20,11 +20,10 @@ */ using System; using System.Drawing; +using System.IO; using System.Windows.Forms; - using Greenshot.Plugin; using Microsoft.Win32; -using System.IO; namespace GreenshotPlugin.Core { /// diff --git a/GreenshotPlugin/Core/QuantizerHelper.cs b/GreenshotPlugin/Core/QuantizerHelper.cs index 92f6fc8a6..8d0666708 100644 --- a/GreenshotPlugin/Core/QuantizerHelper.cs +++ b/GreenshotPlugin/Core/QuantizerHelper.cs @@ -20,9 +20,9 @@ */ using System; using System.Collections; +using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; -using System.Collections.Generic; namespace GreenshotPlugin.Core { internal class WuColorCube { diff --git a/GreenshotPlugin/Core/WindowCapture.cs b/GreenshotPlugin/Core/WindowCapture.cs index 79e7e2ca2..731a7171c 100644 --- a/GreenshotPlugin/Core/WindowCapture.cs +++ b/GreenshotPlugin/Core/WindowCapture.cs @@ -20,15 +20,14 @@ */ using System; using System.Collections.Generic; +using System.Diagnostics; using System.Drawing; using System.Drawing.Imaging; using System.Runtime.InteropServices; using System.Windows.Forms; - +using Greenshot.IniFile; using Greenshot.Plugin; using GreenshotPlugin.UnmanagedHelpers; -using System.Diagnostics; -using Greenshot.IniFile; namespace GreenshotPlugin.Core { /// diff --git a/GreenshotPlugin/Core/WindowsHelper.cs b/GreenshotPlugin/Core/WindowsHelper.cs index f1913c2ee..93b355b9d 100644 --- a/GreenshotPlugin/Core/WindowsHelper.cs +++ b/GreenshotPlugin/Core/WindowsHelper.cs @@ -20,7 +20,6 @@ */ using System; using System.Collections.Generic; -using System.ComponentModel; using System.Diagnostics; using System.Drawing; using System.Drawing.Imaging; @@ -30,10 +29,9 @@ using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Windows.Forms; - +using Greenshot.IniFile; using Greenshot.Plugin; using GreenshotPlugin.UnmanagedHelpers; -using Greenshot.IniFile; /// /// Code for handling with "windows"