mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
CodeMaid solution cleanup
This commit is contained in:
parent
2a1b30a45f
commit
7f911b49b6
126 changed files with 138 additions and 238 deletions
|
@ -15,7 +15,7 @@
|
|||
</setting>
|
||||
<setting name="Cleaning_UpdateAccessorsToBothBeSingleLineOrMultiLine"
|
||||
serializeAs="String">
|
||||
<value>False</value>
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="Cleaning_InsertBlankLinePaddingBeforeNamespaces"
|
||||
serializeAs="String">
|
||||
|
@ -399,6 +399,35 @@
|
|||
serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="Cleaning_CommentXmlAlignParamTags" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="Cleaning_RemoveBlankLinesBetweenChainedStatements"
|
||||
serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="Cleaning_IncludeLESS" serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="Cleaning_CommentXmlSpaceTags" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="Cleaning_CommentXmlValueIndent" serializeAs="String">
|
||||
<value>0</value>
|
||||
</setting>
|
||||
<setting name="General_Multithread" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="Cleaning_CommentSkipWrapOnLastWord" serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="Cleaning_CommentXmlSplitSummaryTagToMultipleLines"
|
||||
serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="General_CacheFiles" serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
</SteveCadwallader.CodeMaid.Properties.Settings>
|
||||
</userSettings>
|
||||
</configuration>
|
|
@ -19,11 +19,11 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using GreenshotPlugin.Core;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
using GreenshotPlugin.Core;
|
||||
|
||||
namespace GreenshotPlugin.Controls
|
||||
{
|
||||
|
|
|
@ -50,7 +50,10 @@ public ColorButton()
|
|||
|
||||
public Color SelectedColor
|
||||
{
|
||||
get { return selectedColor; }
|
||||
get
|
||||
{
|
||||
return selectedColor;
|
||||
}
|
||||
set
|
||||
{
|
||||
selectedColor = value;
|
||||
|
|
|
@ -36,7 +36,10 @@ public class FontFamilyComboBox : ToolStripComboBox, INotifyPropertyChanged
|
|||
|
||||
public FontFamily FontFamily
|
||||
{
|
||||
get { return (FontFamily)SelectedItem; }
|
||||
get
|
||||
{
|
||||
return (FontFamily)SelectedItem;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (!SelectedItem.Equals(value))
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using System.ComponentModel;
|
||||
using Greenshot.Forms;
|
||||
using GreenshotPlugin.UnmanagedHelpers;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using Greenshot.IniFile;
|
||||
using Greenshot.Plugin;
|
||||
using GreenshotPlugin.Core;
|
||||
using System;
|
||||
|
||||
namespace GreenshotPlugin.Controls
|
||||
{
|
||||
|
|
|
@ -48,7 +48,10 @@ public ToolStripColorButton()
|
|||
|
||||
public Color SelectedColor
|
||||
{
|
||||
get { return selectedColor; }
|
||||
get
|
||||
{
|
||||
return selectedColor;
|
||||
}
|
||||
set
|
||||
{
|
||||
selectedColor = value;
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using Greenshot.IniFile;
|
||||
using Greenshot.Plugin;
|
||||
using GreenshotPlugin.Controls;
|
||||
|
@ -29,6 +27,8 @@
|
|||
using System.Drawing.Imaging;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Windows.Forms;
|
||||
using Encoder = System.Drawing.Imaging.Encoder;
|
||||
|
|
|
@ -177,7 +177,10 @@ public Rectangle ScreenBounds
|
|||
}
|
||||
return screenBounds;
|
||||
}
|
||||
set { screenBounds = value; }
|
||||
set
|
||||
{
|
||||
screenBounds = value;
|
||||
}
|
||||
}
|
||||
|
||||
private Image image;
|
||||
|
@ -186,7 +189,10 @@ public Rectangle ScreenBounds
|
|||
/// </summary>
|
||||
public Image Image
|
||||
{
|
||||
get { return image; }
|
||||
get
|
||||
{
|
||||
return image;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (image != null)
|
||||
|
@ -230,7 +236,10 @@ public void NullImage()
|
|||
/// </summary>
|
||||
public Icon Cursor
|
||||
{
|
||||
get { return cursor; }
|
||||
get
|
||||
{
|
||||
return cursor;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (cursor != null)
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Greenshot.IniFile;
|
||||
using Greenshot.Interop;
|
||||
using Greenshot.Plugin;
|
||||
|
@ -27,6 +26,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Imaging;
|
||||
using System.Runtime.InteropServices;
|
||||
|
|
|
@ -61,7 +61,10 @@ public Cursor Cursor
|
|||
Width = value.Size.Width;
|
||||
Height = value.Size.Height;
|
||||
}
|
||||
get { return cursor; }
|
||||
get
|
||||
{
|
||||
return cursor;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -121,7 +121,10 @@ public ISurface Parent
|
|||
private bool selected = false;
|
||||
public bool Selected
|
||||
{
|
||||
get { return selected; }
|
||||
get
|
||||
{
|
||||
return selected;
|
||||
}
|
||||
set
|
||||
{
|
||||
selected = value;
|
||||
|
@ -146,7 +149,10 @@ public EditStatus Status
|
|||
private int left = 0;
|
||||
public int Left
|
||||
{
|
||||
get { return left; }
|
||||
get
|
||||
{
|
||||
return left;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value != left)
|
||||
|
@ -160,7 +166,10 @@ public int Left
|
|||
private int top = 0;
|
||||
public int Top
|
||||
{
|
||||
get { return top; }
|
||||
get
|
||||
{
|
||||
return top;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value != top)
|
||||
|
@ -174,7 +183,10 @@ public int Top
|
|||
private int width = 0;
|
||||
public int Width
|
||||
{
|
||||
get { return width; }
|
||||
get
|
||||
{
|
||||
return width;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value != width)
|
||||
|
@ -188,7 +200,10 @@ public int Width
|
|||
private int height = 0;
|
||||
public int Height
|
||||
{
|
||||
get { return height; }
|
||||
get
|
||||
{
|
||||
return height;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value != height)
|
||||
|
@ -229,7 +244,10 @@ public Size Size
|
|||
|
||||
public Rectangle Bounds
|
||||
{
|
||||
get { return GuiRectangle.GetGuiRectangle(Left, Top, Width, Height); }
|
||||
get
|
||||
{
|
||||
return GuiRectangle.GetGuiRectangle(Left, Top, Width, Height);
|
||||
}
|
||||
set
|
||||
{
|
||||
Left = round(value.Left);
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using System.ComponentModel;
|
||||
using System.Threading;
|
||||
using Greenshot.Drawing.Fields;
|
||||
using Greenshot.IniFile;
|
||||
using Greenshot.Memento;
|
||||
|
@ -29,7 +27,9 @@
|
|||
using GreenshotPlugin.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Greenshot.Drawing
|
||||
|
|
|
@ -59,7 +59,10 @@ public Icon Icon
|
|||
Width = value.Width;
|
||||
Height = value.Height;
|
||||
}
|
||||
get { return icon; }
|
||||
get
|
||||
{
|
||||
return icon;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -122,7 +122,10 @@ public Image Image
|
|||
Top = Top - shadowOffset.Y;
|
||||
}
|
||||
}
|
||||
get { return image; }
|
||||
get
|
||||
{
|
||||
return image;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -349,7 +349,10 @@ public bool Modified
|
|||
/// </summary>
|
||||
public DrawingModes DrawingMode
|
||||
{
|
||||
get { return drawingMode; }
|
||||
get
|
||||
{
|
||||
return drawingMode;
|
||||
}
|
||||
set
|
||||
{
|
||||
drawingMode = value;
|
||||
|
|
|
@ -57,10 +57,7 @@ public class TextContainer : RectangleContainer, ITextContainer
|
|||
public string Text
|
||||
{
|
||||
get { return text; }
|
||||
set
|
||||
{
|
||||
ChangeText(value, true);
|
||||
}
|
||||
set { ChangeText(value, true); }
|
||||
}
|
||||
|
||||
internal void ChangeText(string newText, bool allowUndoable)
|
||||
|
|
|
@ -19,13 +19,13 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using System.Globalization;
|
||||
using Greenshot.Configuration;
|
||||
using Greenshot.Controls;
|
||||
using Greenshot.IniFile;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Globalization;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
using GreenshotPlugin.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using System.Windows.Forms;
|
||||
using Microsoft.Win32.SafeHandles;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
|
@ -28,6 +27,7 @@
|
|||
using System.Security;
|
||||
using System.Security.Permissions;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace GreenshotPlugin.UnmanagedHelpers
|
||||
{
|
||||
|
|
|
@ -25,9 +25,7 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Management;
|
||||
using System.Text;
|
||||
|
||||
namespace HelpersLib
|
||||
{
|
||||
|
|
|
@ -24,9 +24,6 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace HelpersLib
|
||||
{
|
||||
|
|
|
@ -138,34 +138,33 @@ private void InitializeComponent()
|
|||
this.colorBox = new HelpersLib.ColorBox();
|
||||
this.colorSlider = new HelpersLib.ColorSlider();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
//
|
||||
// colorBox
|
||||
//
|
||||
//
|
||||
this.colorBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.colorBox.DrawStyle = HelpersLib.DrawStyle.Hue;
|
||||
this.colorBox.Location = new System.Drawing.Point(0, 0);
|
||||
this.colorBox.Name = "colorBox";
|
||||
this.colorBox.Size = new System.Drawing.Size(258, 258);
|
||||
this.colorBox.TabIndex = 0;
|
||||
//
|
||||
//
|
||||
// colorSlider
|
||||
//
|
||||
//
|
||||
this.colorSlider.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.colorSlider.DrawStyle = HelpersLib.DrawStyle.Hue;
|
||||
this.colorSlider.Location = new System.Drawing.Point(257, 0);
|
||||
this.colorSlider.Name = "colorSlider";
|
||||
this.colorSlider.Size = new System.Drawing.Size(32, 258);
|
||||
this.colorSlider.TabIndex = 1;
|
||||
//
|
||||
//
|
||||
// ColorPicker
|
||||
//
|
||||
//
|
||||
this.AutoSize = true;
|
||||
this.Controls.Add(this.colorBox);
|
||||
this.Controls.Add(this.colorSlider);
|
||||
this.Name = "ColorPicker";
|
||||
this.Size = new System.Drawing.Size(292, 261);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion Component Designer generated code
|
||||
|
|
|
@ -23,9 +23,7 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib.Properties;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
|
|
@ -24,9 +24,7 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Design;
|
||||
|
||||
namespace HelpersLib
|
||||
{
|
||||
|
|
|
@ -23,11 +23,6 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace HelpersLib
|
||||
{
|
||||
public class ConvolutionMatrix
|
||||
|
|
|
@ -26,11 +26,8 @@ You should have received a copy of the GNU General Public License
|
|||
// Filters: http://www.codeproject.com/Articles/2008/Image-Processing-for-Dummies-with-C-and-GDI-Part-2
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Imaging;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace HelpersLib
|
||||
{
|
||||
|
|
|
@ -23,11 +23,6 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace HelpersLib
|
||||
{
|
||||
public class DNSInfo
|
||||
|
|
|
@ -23,11 +23,7 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace HelpersLib
|
||||
{
|
||||
|
|
|
@ -23,7 +23,6 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib.Properties;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
|
|
|
@ -24,13 +24,6 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Management;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace HelpersLib
|
||||
|
|
|
@ -23,7 +23,6 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib.Properties;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
|
|
|
@ -23,7 +23,6 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib.Properties;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
|
|
|
@ -23,7 +23,6 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib.Properties;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
|
|
@ -32,8 +32,6 @@ You should have received a copy of the GNU General Public License
|
|||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Media;
|
||||
using System.Net;
|
||||
using System.Reflection;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Runtime.Serialization.Formatters.Binary;
|
||||
using System.Text;
|
||||
|
|
|
@ -24,8 +24,11 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
#if !__MonoCS__
|
||||
|
||||
using IWshRuntimeLibrary;
|
||||
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Windows.Forms;
|
||||
|
|
|
@ -117,7 +117,7 @@ public void PrintPage(PrintPageEventArgs e)
|
|||
// next character
|
||||
int c;
|
||||
|
||||
for (;;)
|
||||
for (; ; )
|
||||
{
|
||||
// get next character
|
||||
c = NextChar();
|
||||
|
|
|
@ -24,11 +24,7 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib.Properties;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace HelpersLib
|
||||
{
|
||||
|
|
|
@ -25,7 +25,6 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms.Design;
|
||||
|
||||
namespace HelpersLib
|
||||
|
|
|
@ -25,7 +25,6 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms.Design;
|
||||
|
||||
namespace HelpersLib
|
||||
|
|
|
@ -23,12 +23,8 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace HelpersLib
|
||||
{
|
||||
|
|
|
@ -26,11 +26,8 @@ You should have received a copy of the GNU General Public License
|
|||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.Cache;
|
||||
using System.Text;
|
||||
|
||||
namespace HelpersLib
|
||||
{
|
||||
|
|
|
@ -23,15 +23,8 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Net.Cache;
|
||||
using System.Text;
|
||||
using System.Xml;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace HelpersLib
|
||||
{
|
||||
|
|
|
@ -23,7 +23,6 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
|
|
@ -23,9 +23,7 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
|
||||
namespace HelpersLib
|
||||
|
|
|
@ -23,7 +23,6 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib.Properties;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
|
@ -32,7 +31,6 @@ You should have received a copy of the GNU General Public License
|
|||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Threading;
|
||||
using System.Web;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace HelpersLib
|
||||
|
|
|
@ -23,13 +23,10 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Net.Cache;
|
||||
using System.Text;
|
||||
using System.Xml;
|
||||
using System.Xml.Linq;
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
|
||||
namespace ImageEffectsLib
|
||||
|
|
|
@ -24,7 +24,6 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Design;
|
||||
|
|
|
@ -24,11 +24,9 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Design;
|
||||
using System.Drawing.Drawing2D;
|
||||
|
||||
namespace ImageEffectsLib
|
||||
{
|
||||
|
|
|
@ -27,7 +27,6 @@ You should have received a copy of the GNU General Public License
|
|||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Design;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.IO;
|
||||
|
||||
namespace ImageEffectsLib
|
||||
|
|
|
@ -24,7 +24,6 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
|
@ -32,9 +31,7 @@ You should have received a copy of the GNU General Public License
|
|||
using System.Drawing.Design;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Drawing.Text;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace ImageEffectsLib
|
||||
{
|
||||
|
|
|
@ -23,11 +23,6 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace ImageEffectsLib
|
||||
{
|
||||
public enum WatermarkType
|
||||
|
|
|
@ -24,7 +24,6 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
|
||||
namespace ImageEffectsLib
|
||||
|
|
|
@ -24,7 +24,6 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
|
||||
namespace ImageEffectsLib
|
||||
|
|
|
@ -24,7 +24,6 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
|
||||
namespace ImageEffectsLib
|
||||
|
|
|
@ -24,10 +24,8 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Globalization;
|
||||
|
||||
namespace ImageEffectsLib
|
||||
{
|
||||
|
|
|
@ -28,7 +28,6 @@ You should have received a copy of the GNU General Public License
|
|||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Imaging;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
|
|
@ -24,7 +24,6 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
|
|
@ -23,11 +23,7 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace ImageEffectsLib
|
||||
{
|
||||
|
|
|
@ -24,7 +24,6 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
|
|
|
@ -23,11 +23,11 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
#endregion License Information (GPL v3)
|
||||
|
||||
using System.Linq;
|
||||
using HelpersLib;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace ShareX
|
||||
|
|
|
@ -24,13 +24,10 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using ShareX.Properties;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Windows.Forms;
|
||||
using UploadersLib;
|
||||
|
||||
namespace ShareX
|
||||
{
|
||||
|
|
|
@ -24,7 +24,6 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using ShareX.Properties;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Windows.Forms;
|
||||
|
|
|
@ -25,9 +25,7 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
using HelpersLib;
|
||||
using ScreenCaptureLib;
|
||||
using ShareX.Properties;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Windows.Forms;
|
||||
|
|
|
@ -25,13 +25,7 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
using HelpersLib;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace ShareX
|
||||
|
|
|
@ -24,7 +24,6 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using ShareX.Properties;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace ShareX
|
||||
|
|
|
@ -25,15 +25,8 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
using HelpersLib;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace ShareX
|
||||
|
|
|
@ -26,7 +26,6 @@ You should have received a copy of the GNU General Public License
|
|||
using HelpersLib;
|
||||
using ImageEffectsLib;
|
||||
using ScreenCaptureLib;
|
||||
using ShareX.Properties;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
|
|
@ -24,7 +24,6 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using ShareX.Properties;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
|
|
|
@ -25,7 +25,6 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
using HelpersLib;
|
||||
using HistoryLib;
|
||||
using ShareX.Properties;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
|
|
|
@ -24,7 +24,6 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using ShareX.Properties;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
|
|
@ -24,9 +24,7 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using ImageEffectsLib;
|
||||
using IndexerLib;
|
||||
using ShareX.Properties;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("ShareXPortable")]
|
||||
|
@ -14,8 +13,8 @@
|
|||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
|
@ -25,12 +24,12 @@
|
|||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
@ -33,7 +33,6 @@ You should have received a copy of the GNU General Public License
|
|||
using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
using UploadersLib.Properties;
|
||||
|
||||
namespace UploadersLib
|
||||
{
|
||||
|
|
|
@ -213,7 +213,7 @@ protected override void WndProc(ref Message msg)
|
|||
{
|
||||
switch (msg.Msg)
|
||||
{
|
||||
// Look for WM_VSCROLL,WM_HSCROLL or WM_SIZE messages.
|
||||
// Look for WM_VSCROLL,WM_HSCROLL or WM_SIZE messages.
|
||||
case WM_VSCROLL:
|
||||
case WM_HSCROLL:
|
||||
case WM_SIZE:
|
||||
|
@ -365,16 +365,16 @@ private void _editControl_KeyPress(object sender, KeyPressEventArgs e)
|
|||
switch (e.KeyChar)
|
||||
{
|
||||
case (char)(int)Keys.Escape:
|
||||
{
|
||||
EndEditing(false);
|
||||
break;
|
||||
}
|
||||
{
|
||||
EndEditing(false);
|
||||
break;
|
||||
}
|
||||
|
||||
case (char)(int)Keys.Enter:
|
||||
{
|
||||
EndEditing(true);
|
||||
break;
|
||||
}
|
||||
{
|
||||
EndEditing(true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using System.IO;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
namespace UploadersLib
|
||||
{
|
||||
|
|
|
@ -25,15 +25,11 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
using HelpersLib;
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System;
|
||||
using System.Text.RegularExpressions;
|
||||
using UploadersLib.HelperClasses;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Security.Cryptography;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UploadersLib.FileUploaders
|
||||
{
|
||||
|
@ -68,7 +64,8 @@ public S3PolicyCondition(string key, string value)
|
|||
|
||||
private string GetPolicyDocument(string fileName)
|
||||
{
|
||||
var policyDocument = new {
|
||||
var policyDocument = new
|
||||
{
|
||||
expiration = DateTime.UtcNow.AddDays(2).ToString("o"), // The policy is valid for 2 days
|
||||
conditions = new List<S3PolicyCondition> {
|
||||
new S3PolicyCondition("acl", "public-read"),
|
||||
|
|
|
@ -28,7 +28,6 @@ You should have received a copy of the GNU General Public License
|
|||
using System.Collections.Specialized;
|
||||
using System.IO;
|
||||
using System.Xml.Linq;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
namespace UploadersLib.FileUploaders
|
||||
{
|
||||
|
|
|
@ -25,7 +25,6 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
using System;
|
||||
using System.IO;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
namespace UploadersLib.FileUploaders
|
||||
{
|
||||
|
|
|
@ -27,7 +27,6 @@ You should have received a copy of the GNU General Public License
|
|||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Xml.Linq;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
namespace UploadersLib.FileUploaders
|
||||
{
|
||||
|
|
|
@ -26,7 +26,6 @@ You should have received a copy of the GNU General Public License
|
|||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Net.Mail;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
namespace UploadersLib.FileUploaders
|
||||
{
|
||||
|
|
|
@ -26,7 +26,6 @@ You should have received a copy of the GNU General Public License
|
|||
using HelpersLib;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
namespace UploadersLib.FileUploaders
|
||||
{
|
||||
|
|
|
@ -25,7 +25,6 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
namespace UploadersLib.FileUploaders
|
||||
{
|
||||
|
|
|
@ -27,7 +27,6 @@ You should have received a copy of the GNU General Public License
|
|||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Xml.Linq;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
namespace UploadersLib.FileUploaders
|
||||
{
|
||||
|
|
|
@ -26,7 +26,6 @@ You should have received a copy of the GNU General Public License
|
|||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
namespace UploadersLib.FileUploaders
|
||||
{
|
||||
|
|
|
@ -26,7 +26,6 @@ You should have received a copy of the GNU General Public License
|
|||
using Newtonsoft.Json;
|
||||
using System.Collections.Specialized;
|
||||
using System.IO;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
namespace UploadersLib.FileUploaders
|
||||
{
|
||||
|
|
|
@ -29,7 +29,6 @@ You should have received a copy of the GNU General Public License
|
|||
using System.Drawing.Design;
|
||||
using System.IO;
|
||||
using System.Web;
|
||||
using System.Windows.Forms.Design;
|
||||
|
||||
namespace UploadersLib
|
||||
{
|
||||
|
|
|
@ -28,7 +28,6 @@ You should have received a copy of the GNU General Public License
|
|||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
namespace UploadersLib.FileUploaders
|
||||
{
|
||||
|
|
|
@ -27,9 +27,7 @@ You should have received a copy of the GNU General Public License
|
|||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@ You should have received a copy of the GNU General Public License
|
|||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
namespace UploadersLib.FileUploaders
|
||||
{
|
||||
|
|
|
@ -31,7 +31,6 @@ You should have received a copy of the GNU General Public License
|
|||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
namespace UploadersLib.FileUploaders
|
||||
{
|
||||
|
|
|
@ -31,7 +31,6 @@ You should have received a copy of the GNU General Public License
|
|||
using System.Text.RegularExpressions;
|
||||
using System.Threading;
|
||||
using System.Xml.Linq;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
namespace UploadersLib.FileUploaders
|
||||
{
|
||||
|
|
|
@ -25,7 +25,6 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
using System.IO;
|
||||
using System.Text.RegularExpressions;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
namespace UploadersLib.FileUploaders
|
||||
{
|
||||
|
|
|
@ -25,7 +25,6 @@ You should have received a copy of the GNU General Public License
|
|||
|
||||
using HelpersLib;
|
||||
using System.IO;
|
||||
using UploadersLib.HelperClasses;
|
||||
|
||||
namespace UploadersLib.FileUploaders
|
||||
{
|
||||
|
|
|
@ -26,7 +26,6 @@ You should have received a copy of the GNU General Public License
|
|||
using HelpersLib;
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
using UploadersLib.Properties;
|
||||
|
||||
namespace UploadersLib
|
||||
{
|
||||
|
|
|
@ -31,9 +31,7 @@ You should have received a copy of the GNU General Public License
|
|||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using UploadersLib.FileUploaders;
|
||||
using UploadersLib.HelperClasses;
|
||||
using UploadersLib.ImageUploaders;
|
||||
using UploadersLib.Properties;
|
||||
|
||||
namespace UploadersLib
|
||||
{
|
||||
|
|
|
@ -39,7 +39,6 @@ You should have received a copy of the GNU General Public License
|
|||
using UploadersLib.Forms;
|
||||
using UploadersLib.HelperClasses;
|
||||
using UploadersLib.ImageUploaders;
|
||||
using UploadersLib.Properties;
|
||||
using UploadersLib.SocialServices;
|
||||
using UploadersLib.TextUploaders;
|
||||
using UploadersLib.URLShorteners;
|
||||
|
|
|
@ -24,7 +24,6 @@ You should have received a copy of the GNU General Public License
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using HelpersLib;
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue