diff --git a/OnTopReplica/Actions.cs b/OnTopReplica/Actions.cs deleted file mode 100644 index 8406001..0000000 --- a/OnTopReplica/Actions.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace OnTopReplica { - - public delegate void Action(); - - public delegate void Action(T1 arg1); - - public delegate void Action(T1 arg1, T2 arg2); - - public delegate void Action(T1 arg1, T2 arg2, T3 arg3); - -} diff --git a/OnTopReplica/EnumerableExtensions.cs b/OnTopReplica/EnumerableExtensions.cs deleted file mode 100644 index 71945c6..0000000 --- a/OnTopReplica/EnumerableExtensions.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace OnTopReplica { - /// - /// Extension methods for IEnumerable. - /// Poor man's LINQ. - /// - static class EnumerableExtensions { - - /// - /// Gets the first element of an enumeration of a default value. - /// - public static T FirstOrDefault(this IEnumerable collection) { - if (collection == null) - throw new ArgumentNullException(); - - using (var enumerator = collection.GetEnumerator()) { - if (!enumerator.MoveNext()) - return default(T); - else - return enumerator.Current; - } - } - - /// - /// Checks whether an enumeration contains a value. - /// - public static bool Contains(this IEnumerable collection, T value) { - foreach (var v in collection) - if (v.Equals(value)) - return true; - - return false; - } - - } -} diff --git a/OnTopReplica/ExtensionAttribute.cs b/OnTopReplica/ExtensionAttribute.cs deleted file mode 100644 index 09eb1e5..0000000 --- a/OnTopReplica/ExtensionAttribute.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace System.Runtime.CompilerServices { - /// - /// Fake extension attribute that adds extension method support to C# 2 (without System.Core.dll reference). - /// - class ExtensionAttribute : Attribute { - } -} diff --git a/OnTopReplica/FocusedTextBox.cs b/OnTopReplica/FocusedTextBox.cs index 9acdca2..b2a2cc6 100644 --- a/OnTopReplica/FocusedTextBox.cs +++ b/OnTopReplica/FocusedTextBox.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Linq; using System.Text; using WindowsFormsAero; using System.Windows.Forms; diff --git a/OnTopReplica/HotKeyTextBox.cs b/OnTopReplica/HotKeyTextBox.cs index 78fd90a..9abcead 100644 --- a/OnTopReplica/HotKeyTextBox.cs +++ b/OnTopReplica/HotKeyTextBox.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Linq; using System.Text; using System.Windows.Forms; diff --git a/OnTopReplica/MainForm.Designer.cs b/OnTopReplica/MainForm.Designer.cs index 779cead..1c0ec00 100644 --- a/OnTopReplica/MainForm.Designer.cs +++ b/OnTopReplica/MainForm.Designer.cs @@ -485,17 +485,17 @@ // // MainForm // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.Control; - this.ClientSize = new System.Drawing.Size(269, 192); + this.ClientSize = new System.Drawing.Size(318, 226); this.ControlBox = false; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.HideCaption = true; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; - this.MinimumSize = new System.Drawing.Size(40, 40); + this.MinimumSize = new System.Drawing.Size(44, 44); this.Name = "MainForm"; this.Text = "OnTopReplica"; this.TopMost = true; diff --git a/OnTopReplica/MainForm.resx b/OnTopReplica/MainForm.resx index c9dc6f3..5ef7664 100644 --- a/OnTopReplica/MainForm.resx +++ b/OnTopReplica/MainForm.resx @@ -112,27 +112,27 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + 17, 17 - + 142, 17 - + 275, 17 - + 578, 17 - + 399, 17 - + AAABAAIAMDAAAAEAIACoJQAAJgAAABAQAAABACAAaAQAAM4lAAAoAAAAMAAAAGAAAAABACAAAAAAAAAA diff --git a/OnTopReplica/OnTopReplica.csproj b/OnTopReplica/OnTopReplica.csproj index b20ea75..6fcda6a 100644 --- a/OnTopReplica/OnTopReplica.csproj +++ b/OnTopReplica/OnTopReplica.csproj @@ -101,14 +101,11 @@ - Form - - Component @@ -231,7 +228,6 @@ True Strings.ru.resx - diff --git a/OnTopReplica/StartupOptions/Factory.cs b/OnTopReplica/StartupOptions/Factory.cs index 8676f19..8602911 100644 --- a/OnTopReplica/StartupOptions/Factory.cs +++ b/OnTopReplica/StartupOptions/Factory.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Linq; using System.Text; using System.Drawing; using System.ComponentModel; diff --git a/OnTopReplica/StartupOptions/Options.cs b/OnTopReplica/StartupOptions/Options.cs index f596c83..1980a42 100644 --- a/OnTopReplica/StartupOptions/Options.cs +++ b/OnTopReplica/StartupOptions/Options.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Linq; using System.Text; using System.Drawing; using System.IO; diff --git a/OnTopReplica/Tuples.cs b/OnTopReplica/Tuples.cs deleted file mode 100644 index d504364..0000000 --- a/OnTopReplica/Tuples.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace OnTopReplica { - - public class Tuple { - - public Tuple(T1 item1, T2 item2) { - Item1 = item1; - Item2 = item2; - } - - public T1 Item1 { get; set; } - - public T2 Item2 { get; set; } - - } - -}