Small cleanup.

This commit is contained in:
Robin 2018-06-09 14:20:12 +02:00
commit 67a3efa5dc
14 changed files with 0 additions and 42 deletions

View file

@ -161,7 +161,6 @@
<Compile Include="IExternalCommandLanguage.cs" />
<Compile Include="IconCache.cs" />
<Compile Include="ExternalCommandAddonModule.cs" />
<Compile Include="ListviewComparer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="IExternalCommandConfiguration.cs" />
<Compile Include="ViewModels\ExternalCommandConfigViewModel.cs" />

View file

@ -1,28 +0,0 @@
using System;
using System.Collections;
using System.Windows.Forms;
namespace Greenshot.Addon.ExternalCommand
{
/// <summary>
/// An IComparer for a listview, to allow sorting
/// </summary>
public class ListviewComparer : IComparer
{
public int Compare(object x, object y)
{
if (!(x is ListViewItem))
{
return 0;
}
if (!(y is ListViewItem))
{
return 0;
}
var l1 = (ListViewItem) x;
var l2 = (ListViewItem) y;
return string.Compare(l1.Text, l2.Text, StringComparison.Ordinal);
}
}
}

View file

@ -34,7 +34,6 @@ using Dapplo.Log;
using Dapplo.Windows.Clipboard;
using Greenshot.Addon.Imgur.Entities;
using Greenshot.Addons;
using Greenshot.Addons.Core;
using Greenshot.Addons.Extensions;
namespace Greenshot.Addon.Imgur.ViewModels

View file

@ -30,7 +30,6 @@ using System.Drawing.Drawing2D;
using System.Windows.Forms;
using Autofac.Features.OwnedInstances;
using Greenshot.Addons.Controls;
using ColorDialog = Greenshot.Addon.LegacyEditor.Controls.ColorDialog;
#endregion

View file

@ -30,7 +30,6 @@ using System.Drawing.Drawing2D;
using System.Windows.Forms;
using Greenshot.Addons;
using Greenshot.Addons.Controls;
using ColorDialog = Greenshot.Addon.LegacyEditor.Controls.ColorDialog;
#endregion

View file

@ -23,7 +23,6 @@
#region Usings
using System;
using System.Drawing;
using Greenshot.Addons.Interfaces.Drawing;

View file

@ -33,7 +33,6 @@ using Dapplo.Log;
using Dapplo.Windows.Clipboard;
using Greenshot.Addon.Lutim.Entities;
using Greenshot.Addons;
using Greenshot.Addons.Core;
using Greenshot.Addons.Extensions;
namespace Greenshot.Addon.Lutim.ViewModels

View file

@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following

View file

@ -24,7 +24,6 @@
#region Usings
using System;
using Dapplo.Ini;
using Greenshot.Addons.Core;
using Greenshot.Addons.Core.Enums;
using Greenshot.Addons.Interfaces.Plugin;

View file

@ -22,7 +22,6 @@
#endregion
using System;
using System.Drawing;
using System.IO;
using System.Text;
using Dapplo.Windows.Clipboard;

View file

@ -3,7 +3,6 @@ using System.ServiceModel.Syndication;
using System.Threading.Tasks;
using System.Xml;
using Dapplo.HttpExtensions;
using Dapplo.Log;
using Greenshot.Components;
using Xunit;

View file

@ -29,7 +29,6 @@ using Greenshot.Addons;
using Greenshot.Addons.Components;
using Greenshot.Addons.Core;
using Greenshot.Addons.Interfaces;
using Greenshot.Configuration;
#endregion

View file

@ -29,7 +29,6 @@ using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Reflection;
using System.Security.Permissions;
using System.Windows.Forms;
using Dapplo.CaliburnMicro;

View file

@ -31,7 +31,6 @@ using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Windows.Forms;
using Autofac.Features.OwnedInstances;
using Caliburn.Micro;
@ -59,7 +58,6 @@ using Greenshot.Addons.Extensions;
using Greenshot.Addons.Interfaces;
using Greenshot.Gfx;
using Greenshot.Ui.Configuration.ViewModels;
using LangKey = Greenshot.Configuration.LangKey;
using Message = System.Windows.Forms.Message;
using Screen = System.Windows.Forms.Screen;