diff --git a/Ping Tester Aluminium/API/Extensions/ButtonExtension.cs b/Ping Tester Aluminium/API/Extensions/Components Extensions/ButtonExtension.cs
similarity index 100%
rename from Ping Tester Aluminium/API/Extensions/ButtonExtension.cs
rename to Ping Tester Aluminium/API/Extensions/Components Extensions/ButtonExtension.cs
diff --git a/Ping Tester Aluminium/API/Extensions/ControlExtension.cs b/Ping Tester Aluminium/API/Extensions/Components Extensions/ControlExtension.cs
similarity index 100%
rename from Ping Tester Aluminium/API/Extensions/ControlExtension.cs
rename to Ping Tester Aluminium/API/Extensions/Components Extensions/ControlExtension.cs
diff --git a/Ping Tester Aluminium/API/Extensions/FormExtension.cs b/Ping Tester Aluminium/API/Extensions/Components Extensions/FormExtension.cs
similarity index 100%
rename from Ping Tester Aluminium/API/Extensions/FormExtension.cs
rename to Ping Tester Aluminium/API/Extensions/Components Extensions/FormExtension.cs
diff --git a/Ping Tester Aluminium/API/Extensions/ProgressBarExtension.cs b/Ping Tester Aluminium/API/Extensions/Components Extensions/ProgressBarExtension.cs
similarity index 71%
rename from Ping Tester Aluminium/API/Extensions/ProgressBarExtension.cs
rename to Ping Tester Aluminium/API/Extensions/Components Extensions/ProgressBarExtension.cs
index b4d1beb..33dfd1a 100644
--- a/Ping Tester Aluminium/API/Extensions/ProgressBarExtension.cs
+++ b/Ping Tester Aluminium/API/Extensions/Components Extensions/ProgressBarExtension.cs
@@ -23,5 +23,12 @@ public static void SetState(this ProgressBar progressBar, State state)
{
SendMessage(progressBar.Handle, 1040, (IntPtr)state, IntPtr.Zero);
}
+
+ public static void SetValue(this ProgressBar progressBar, int value)
+ {
+ if (value < progressBar.Minimum) value = progressBar.Minimum;
+ if (value > progressBar.Maximum) value = progressBar.Maximum;
+ progressBar.Value = value;
+ }
}
}
diff --git a/Ping Tester Aluminium/API/Extensions/StringExtension.cs b/Ping Tester Aluminium/API/Extensions/StringExtension.cs
index 03d6fde..4deafa5 100644
--- a/Ping Tester Aluminium/API/Extensions/StringExtension.cs
+++ b/Ping Tester Aluminium/API/Extensions/StringExtension.cs
@@ -2,27 +2,26 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
+using System.Text.RegularExpressions;
namespace PingTesterAluminium
{
public static class StringExtension
{
- public static bool IsEmpty(this string str)
+ public static bool GetIsNullOrWhiteSpace(this string str)
{
- return str == string.Empty;
+ return string.IsNullOrWhiteSpace(str);
}
- public static bool IsValidHost(this string str)
+
+ public static bool GetIsValidHost(this string str)
{
- //try
- //{
- // IPHostEntry ipHost = Dns.GetHostEntry(host);
- // return true;
- //}
- //catch (SocketException)
- //{
- // return false;
- //}
return Uri.CheckHostName(str) != UriHostNameType.Unknown;
}
+
+ public static string ToTitleCase(this string str)
+ {
+ Regex regex = new Regex(@"(?<=[A-Z])(?=[A-Z][a-z])|(?<=[^A-Z])(?=[A-Z])|(?<=[A-Za-z])(?=[^A-Za-z])");
+ return regex.Replace(str, " ");
+ }
}
}
diff --git a/Ping Tester Aluminium/API/PingRating.cs b/Ping Tester Aluminium/API/PingRating.cs
new file mode 100644
index 0000000..81e696a
--- /dev/null
+++ b/Ping Tester Aluminium/API/PingRating.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace PingTesterAluminium
+{
+ public enum PingRating
+ {
+ Unknown = 0,
+ Amazing = 1,
+ Excellent = 2,
+ Good = 3,
+ NotBad = 4,
+ Bad = 5,
+ Mediocre = 6,
+ Poor = 7,
+ Terrible = 8
+ }
+}
diff --git a/Ping Tester Aluminium/API/PingResult.cs b/Ping Tester Aluminium/API/PingResult.cs
index affd20d..646bc84 100644
--- a/Ping Tester Aluminium/API/PingResult.cs
+++ b/Ping Tester Aluminium/API/PingResult.cs
@@ -1,24 +1,78 @@
using System;
using System.Drawing;
using System.Net.NetworkInformation;
+using System.Net;
namespace PingTesterAluminium
{
public class PingResult
{
- public long Time { get; set; }
- public string Rating { get; set; }
- public Color Color { get; set; }
- public string Message { get; set; }
- public string Host { get; set; }
+ public IPAddress Address { get; private set; }
+ public Byte[] Buffer { get; private set; }
+ public long Time { get; private set; }
+ public IPStatus Status { get; private set; }
+ public int Ttl { get; set; }
+ public bool DontFragment { get; private set; }
+ public PingRating Rating { get; private set; }
+ public Color RatingColor { get; private set; }
+ public Color StatusColor { get; private set; }
+ public string ErrorMessage { get; private set; }
+ public bool HasError { get; private set; }
- public PingResult(int time, string rating, Color color, string message, string host)
+ public PingResult(PingReply reply = null)
{
- this.Time = time;
- this.Rating = rating;
- this.Color = color;
- this.Message = message;
- this.Host = host;
+ if (reply == null)
+ {
+ this.Time = -1;
+ this.Status = IPStatus.Unknown;
+ }
+ else
+ {
+ this.Address = reply.Address;
+ this.Buffer = reply.Buffer;
+ this.Time = reply.RoundtripTime;
+ this.Status = reply.Status;
+ this.Ttl = reply.Options.Ttl;
+ this.DontFragment = reply.Options.DontFragment;
+ }
+ this.Rating = GetRating(this.Time);
+ this.RatingColor = GetRatingColor(this.Time);
+ this.StatusColor = GetStatusColor(this.Status);
+ }
+
+ public PingResult(string errorMessage)
+ : this()
+ {
+ this.ErrorMessage = errorMessage;
+ this.HasError = true;
+ }
+
+ public static PingRating GetRating(long time = -1)
+ {
+ if (time < 0) return PingRating.Unknown;
+ if (time < 30) return PingRating.Amazing;
+ if (time < 60) return PingRating.Excellent;
+ if (time < 100) return PingRating.Good;
+ if (time < 150) return PingRating.NotBad;
+ if (time < 200) return PingRating.Bad;
+ if (time < 250) return PingRating.Mediocre;
+ if (time < 300) return PingRating.Poor;
+ return PingRating.Terrible;
+ }
+
+ public static Color GetRatingColor(long time = -1)
+ {
+ if (time < 0) return Color.Gray;
+ if (time <= 100) return Color.Green;
+ if (time <= 150) return Color.Yellow;
+ return Color.Red;
+ }
+
+ public static Color GetStatusColor(IPStatus status = IPStatus.Unknown)
+ {
+ if (status == IPStatus.Unknown) return Color.Gray;
+ if (status == IPStatus.Success) return Color.Blue;
+ else return Color.DarkRed;
}
}
}
diff --git a/Ping Tester Aluminium/API/PingTest.cs b/Ping Tester Aluminium/API/PingTest.cs
index 53d3220..165d9fc 100644
--- a/Ping Tester Aluminium/API/PingTest.cs
+++ b/Ping Tester Aluminium/API/PingTest.cs
@@ -6,51 +6,27 @@ namespace PingTesterAluminium
{
public static class PingTest
{
- public static PingResult Ping(string host)
+ public static PingResult Run(string host, int timeout = 5000,
+ int bufferLength = 32, int ttl = 128, bool dontFragment = false)
{
- if (host.IsEmpty() || !host.IsValidHost())
- {
- host = "google.com";
- }
- PingReply pingReply = null;
try
{
- pingReply = new Ping().Send(host);
- }
- catch (Exception exception)
- {
- return new PingResult(-1, "Error", Color.DarkRed, exception.Message, host);
+ if (timeout < 0) timeout = 0;
+ if (bufferLength < 0) bufferLength = 0;
+ if (bufferLength > 65500) bufferLength = 65500;
+
+ if (ttl < 0) ttl = 0;
+ if (ttl > 255) ttl = 255;
+
+ PingReply reply = new Ping().Send(host, timeout, new byte[bufferLength],
+ new PingOptions(ttl, dontFragment));
+ return new PingResult(reply);
}
- if (pingReply.Status != IPStatus.Success)
- {
- return new PingResult((int)pingReply.RoundtripTime, "No Response",
- Color.Gray, pingReply.Status.ToString(), host);
- }
- else
+ catch (Exception exception)
{
- return new PingResult((int)pingReply.RoundtripTime, GetRating(pingReply.RoundtripTime),
- GetColor(pingReply.RoundtripTime), pingReply.Status.ToString(), host);
+ return new PingResult(exception.Message);
}
}
-
- public static string GetRating(long time)
- {
- if (time <= 30) return "Amazing";
- if (time <= 60) return "Excellent";
- if (time <= 100) return "Good";
- if (time <= 150) return "Not Bad";
- if (time <= 200) return "Bad";
- if (time <= 250) return "Mediocre";
- if (time <= 300) return "Poor";
- return "Terrible";
- }
-
- private static Color GetColor(long time)
- {
- if (time <= 100) return Color.Green;
- if (time <= 150) return Color.Yellow;
- return Color.Red;
- }
}
}
diff --git a/Ping Tester Aluminium/API/PingTestManager.cs b/Ping Tester Aluminium/API/PingTestManager.cs
new file mode 100644
index 0000000..e835bff
--- /dev/null
+++ b/Ping Tester Aluminium/API/PingTestManager.cs
@@ -0,0 +1,101 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using PingTesterAluminium.Properties;
+
+namespace PingTesterAluminium
+{
+ public static class PingTestManager
+ {
+ public static string Host
+ {
+ get
+ {
+ return Settings.Default.Host;
+ }
+ set
+ {
+ Settings.Default.Host = value;
+ Settings.Default.Save();
+ }
+ }
+ public static int Interval
+ {
+ get
+ {
+ return Settings.Default.Interval;
+ }
+ set
+ {
+ if (value < 100) value = 100;
+ Settings.Default.Interval = value;
+ Settings.Default.Save();
+ }
+ }
+ public static int Timeout
+ {
+ get
+ {
+ return Settings.Default.Timeout;
+ }
+ set
+ {
+ if (value < 0) value = 0;
+ Settings.Default.Timeout = value;
+ Settings.Default.Save();
+ }
+ }
+ public static int BufferLength
+ {
+ get
+ {
+ return Settings.Default.BufferLength;
+ }
+ set
+ {
+ if (value < 0) value = 0;
+ if (value > 65500) value = 65500;
+ Settings.Default.BufferLength = value;
+ Settings.Default.Save();
+ }
+ }
+ public static int Ttl
+ {
+ get
+ {
+ return Settings.Default.Ttl;
+ }
+ set
+ {
+ if (value < 0) value = 0;
+ if (value > 255) value = 255;
+ Settings.Default.Ttl = value;
+ Settings.Default.Save();
+ }
+ }
+ public static bool DontFragment
+ {
+ get
+ {
+ return Settings.Default.DontFragment;
+ }
+ set
+ {
+ Settings.Default.DontFragment = value;
+ Settings.Default.Save();
+ }
+ }
+
+ public static PingResult RunPingTest()
+ {
+ return PingTest.Run(
+ host: Host,
+ timeout: Timeout,
+ bufferLength: BufferLength,
+ ttl: Ttl,
+ dontFragment: DontFragment
+ );
+ }
+ }
+}
diff --git a/Ping Tester Aluminium/Form1.Designer.cs b/Ping Tester Aluminium/Form1.Designer.cs
deleted file mode 100644
index 1fb66fa..0000000
--- a/Ping Tester Aluminium/Form1.Designer.cs
+++ /dev/null
@@ -1,300 +0,0 @@
-namespace PingTesterAluminium
-{
- partial class Form1
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
- this.button_play = new PingTesterAluminium.AluminiumButton();
- this.label_host = new PingTesterAluminium.AluminiumLabel();
- this.label_buffer = new PingTesterAluminium.AluminiumLabel();
- this.label_time = new PingTesterAluminium.AluminiumLabel();
- this.label_status = new PingTesterAluminium.AluminiumLabel();
- this.label_ttl = new PingTesterAluminium.AluminiumLabel();
- this.label_rating = new PingTesterAluminium.AluminiumLabel();
- this.panel_time = new System.Windows.Forms.Panel();
- this.progressBar_time2 = new System.Windows.Forms.ProgressBar();
- this.progressBar_time4 = new System.Windows.Forms.ProgressBar();
- this.progressBar_time3 = new System.Windows.Forms.ProgressBar();
- this.progressBar_time1 = new System.Windows.Forms.ProgressBar();
- this.progressBar_time5 = new System.Windows.Forms.ProgressBar();
- this.timer_main = new System.Windows.Forms.Timer(this.components);
- this.backgroundWorker_main = new System.ComponentModel.BackgroundWorker();
- this.panel_main.SuspendLayout();
- this.panel_time.SuspendLayout();
- this.SuspendLayout();
- //
- // panel_main
- //
- this.panel_main.Controls.Add(this.panel_time);
- this.panel_main.Controls.Add(this.label_rating);
- this.panel_main.Controls.Add(this.label_ttl);
- this.panel_main.Controls.Add(this.label_status);
- this.panel_main.Controls.Add(this.label_time);
- this.panel_main.Controls.Add(this.label_buffer);
- this.panel_main.Controls.Add(this.label_host);
- this.panel_main.Controls.Add(this.button_play);
- this.panel_main.Size = new System.Drawing.Size(380, 424);
- //
- // button_play
- //
- this.button_play.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.button_play.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.button_play.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button_play.BackgroundImage")));
- this.button_play.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.button_play.Cursor = System.Windows.Forms.Cursors.Hand;
- this.button_play.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.button_play.Font = new System.Drawing.Font("Visitor TT1 BRK", 15F);
- this.button_play.Image = global::PingTesterAluminium.Properties.Resources.play;
- this.button_play.Location = new System.Drawing.Point(169, 379);
- this.button_play.Name = "button_play";
- this.button_play.Size = new System.Drawing.Size(40, 32);
- this.button_play.TabIndex = 7;
- this.button_play.UseVisualStyleBackColor = false;
- this.button_play.Click += new System.EventHandler(this.button_play_Click);
- //
- // label_host
- //
- this.label_host.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
- this.label_host.AutoEllipsis = true;
- this.label_host.BackColor = System.Drawing.Color.Transparent;
- this.label_host.Font = new System.Drawing.Font("Visitor TT1 BRK", 20F);
- this.label_host.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.label_host.Location = new System.Drawing.Point(18, 42);
- this.label_host.Margin = new System.Windows.Forms.Padding(0);
- this.label_host.Name = "label_host";
- this.label_host.Size = new System.Drawing.Size(338, 32);
- this.label_host.TabIndex = 0;
- this.label_host.Text = "127.0.0.1";
- this.label_host.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
- //
- // label_buffer
- //
- this.label_buffer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
- this.label_buffer.AutoEllipsis = true;
- this.label_buffer.BackColor = System.Drawing.Color.Transparent;
- this.label_buffer.Font = new System.Drawing.Font("Visitor TT1 BRK", 20F);
- this.label_buffer.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.label_buffer.Location = new System.Drawing.Point(18, 185);
- this.label_buffer.Margin = new System.Windows.Forms.Padding(0);
- this.label_buffer.Name = "label_buffer";
- this.label_buffer.Size = new System.Drawing.Size(338, 32);
- this.label_buffer.TabIndex = 4;
- this.label_buffer.Text = "32 bytes";
- this.label_buffer.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
- //
- // label_time
- //
- this.label_time.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
- this.label_time.AutoEllipsis = true;
- this.label_time.BackColor = System.Drawing.Color.Transparent;
- this.label_time.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.label_time.Location = new System.Drawing.Point(18, 153);
- this.label_time.Margin = new System.Windows.Forms.Padding(0);
- this.label_time.Name = "label_time";
- this.label_time.Size = new System.Drawing.Size(338, 32);
- this.label_time.TabIndex = 3;
- this.label_time.Text = "0 ms";
- this.label_time.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
- //
- // label_status
- //
- this.label_status.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
- this.label_status.AutoEllipsis = true;
- this.label_status.BackColor = System.Drawing.Color.Transparent;
- this.label_status.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.label_status.Location = new System.Drawing.Point(18, 121);
- this.label_status.Margin = new System.Windows.Forms.Padding(0);
- this.label_status.Name = "label_status";
- this.label_status.Size = new System.Drawing.Size(338, 32);
- this.label_status.TabIndex = 2;
- this.label_status.Text = "Success";
- this.label_status.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
- //
- // label_ttl
- //
- this.label_ttl.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
- this.label_ttl.AutoEllipsis = true;
- this.label_ttl.BackColor = System.Drawing.Color.Transparent;
- this.label_ttl.Font = new System.Drawing.Font("Visitor TT1 BRK", 20F);
- this.label_ttl.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.label_ttl.Location = new System.Drawing.Point(18, 217);
- this.label_ttl.Margin = new System.Windows.Forms.Padding(0);
- this.label_ttl.Name = "label_ttl";
- this.label_ttl.Size = new System.Drawing.Size(338, 32);
- this.label_ttl.TabIndex = 5;
- this.label_ttl.Text = "118 TTL";
- this.label_ttl.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
- //
- // label_rating
- //
- this.label_rating.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
- this.label_rating.AutoEllipsis = true;
- this.label_rating.BackColor = System.Drawing.Color.Transparent;
- this.label_rating.Font = new System.Drawing.Font("Visitor TT1 BRK", 40F);
- this.label_rating.Location = new System.Drawing.Point(13, 75);
- this.label_rating.Margin = new System.Windows.Forms.Padding(0);
- this.label_rating.Name = "label_rating";
- this.label_rating.Size = new System.Drawing.Size(343, 47);
- this.label_rating.TabIndex = 1;
- this.label_rating.Text = "Good";
- this.label_rating.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // panel_time
- //
- this.panel_time.BackgroundImage = global::PingTesterAluminium.Properties.Resources.background;
- this.panel_time.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.panel_time.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.panel_time.Controls.Add(this.progressBar_time2);
- this.panel_time.Controls.Add(this.progressBar_time4);
- this.panel_time.Controls.Add(this.progressBar_time3);
- this.panel_time.Controls.Add(this.progressBar_time1);
- this.panel_time.Controls.Add(this.progressBar_time5);
- this.panel_time.Location = new System.Drawing.Point(13, 263);
- this.panel_time.Name = "panel_time";
- this.panel_time.Size = new System.Drawing.Size(353, 53);
- this.panel_time.TabIndex = 6;
- //
- // progressBar_time2
- //
- this.progressBar_time2.ForeColor = System.Drawing.SystemColors.ControlText;
- this.progressBar_time2.Location = new System.Drawing.Point(78, 10);
- this.progressBar_time2.Margin = new System.Windows.Forms.Padding(4);
- this.progressBar_time2.MarqueeAnimationSpeed = 0;
- this.progressBar_time2.Maximum = 300;
- this.progressBar_time2.Name = "progressBar_time2";
- this.progressBar_time2.Size = new System.Drawing.Size(60, 32);
- this.progressBar_time2.Step = 0;
- this.progressBar_time2.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
- this.progressBar_time2.TabIndex = 1;
- this.progressBar_time2.Value = 300;
- //
- // progressBar_time4
- //
- this.progressBar_time4.ForeColor = System.Drawing.SystemColors.ControlText;
- this.progressBar_time4.Location = new System.Drawing.Point(214, 10);
- this.progressBar_time4.Margin = new System.Windows.Forms.Padding(4);
- this.progressBar_time4.MarqueeAnimationSpeed = 0;
- this.progressBar_time4.Maximum = 300;
- this.progressBar_time4.Name = "progressBar_time4";
- this.progressBar_time4.Size = new System.Drawing.Size(60, 32);
- this.progressBar_time4.Step = 0;
- this.progressBar_time4.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
- this.progressBar_time4.TabIndex = 3;
- this.progressBar_time4.Value = 300;
- //
- // progressBar_time3
- //
- this.progressBar_time3.ForeColor = System.Drawing.SystemColors.ControlText;
- this.progressBar_time3.Location = new System.Drawing.Point(146, 10);
- this.progressBar_time3.Margin = new System.Windows.Forms.Padding(4);
- this.progressBar_time3.MarqueeAnimationSpeed = 0;
- this.progressBar_time3.Maximum = 300;
- this.progressBar_time3.Name = "progressBar_time3";
- this.progressBar_time3.Size = new System.Drawing.Size(60, 32);
- this.progressBar_time3.Step = 0;
- this.progressBar_time3.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
- this.progressBar_time3.TabIndex = 2;
- this.progressBar_time3.Value = 300;
- //
- // progressBar_time1
- //
- this.progressBar_time1.ForeColor = System.Drawing.SystemColors.ControlText;
- this.progressBar_time1.Location = new System.Drawing.Point(10, 10);
- this.progressBar_time1.Margin = new System.Windows.Forms.Padding(4);
- this.progressBar_time1.MarqueeAnimationSpeed = 0;
- this.progressBar_time1.Maximum = 300;
- this.progressBar_time1.Name = "progressBar_time1";
- this.progressBar_time1.Size = new System.Drawing.Size(60, 32);
- this.progressBar_time1.Step = 0;
- this.progressBar_time1.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
- this.progressBar_time1.TabIndex = 0;
- this.progressBar_time1.Value = 300;
- //
- // progressBar_time5
- //
- this.progressBar_time5.ForeColor = System.Drawing.SystemColors.ControlText;
- this.progressBar_time5.Location = new System.Drawing.Point(282, 10);
- this.progressBar_time5.Margin = new System.Windows.Forms.Padding(4);
- this.progressBar_time5.MarqueeAnimationSpeed = 0;
- this.progressBar_time5.Maximum = 300;
- this.progressBar_time5.Name = "progressBar_time5";
- this.progressBar_time5.Size = new System.Drawing.Size(60, 32);
- this.progressBar_time5.Step = 0;
- this.progressBar_time5.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
- this.progressBar_time5.TabIndex = 4;
- this.progressBar_time5.Value = 300;
- //
- // timer_main
- //
- this.timer_main.Interval = 1000;
- this.timer_main.Tick += new System.EventHandler(this.timer_main_Tick);
- //
- // backgroundWorker_main
- //
- this.backgroundWorker_main.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker_main_DoWork);
- this.backgroundWorker_main.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker_main_RunWorkerCompleted);
- //
- // Form1
- //
- this.AboutButtonVisible = true;
- this.AutoScaleDimensions = new System.Drawing.SizeF(16F, 24F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(380, 424);
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.MinimizeButtonVisible = true;
- this.Name = "Form1";
- this.SettingsButtonVisible = true;
- this.Text = "Ping Tester";
- this.Title = "Ping Tester";
- this.TitleBarImage = global::PingTesterAluminium.Properties.Resources.icon;
- this.panel_main.ResumeLayout(false);
- this.panel_time.ResumeLayout(false);
- this.ResumeLayout(false);
-
- }
-
- #endregion
-
- private AluminiumButton button_play;
- private AluminiumLabel label_host;
- private AluminiumLabel label_buffer;
- private AluminiumLabel label_ttl;
- private AluminiumLabel label_status;
- private AluminiumLabel label_time;
- private AluminiumLabel label_rating;
- private System.Windows.Forms.Panel panel_time;
- private System.Windows.Forms.ProgressBar progressBar_time2;
- private System.Windows.Forms.ProgressBar progressBar_time4;
- private System.Windows.Forms.ProgressBar progressBar_time3;
- private System.Windows.Forms.ProgressBar progressBar_time1;
- private System.Windows.Forms.ProgressBar progressBar_time5;
- public System.Windows.Forms.Timer timer_main;
- private System.ComponentModel.BackgroundWorker backgroundWorker_main;
- }
-}
\ No newline at end of file
diff --git a/Ping Tester Aluminium/Form1.cs b/Ping Tester Aluminium/Form1.cs
deleted file mode 100644
index e169646..0000000
--- a/Ping Tester Aluminium/Form1.cs
+++ /dev/null
@@ -1,121 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Windows.Forms;
-using PingTesterAluminium.Properties;
-
-namespace PingTesterAluminium
-{
- public partial class Form1 : AluminiumForm
- {
- public int Counter { get; set; }
- public List ProgressBars { get; set; }
-
- public Form1()
- {
- InitializeComponent();
- ProgressBars = new List();
- foreach (Control control in panel_time.Controls)
- {
- if (control is ProgressBar)
- {
- ProgressBars.Add(control as ProgressBar);
- }
- }
- timer_main.Start();
- }
-
- public void IncrementCounter()
- {
- if (Counter < ProgressBars.Count - 1)
- {
- Counter++;
- }
- else
- {
- Counter = 0;
- }
- }
-
- public void UpdateProgressBar(ProgressBar progressBar, PingResult response)
- {
- if (response.Time > progressBar.Maximum)
- {
- progressBar.Value = progressBar.Maximum;
- }
- else if (response.Time < progressBar.Minimum)
- {
- progressBar.Value = progressBar.Minimum;
- }
- else
- {
- progressBar.Value = (int)response.Time;
- }
- progressBar.ForeColor = response.Color;
- }
-
- public void UpdateProgressBar(PingResult response)
- {
- UpdateProgressBar(ProgressBars[Counter], response);
- IncrementCounter();
- }
-
- private void timer_main_Tick(object sender, EventArgs e)
- {
- if (Settings.Default.Interval < 1000)
- {
- timer_main.Interval = 1000;
- }
- else
- {
- timer_main.Interval = Settings.Default.Interval;
- }
-
- if (timer_main.Interval != Settings.Default.Interval)
- {
- Settings.Default.Interval = timer_main.Interval;
- Settings.Default.Save();
- }
-
- if (!backgroundWorker_main.IsBusy)
- {
- backgroundWorker_main.RunWorkerAsync(Settings.Default.Host);
- }
- }
-
- private void backgroundWorker_main_DoWork(object sender, DoWorkEventArgs e)
- {
- e.Result = PingTest.Ping(e.Argument as string);
- }
-
- private void backgroundWorker_main_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
- {
- PingResult response = e.Result as PingResult;
-
- label_time.Text = response.Time > 0 ? response.Time.ToString() + " ms" : "Timeout";
- label_time.ForeColor = response.Color;
-
- UpdateProgressBar(response);
-
- label_rating.Text = response.Rating;
- label_rating.ForeColor = response.Color;
-
- label_host.Text = response.Host;
-
- if (response.Host != Settings.Default.Host)
- {
- Settings.Default.Host = response.Host;
- Settings.Default.Save();
- }
- }
-
- private void button_play_Click(object sender, EventArgs e)
- {
-
- }
- }
-}
diff --git a/Ping Tester Aluminium/Form2.Designer.cs b/Ping Tester Aluminium/Form2.Designer.cs
deleted file mode 100644
index 45b7b32..0000000
--- a/Ping Tester Aluminium/Form2.Designer.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-namespace PingTesterAluminium
-{
- partial class Form2
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Text = "Form2";
- }
-
- #endregion
- }
-}
\ No newline at end of file
diff --git a/Ping Tester Aluminium/Form2.cs b/Ping Tester Aluminium/Form2.cs
deleted file mode 100644
index c3d493d..0000000
--- a/Ping Tester Aluminium/Form2.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Windows.Forms;
-
-namespace PingTesterAluminium
-{
- public partial class Form2 : AluminiumForm
- {
- public Form2()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/Ping Tester Aluminium/GUI/Components/AluminiumForm.cs b/Ping Tester Aluminium/GUI/Components/AluminiumForm.cs
index 325b98b..9f573de 100644
--- a/Ping Tester Aluminium/GUI/Components/AluminiumForm.cs
+++ b/Ping Tester Aluminium/GUI/Components/AluminiumForm.cs
@@ -29,11 +29,11 @@ public bool AboutButtonVisible
{
get
{
- return this.button_settings.Visible;
+ return this.button_about.Visible;
}
set
{
- this.button_settings.Visible = value;
+ this.button_about.Visible = value;
}
}
diff --git a/Ping Tester Aluminium/GUI/Form_About.Designer.cs b/Ping Tester Aluminium/GUI/Form_About.Designer.cs
new file mode 100644
index 0000000..17a86c9
--- /dev/null
+++ b/Ping Tester Aluminium/GUI/Form_About.Designer.cs
@@ -0,0 +1,93 @@
+namespace PingTesterAluminium
+{
+ partial class Form_About
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form_About));
+ this.button_ok = new PingTesterAluminium.AluminiumButton();
+ this.label_about = new PingTesterAluminium.AluminiumLabel();
+ this.panel_main.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // panel_main
+ //
+ this.panel_main.Controls.Add(this.label_about);
+ this.panel_main.Controls.Add(this.button_ok);
+ this.panel_main.Size = new System.Drawing.Size(413, 272);
+ //
+ // button_ok
+ //
+ this.button_ok.BackColor = System.Drawing.Color.Silver;
+ this.button_ok.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button_ok.BackgroundImage")));
+ this.button_ok.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.button_ok.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.button_ok.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button_ok.Font = new System.Drawing.Font("Visitor TT1 BRK", 15F);
+ this.button_ok.Location = new System.Drawing.Point(295, 224);
+ this.button_ok.Name = "button_ok";
+ this.button_ok.Size = new System.Drawing.Size(100, 32);
+ this.button_ok.TabIndex = 0;
+ this.button_ok.Text = "Ok";
+ this.button_ok.UseVisualStyleBackColor = false;
+ this.button_ok.Click += new System.EventHandler(this.button_ok_Click);
+ //
+ // label_about
+ //
+ this.label_about.AutoEllipsis = true;
+ this.label_about.BackColor = System.Drawing.Color.Transparent;
+ this.label_about.Location = new System.Drawing.Point(15, 42);
+ this.label_about.Margin = new System.Windows.Forms.Padding(0);
+ this.label_about.Name = "label_about";
+ this.label_about.Size = new System.Drawing.Size(380, 173);
+ this.label_about.TabIndex = 1;
+ this.label_about.Text = "Ping Tester Aluminium 0.1\r\n© 2019 Elhafid Softwares \r\n@ Ambratolm\r\n\r\nambratolm@gm" +
+ "ail.com\r\nambratolm.ml";
+ this.label_about.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // Form_About
+ //
+ this.AboutButtonVisible = true;
+ this.AutoScaleDimensions = new System.Drawing.SizeF(16F, 24F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(413, 272);
+ this.MinimizeButtonVisible = true;
+ this.Name = "Form_About";
+ this.SettingsButtonVisible = true;
+ this.ShowInTaskbar = false;
+ this.Text = "Form_About";
+ this.panel_main.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private AluminiumButton button_ok;
+ private AluminiumLabel label_about;
+ }
+}
\ No newline at end of file
diff --git a/Ping Tester Aluminium/GUI/Form_About.cs b/Ping Tester Aluminium/GUI/Form_About.cs
new file mode 100644
index 0000000..b353379
--- /dev/null
+++ b/Ping Tester Aluminium/GUI/Form_About.cs
@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace PingTesterAluminium
+{
+ public partial class Form_About : AluminiumForm
+ {
+ public Form_About()
+ {
+ InitializeComponent();
+ }
+
+ public static DialogResult Show(IWin32Window owner = null)
+ {
+ return new Form_About().ShowDialog(owner);
+ }
+
+ private void button_ok_Click(object sender, EventArgs e)
+ {
+ Close();
+ }
+ }
+}
diff --git a/Ping Tester Aluminium/GUI/Form_About.resx b/Ping Tester Aluminium/GUI/Form_About.resx
new file mode 100644
index 0000000..9c60792
--- /dev/null
+++ b/Ping Tester Aluminium/GUI/Form_About.resx
@@ -0,0 +1,212 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+
+ /9j/4AAQSkZJRgABAQEAAAAAAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYa
+ HSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgo
+ KCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAEsAZADAREAAhEBAxEB/8QA
+ HwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIh
+ MUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVW
+ V1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXG
+ x8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQF
+ BgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAV
+ YnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOE
+ hYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq
+ 8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD0rFIYYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUA
+ LigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoA
+ MUAGKADFABigAxQAYoAMUALigAxQAYoATFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAYoAMUA
+ GKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoA
+ MUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFAB
+ igAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAM
+ UAGKADFABigAxQAuKADFABigAxQAYoATFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAG
+ KADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQAYoAM
+ UAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKADFABi
+ gAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMU
+ AGKADFABigBcUAGKADFABigAxQAYpgGKQBigAxQAYoAMUAGKYBigAxSAMUAGKYBigAxQAYoAMUgDFABi
+ mAYoAMUgFxQAYoAMUwDFABikAYoAMUAGKADFMAxQAYpAGKYBigAxQAYoAMUgFxTAMUAGKADFABikAYpg
+ GKADFIAxQAYoAMUAGKYBigAxSAMUAGKADFABigAxTAMUAGKQBigAxQAuKYBigAxSAMUAGKYBigAxQAYp
+ AGKADFABimAYpAGKADFABigAxTAMUAGKQC4oAMUAGKYBigAxSAMUwDFABigAxQAYoAMUgDFMAxQAYoAM
+ UAGKQBimAuKADFIAxQAYoAMUAGKYBigAxSAMUAGKADFABimAYoAMUgDFABigAxQAYpgGKADFIAxQAYpg
+ GKAFxQAYpAGKADFMAxQAYpAGKADFABigAxTAMUAGKQBigAxQAYpgGKADFIAxTAXFABigAxQAYoAMUAGK
+ ADFABigAxQAYoAMUAGKADFABigAxQAYoAXFACYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADF
+ ABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYo
+ AMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQ
+ AYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKA
+ DFABigAxQAYoAMUAGKADFABigBcUAGKADFACYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFA
+ BigAxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKA
+ DFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQA
+ YoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKAD
+ FABigAxQAYoAMUAGKAFxQAYoAMUAGKADFACYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAB
+ igAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKAD
+ FABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAY
+ oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADF
+ ABigAxQAYoAMUAGKAFxQAYoAMUAGKADFACYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABi
+ gAxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oAMUAGKADF
+ ABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQAYo
+ AMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFA
+ BigAxQAYoAMUAGKADFABigBcUAGKADFACYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABig
+ AxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFA
+ BigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oA
+ MUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFAB
+ igAxQAYoAMUAGKADFABigAxQAuKADFACYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigA
+ xQAYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKBBigAxQMMUAGKBBigAxQAYoGGKADFAgxQAYoG
+ GKAFxQAYoAMUCDFABigYYoAMUAGKBBigAxQAYoGGKADFABigAxQIMUAGKBhigQYoAMUAGKADFAwxQIMU
+ AGKAFxQAYoAMUDDFAgxQAYoGGKADFABigQYoAMUDDFABigAxQAYoEGKAFxQMMUAGKBBigAxQAYoGGKAD
+ FAgxQAYoGGKADFABigAxQIMUDDFAC4oAMUAJigAxQIMUAGKBhigBcUAGKADFAgxQAYoGGKBBigAxQAYo
+ AMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFA
+ BigAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoA
+ MUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQA
+ YoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKAD
+ FABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAY
+ oAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADF
+ ABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGK
+ ADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQ
+ AYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKA
+ DFABigAxQAYoAXFABigAxQAYoAMUAGKAExQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFA
+ BigAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKA
+ DFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQA
+ YoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAD
+ FABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAY
+ oAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKADFABigAx
+ QAYoAMUAGKADFABigAxQAYoAMUALigBMUAGKADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAY
+ oAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFx
+ QAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuK
+ ADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQ
+ AYoAMUAGKADFABigAxQAuKADFABigBMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYo
+ AMUAGKADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQ
+ AYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKA
+ DFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQA
+ YoAMUAGKADFABigBcUAGKADFABigBMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoA
+ MUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQA
+ YoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKAD
+ FABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAY
+ oAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADF
+ AC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGK
+ ADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQ
+ AYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKA
+ FxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oAMUA
+ GKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigA
+ xQAYoAMUAGKAFxQAYoAMUAGKADaKADaKADFABigAxQAYoAMUAGKADFABigAxQAuBQAYFABgUAGBQAYFA
+ BigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAoAKACgAoAKACgAoAKAC
+ gAoAKACgAoAKACgD/9k=
+
+
+
\ No newline at end of file
diff --git a/Ping Tester Aluminium/GUI/Form_Error.Designer.cs b/Ping Tester Aluminium/GUI/Form_Error.Designer.cs
new file mode 100644
index 0000000..5c5107e
--- /dev/null
+++ b/Ping Tester Aluminium/GUI/Form_Error.Designer.cs
@@ -0,0 +1,100 @@
+namespace PingTesterAluminium
+{
+ partial class Form_Error
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form_Error));
+ this.button_ok = new PingTesterAluminium.AluminiumButton();
+ this.label_error = new PingTesterAluminium.AluminiumLabel();
+ this.panel_main.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // panel_main
+ //
+ this.panel_main.Controls.Add(this.label_error);
+ this.panel_main.Controls.Add(this.button_ok);
+ this.panel_main.Size = new System.Drawing.Size(408, 172);
+ //
+ // button_ok
+ //
+ this.button_ok.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.button_ok.BackColor = System.Drawing.Color.Silver;
+ this.button_ok.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button_ok.BackgroundImage")));
+ this.button_ok.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.button_ok.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.button_ok.DialogResult = System.Windows.Forms.DialogResult.OK;
+ this.button_ok.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button_ok.Font = new System.Drawing.Font("Visitor TT1 BRK", 15F);
+ this.button_ok.Location = new System.Drawing.Point(295, 127);
+ this.button_ok.Name = "button_ok";
+ this.button_ok.Size = new System.Drawing.Size(100, 32);
+ this.button_ok.TabIndex = 0;
+ this.button_ok.Text = "Ok";
+ this.button_ok.UseVisualStyleBackColor = false;
+ this.button_ok.Click += new System.EventHandler(this.button_ok_Click);
+ //
+ // label_error
+ //
+ this.label_error.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.label_error.AutoEllipsis = true;
+ this.label_error.BackColor = System.Drawing.Color.Transparent;
+ this.label_error.Location = new System.Drawing.Point(8, 42);
+ this.label_error.Margin = new System.Windows.Forms.Padding(0);
+ this.label_error.Name = "label_error";
+ this.label_error.Size = new System.Drawing.Size(390, 74);
+ this.label_error.TabIndex = 1;
+ this.label_error.Text = "Error";
+ this.label_error.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // Form_Error
+ //
+ this.AboutButtonVisible = true;
+ this.AcceptButton = this.button_ok;
+ this.AutoScaleDimensions = new System.Drawing.SizeF(16F, 24F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.CancelButton = this.button_ok;
+ this.ClientSize = new System.Drawing.Size(408, 172);
+ this.MinimizeButtonVisible = true;
+ this.Name = "Form_Error";
+ this.SettingsButtonVisible = true;
+ this.ShowInTaskbar = false;
+ this.Text = "Error";
+ this.Title = "Error";
+ this.panel_main.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private AluminiumButton button_ok;
+ private AluminiumLabel label_error;
+ }
+}
\ No newline at end of file
diff --git a/Ping Tester Aluminium/GUI/Form_Error.cs b/Ping Tester Aluminium/GUI/Form_Error.cs
new file mode 100644
index 0000000..13dd88c
--- /dev/null
+++ b/Ping Tester Aluminium/GUI/Form_Error.cs
@@ -0,0 +1,30 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace PingTesterAluminium
+{
+ public partial class Form_Error : AluminiumForm
+ {
+ public Form_Error(string errorMessage)
+ {
+ InitializeComponent();
+ label_error.Text = errorMessage;
+ }
+
+ public static DialogResult Show(string errorMessage, IWin32Window owner = null)
+ {
+ return new Form_Error(errorMessage).ShowDialog(owner);
+ }
+
+ private void button_ok_Click(object sender, EventArgs e)
+ {
+ Close();
+ }
+ }
+}
diff --git a/Ping Tester Aluminium/GUI/Form_Error.resx b/Ping Tester Aluminium/GUI/Form_Error.resx
new file mode 100644
index 0000000..9c60792
--- /dev/null
+++ b/Ping Tester Aluminium/GUI/Form_Error.resx
@@ -0,0 +1,212 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+
+ /9j/4AAQSkZJRgABAQEAAAAAAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYa
+ HSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBD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AuKADFAB
+ igAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAM
+ UAGKADFABigAxQAuKADFABigAxQAYoATFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAG
+ KADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQAYoAM
+ UAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKADFABi
+ gAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMU
+ AGKADFABigBcUAGKADFABigAxQAYpgGKQBigAxQAYoAMUAGKYBigAxSAMUAGKYBigAxQAYoAMUgDFABi
+ mAYoAMUgFxQAYoAMUwDFABikAYoAMUAGKADFMAxQAYpAGKYBigAxQAYoAMUgFxTAMUAGKADFABikAYpg
+ GKADFIAxQAYoAMUAGKYBigAxSAMUAGKADFABigAxTAMUAGKQBigAxQAuKYBigAxSAMUAGKYBigAxQAYp
+ AGKADFABimAYpAGKADFABigAxTAMUAGKQC4oAMUAGKYBigAxSAMUwDFABigAxQAYoAMUgDFMAxQAYoAM
+ UAGKQBimAuKADFIAxQAYoAMUAGKYBigAxSAMUAGKADFABimAYoAMUgDFABigAxQAYpgGKADFIAxQAYpg
+ GKAFxQAYpAGKADFMAxQAYpAGKADFABigAxTAMUAGKQBigAxQAYpgGKADFIAxTAXFABigAxQAYoAMUAGK
+ ADFABigAxQAYoAMUAGKADFABigAxQAYoAXFACYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADF
+ ABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYo
+ AMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQ
+ AYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKA
+ DFABigAxQAYoAMUAGKADFABigBcUAGKADFACYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFA
+ BigAxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKA
+ DFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQA
+ YoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKAD
+ FABigAxQAYoAMUAGKAFxQAYoAMUAGKADFACYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAB
+ igAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKAD
+ FABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAY
+ oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADF
+ ABigAxQAYoAMUAGKAFxQAYoAMUAGKADFACYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABi
+ gAxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oAMUAGKADF
+ ABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQAYo
+ AMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFA
+ BigAxQAYoAMUAGKADFABigBcUAGKADFACYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABig
+ AxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFA
+ BigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oA
+ MUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFAB
+ igAxQAYoAMUAGKADFABigAxQAuKADFACYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigA
+ xQAYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKBBigAxQMMUAGKBBigAxQAYoGGKADFAgxQAYoG
+ GKAFxQAYoAMUCDFABigYYoAMUAGKBBigAxQAYoGGKADFABigAxQIMUAGKBhigQYoAMUAGKADFAwxQIMU
+ AGKAFxQAYoAMUDDFAgxQAYoGGKADFABigQYoAMUDDFABigAxQAYoEGKAFxQMMUAGKBBigAxQAYoGGKAD
+ FAgxQAYoGGKADFABigAxQIMUDDFAC4oAMUAJigAxQIMUAGKBhigBcUAGKADFAgxQAYoGGKBBigAxQAYo
+ AMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFA
+ BigAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoA
+ MUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQA
+ YoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKAD
+ FABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAY
+ oAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADF
+ ABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGK
+ ADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQ
+ AYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKA
+ DFABigAxQAYoAXFABigAxQAYoAMUAGKAExQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFA
+ BigAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKA
+ DFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQA
+ YoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAD
+ FABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAY
+ oAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKADFABigAx
+ QAYoAMUAGKADFABigAxQAYoAMUALigBMUAGKADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAY
+ oAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFx
+ QAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuK
+ ADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQ
+ AYoAMUAGKADFABigAxQAuKADFABigBMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYo
+ AMUAGKADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQ
+ AYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKA
+ DFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQA
+ YoAMUAGKADFABigBcUAGKADFABigBMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoA
+ MUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQA
+ YoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKAD
+ FABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAY
+ oAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADF
+ AC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGK
+ ADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQ
+ AYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKA
+ FxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oAMUA
+ GKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigA
+ xQAYoAMUAGKAFxQAYoAMUAGKADaKADaKADFABigAxQAYoAMUAGKADFABigAxQAuBQAYFABgUAGBQAYFA
+ BigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAoAKACgAoAKACgAoAKAC
+ gAoAKACgAoAKACgD/9k=
+
+
+
\ No newline at end of file
diff --git a/Ping Tester Aluminium/GUI/Form_Main.Designer.cs b/Ping Tester Aluminium/GUI/Form_Main.Designer.cs
new file mode 100644
index 0000000..d73cbd4
--- /dev/null
+++ b/Ping Tester Aluminium/GUI/Form_Main.Designer.cs
@@ -0,0 +1,359 @@
+namespace PingTesterAluminium
+{
+ partial class Form_Main
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form_Main));
+ this.button_play = new PingTesterAluminium.AluminiumButton();
+ this.label_host = new PingTesterAluminium.AluminiumLabel();
+ this.label_outBuffer = new PingTesterAluminium.AluminiumLabel();
+ this.label_time = new PingTesterAluminium.AluminiumLabel();
+ this.label_status = new PingTesterAluminium.AluminiumLabel();
+ this.label_outTtl = new PingTesterAluminium.AluminiumLabel();
+ this.label_rating = new PingTesterAluminium.AluminiumLabel();
+ this.panel_graph = new System.Windows.Forms.Panel();
+ this.progressBar_time = new System.Windows.Forms.ProgressBar();
+ this.timer_main = new System.Windows.Forms.Timer(this.components);
+ this.backgroundWorker_main = new System.ComponentModel.BackgroundWorker();
+ this.label_notFragmented = new PingTesterAluminium.AluminiumLabel();
+ this.label_inBuffer = new PingTesterAluminium.AluminiumLabel();
+ this.label_inTtl = new PingTesterAluminium.AluminiumLabel();
+ this.label_address = new PingTesterAluminium.AluminiumLabel();
+ this.panel_outbound = new System.Windows.Forms.Panel();
+ this.panel_inbound = new System.Windows.Forms.Panel();
+ this.label_outbound = new PingTesterAluminium.AluminiumLabel();
+ this.label_inbound = new PingTesterAluminium.AluminiumLabel();
+ this.panel_main.SuspendLayout();
+ this.panel_outbound.SuspendLayout();
+ this.panel_inbound.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // panel_main
+ //
+ this.panel_main.Controls.Add(this.label_inbound);
+ this.panel_main.Controls.Add(this.label_outbound);
+ this.panel_main.Controls.Add(this.panel_inbound);
+ this.panel_main.Controls.Add(this.panel_outbound);
+ this.panel_main.Controls.Add(this.panel_graph);
+ this.panel_main.Controls.Add(this.label_rating);
+ this.panel_main.Controls.Add(this.progressBar_time);
+ this.panel_main.Controls.Add(this.label_status);
+ this.panel_main.Controls.Add(this.label_time);
+ this.panel_main.Controls.Add(this.button_play);
+ this.panel_main.Size = new System.Drawing.Size(735, 506);
+ //
+ // button_play
+ //
+ this.button_play.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.button_play.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button_play.BackgroundImage")));
+ this.button_play.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.button_play.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.button_play.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button_play.Font = new System.Drawing.Font("Visitor TT1 BRK", 15F);
+ this.button_play.Image = global::PingTesterAluminium.Properties.Resources.play;
+ this.button_play.Location = new System.Drawing.Point(668, 49);
+ this.button_play.Name = "button_play";
+ this.button_play.Size = new System.Drawing.Size(40, 32);
+ this.button_play.TabIndex = 7;
+ this.button_play.UseVisualStyleBackColor = false;
+ this.button_play.Click += new System.EventHandler(this.button_play_Click);
+ //
+ // label_host
+ //
+ this.label_host.AutoEllipsis = true;
+ this.label_host.BackColor = System.Drawing.Color.Transparent;
+ this.label_host.Font = new System.Drawing.Font("Visitor TT1 BRK", 20F);
+ this.label_host.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.label_host.Location = new System.Drawing.Point(27, 19);
+ this.label_host.Margin = new System.Windows.Forms.Padding(0);
+ this.label_host.Name = "label_host";
+ this.label_host.Size = new System.Drawing.Size(285, 32);
+ this.label_host.TabIndex = 0;
+ this.label_host.Text = "localhost";
+ this.label_host.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // label_outBuffer
+ //
+ this.label_outBuffer.AutoEllipsis = true;
+ this.label_outBuffer.BackColor = System.Drawing.Color.Transparent;
+ this.label_outBuffer.Font = new System.Drawing.Font("Visitor TT1 BRK", 20F);
+ this.label_outBuffer.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.label_outBuffer.Location = new System.Drawing.Point(27, 61);
+ this.label_outBuffer.Margin = new System.Windows.Forms.Padding(0);
+ this.label_outBuffer.Name = "label_outBuffer";
+ this.label_outBuffer.Size = new System.Drawing.Size(285, 32);
+ this.label_outBuffer.TabIndex = 4;
+ this.label_outBuffer.Text = "32 bytes";
+ this.label_outBuffer.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // label_time
+ //
+ this.label_time.AutoEllipsis = true;
+ this.label_time.BackColor = System.Drawing.Color.Transparent;
+ this.label_time.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.label_time.Location = new System.Drawing.Point(19, 121);
+ this.label_time.Margin = new System.Windows.Forms.Padding(0);
+ this.label_time.Name = "label_time";
+ this.label_time.Size = new System.Drawing.Size(689, 32);
+ this.label_time.TabIndex = 3;
+ this.label_time.Text = "10 ms";
+ this.label_time.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // label_status
+ //
+ this.label_status.AutoEllipsis = true;
+ this.label_status.BackColor = System.Drawing.Color.Transparent;
+ this.label_status.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.label_status.Location = new System.Drawing.Point(19, 89);
+ this.label_status.Margin = new System.Windows.Forms.Padding(0);
+ this.label_status.Name = "label_status";
+ this.label_status.Size = new System.Drawing.Size(689, 32);
+ this.label_status.TabIndex = 2;
+ this.label_status.Text = "Success";
+ this.label_status.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // label_outTtl
+ //
+ this.label_outTtl.AutoEllipsis = true;
+ this.label_outTtl.BackColor = System.Drawing.Color.Transparent;
+ this.label_outTtl.Font = new System.Drawing.Font("Visitor TT1 BRK", 20F);
+ this.label_outTtl.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.label_outTtl.Location = new System.Drawing.Point(27, 103);
+ this.label_outTtl.Margin = new System.Windows.Forms.Padding(0);
+ this.label_outTtl.Name = "label_outTtl";
+ this.label_outTtl.Size = new System.Drawing.Size(285, 32);
+ this.label_outTtl.TabIndex = 5;
+ this.label_outTtl.Text = "128 TTL";
+ this.label_outTtl.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // label_rating
+ //
+ this.label_rating.AutoEllipsis = true;
+ this.label_rating.BackColor = System.Drawing.Color.Transparent;
+ this.label_rating.Font = new System.Drawing.Font("Visitor TT1 BRK", 40F);
+ this.label_rating.Location = new System.Drawing.Point(14, 42);
+ this.label_rating.Margin = new System.Windows.Forms.Padding(0);
+ this.label_rating.Name = "label_rating";
+ this.label_rating.Size = new System.Drawing.Size(641, 47);
+ this.label_rating.TabIndex = 1;
+ this.label_rating.Text = "Good";
+ this.label_rating.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // panel_graph
+ //
+ this.panel_graph.BackgroundImage = global::PingTesterAluminium.Properties.Resources.background;
+ this.panel_graph.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.panel_graph.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.panel_graph.Location = new System.Drawing.Point(21, 182);
+ this.panel_graph.Name = "panel_graph";
+ this.panel_graph.Size = new System.Drawing.Size(687, 65);
+ this.panel_graph.TabIndex = 6;
+ //
+ // progressBar_time
+ //
+ this.progressBar_time.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
+ this.progressBar_time.ForeColor = System.Drawing.Color.Silver;
+ this.progressBar_time.Location = new System.Drawing.Point(23, 157);
+ this.progressBar_time.Margin = new System.Windows.Forms.Padding(4);
+ this.progressBar_time.MarqueeAnimationSpeed = 0;
+ this.progressBar_time.Maximum = 300;
+ this.progressBar_time.Name = "progressBar_time";
+ this.progressBar_time.Size = new System.Drawing.Size(685, 18);
+ this.progressBar_time.Step = 0;
+ this.progressBar_time.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
+ this.progressBar_time.TabIndex = 0;
+ this.progressBar_time.Value = 300;
+ //
+ // timer_main
+ //
+ this.timer_main.Interval = 1000;
+ this.timer_main.Tick += new System.EventHandler(this.timer_main_Tick);
+ //
+ // backgroundWorker_main
+ //
+ this.backgroundWorker_main.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker_main_DoWork);
+ this.backgroundWorker_main.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker_main_RunWorkerCompleted);
+ //
+ // label_notFragmented
+ //
+ this.label_notFragmented.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.label_notFragmented.AutoEllipsis = true;
+ this.label_notFragmented.BackColor = System.Drawing.Color.Transparent;
+ this.label_notFragmented.Font = new System.Drawing.Font("Visitor TT1 BRK", 20F);
+ this.label_notFragmented.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.label_notFragmented.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.label_notFragmented.Location = new System.Drawing.Point(27, 142);
+ this.label_notFragmented.Margin = new System.Windows.Forms.Padding(0);
+ this.label_notFragmented.Name = "label_notFragmented";
+ this.label_notFragmented.Size = new System.Drawing.Size(285, 32);
+ this.label_notFragmented.TabIndex = 8;
+ this.label_notFragmented.Text = "Not Fragmented";
+ this.label_notFragmented.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // label_inBuffer
+ //
+ this.label_inBuffer.AutoEllipsis = true;
+ this.label_inBuffer.BackColor = System.Drawing.Color.Transparent;
+ this.label_inBuffer.Font = new System.Drawing.Font("Visitor TT1 BRK", 20F);
+ this.label_inBuffer.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.label_inBuffer.Location = new System.Drawing.Point(27, 61);
+ this.label_inBuffer.Margin = new System.Windows.Forms.Padding(0);
+ this.label_inBuffer.Name = "label_inBuffer";
+ this.label_inBuffer.Size = new System.Drawing.Size(285, 32);
+ this.label_inBuffer.TabIndex = 9;
+ this.label_inBuffer.Text = "32 bytes";
+ this.label_inBuffer.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // label_inTtl
+ //
+ this.label_inTtl.AutoEllipsis = true;
+ this.label_inTtl.BackColor = System.Drawing.Color.Transparent;
+ this.label_inTtl.Font = new System.Drawing.Font("Visitor TT1 BRK", 20F);
+ this.label_inTtl.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.label_inTtl.Location = new System.Drawing.Point(27, 103);
+ this.label_inTtl.Margin = new System.Windows.Forms.Padding(0);
+ this.label_inTtl.Name = "label_inTtl";
+ this.label_inTtl.Size = new System.Drawing.Size(285, 32);
+ this.label_inTtl.TabIndex = 10;
+ this.label_inTtl.Text = "118 TTL";
+ this.label_inTtl.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // label_address
+ //
+ this.label_address.AutoEllipsis = true;
+ this.label_address.BackColor = System.Drawing.Color.Transparent;
+ this.label_address.Font = new System.Drawing.Font("Visitor TT1 BRK", 20F);
+ this.label_address.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.label_address.Location = new System.Drawing.Point(27, 19);
+ this.label_address.Margin = new System.Windows.Forms.Padding(0);
+ this.label_address.Name = "label_address";
+ this.label_address.Size = new System.Drawing.Size(285, 32);
+ this.label_address.TabIndex = 11;
+ this.label_address.Text = "127.0.0.1";
+ this.label_address.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // panel_outbound
+ //
+ this.panel_outbound.BackgroundImage = global::PingTesterAluminium.Properties.Resources.background;
+ this.panel_outbound.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.panel_outbound.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.panel_outbound.Controls.Add(this.label_outTtl);
+ this.panel_outbound.Controls.Add(this.label_outBuffer);
+ this.panel_outbound.Controls.Add(this.label_notFragmented);
+ this.panel_outbound.Controls.Add(this.label_host);
+ this.panel_outbound.Location = new System.Drawing.Point(21, 297);
+ this.panel_outbound.Name = "panel_outbound";
+ this.panel_outbound.Size = new System.Drawing.Size(340, 191);
+ this.panel_outbound.TabIndex = 15;
+ //
+ // panel_inbound
+ //
+ this.panel_inbound.BackgroundImage = global::PingTesterAluminium.Properties.Resources.background;
+ this.panel_inbound.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.panel_inbound.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.panel_inbound.Controls.Add(this.label_address);
+ this.panel_inbound.Controls.Add(this.label_inBuffer);
+ this.panel_inbound.Controls.Add(this.label_inTtl);
+ this.panel_inbound.Location = new System.Drawing.Point(368, 297);
+ this.panel_inbound.Name = "panel_inbound";
+ this.panel_inbound.Size = new System.Drawing.Size(340, 191);
+ this.panel_inbound.TabIndex = 16;
+ //
+ // label_outbound
+ //
+ this.label_outbound.AutoEllipsis = true;
+ this.label_outbound.BackColor = System.Drawing.Color.Transparent;
+ this.label_outbound.Font = new System.Drawing.Font("Visitor TT1 BRK", 20F, System.Drawing.FontStyle.Underline);
+ this.label_outbound.Location = new System.Drawing.Point(19, 262);
+ this.label_outbound.Margin = new System.Windows.Forms.Padding(0);
+ this.label_outbound.Name = "label_outbound";
+ this.label_outbound.Size = new System.Drawing.Size(342, 32);
+ this.label_outbound.TabIndex = 17;
+ this.label_outbound.Text = "Outbound";
+ this.label_outbound.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // label_inbound
+ //
+ this.label_inbound.AutoEllipsis = true;
+ this.label_inbound.BackColor = System.Drawing.Color.Transparent;
+ this.label_inbound.Font = new System.Drawing.Font("Visitor TT1 BRK", 20F, System.Drawing.FontStyle.Underline);
+ this.label_inbound.Location = new System.Drawing.Point(368, 262);
+ this.label_inbound.Margin = new System.Windows.Forms.Padding(0);
+ this.label_inbound.Name = "label_inbound";
+ this.label_inbound.Size = new System.Drawing.Size(340, 32);
+ this.label_inbound.TabIndex = 18;
+ this.label_inbound.Text = "Inbound";
+ this.label_inbound.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // Form_Main
+ //
+ this.AboutButtonVisible = true;
+ this.AutoScaleDimensions = new System.Drawing.SizeF(16F, 24F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(735, 506);
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.MinimizeButtonVisible = true;
+ this.Name = "Form_Main";
+ this.SettingsButtonVisible = true;
+ this.Text = "Ping Tester";
+ this.Title = "Ping Tester";
+ this.TitleBarImage = global::PingTesterAluminium.Properties.Resources.icon;
+ this.AboutButtonClick += new System.EventHandler(this.Form_Main_AboutButtonClick);
+ this.SettingsButtonClick += new System.EventHandler(this.Form_Main_SettingsButtonClick);
+ this.panel_main.ResumeLayout(false);
+ this.panel_outbound.ResumeLayout(false);
+ this.panel_inbound.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private AluminiumButton button_play;
+ private AluminiumLabel label_host;
+ private AluminiumLabel label_outBuffer;
+ private AluminiumLabel label_outTtl;
+ private AluminiumLabel label_status;
+ private AluminiumLabel label_time;
+ private AluminiumLabel label_rating;
+ private System.Windows.Forms.Panel panel_graph;
+ private System.Windows.Forms.ProgressBar progressBar_time;
+ public System.Windows.Forms.Timer timer_main;
+ private System.ComponentModel.BackgroundWorker backgroundWorker_main;
+ private AluminiumLabel label_notFragmented;
+ private AluminiumLabel label_address;
+ private AluminiumLabel label_inTtl;
+ private AluminiumLabel label_inBuffer;
+ private System.Windows.Forms.Panel panel_inbound;
+ private System.Windows.Forms.Panel panel_outbound;
+ private AluminiumLabel label_inbound;
+ private AluminiumLabel label_outbound;
+ }
+}
\ No newline at end of file
diff --git a/Ping Tester Aluminium/GUI/Form_Main.cs b/Ping Tester Aluminium/GUI/Form_Main.cs
new file mode 100644
index 0000000..2fedaed
--- /dev/null
+++ b/Ping Tester Aluminium/GUI/Form_Main.cs
@@ -0,0 +1,126 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using PingTesterAluminium.Properties;
+
+namespace PingTesterAluminium
+{
+ public partial class Form_Main : AluminiumForm
+ {
+ public Form_Main()
+ {
+ InitializeComponent();
+ Initialize();
+ button_play.PerformClick();
+ }
+
+ public void Initialize()
+ {
+ label_host.Text = PingTestManager.Host;
+
+ label_address.Text = "?";
+ label_address.ForeColor = Color.Gray;
+
+ label_rating.Text = "?";
+ label_rating.ForeColor = Color.Gray;
+
+ label_status.Text = "Inactive";
+ label_status.ForeColor = Color.Gray;
+
+ label_time.Text = "? ms";
+ label_time.ForeColor = Color.Gray;
+
+ progressBar_time.SetValue(progressBar_time.Maximum);
+ progressBar_time.ForeColor = Color.Gray;
+
+ label_outBuffer.Text = string.Format("{0} bytes", PingTestManager.BufferLength);
+
+ label_inBuffer.Text = "? bytes";
+ label_inBuffer.ForeColor = Color.Gray;
+
+ label_outTtl.Text = string.Format("{0} TTL", PingTestManager.Ttl);
+
+ label_inTtl.Text = "? TTL";
+ label_inTtl.ForeColor = Color.Gray;
+
+ label_notFragmented.Text = PingTestManager.DontFragment ? "Not Fragmented" : "Fragmented";
+ }
+
+ private void timer_main_Tick(object sender, EventArgs e)
+ {
+ timer_main.Interval = PingTestManager.Interval;
+ if (!backgroundWorker_main.IsBusy)
+ {
+ backgroundWorker_main.RunWorkerAsync();
+ }
+ }
+
+ private void backgroundWorker_main_DoWork(object sender, DoWorkEventArgs e)
+ {
+ e.Result = PingTestManager.RunPingTest();
+ }
+
+ private void backgroundWorker_main_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
+ {
+ PingResult result = e.Result as PingResult;
+ if (result.HasError)
+ {
+ Initialize();
+ Form_Error.Show(result.ErrorMessage, this);
+ }
+ else
+ {
+ label_address.Text = result.Address.ToString();
+ label_address.ForeColor = Color.Blue;
+
+ label_rating.Text = result.Rating.ToString().ToTitleCase();
+ label_rating.ForeColor = result.RatingColor;
+
+ label_status.Text = result.Status.ToString().ToTitleCase();
+ label_status.ForeColor = result.StatusColor;
+
+ label_time.Text = string.Format("{0} ms", result.Time.ToString());
+ label_time.ForeColor = result.RatingColor;
+
+ progressBar_time.SetValue((int)result.Time);
+ progressBar_time.ForeColor = result.RatingColor;
+
+ label_inBuffer.Text = string.Format("{0} bytes", result.Buffer.Length);
+ label_inBuffer.ForeColor = Color.Blue;
+
+ label_inTtl.Text = string.Format("{0} TTL", result.Ttl);
+ label_inTtl.ForeColor = Color.Blue;
+ }
+ }
+
+ private void button_play_Click(object sender, EventArgs e)
+ {
+ if (timer_main.Enabled)
+ {
+ timer_main.Stop();
+ button_play.Image = Resources.play;
+ }
+ else
+ {
+ timer_main.Start();
+ button_play.Image = Resources.pause;
+ }
+ }
+
+ private void Form_Main_SettingsButtonClick(object sender, EventArgs e)
+ {
+ Form_Settings.Show(this);
+ }
+
+ private void Form_Main_AboutButtonClick(object sender, EventArgs e)
+ {
+ Form_About.Show(this);
+ }
+
+ }
+}
diff --git a/Ping Tester Aluminium/Form1.resx b/Ping Tester Aluminium/GUI/Form_Main.resx
similarity index 97%
rename from Ping Tester Aluminium/Form1.resx
rename to Ping Tester Aluminium/GUI/Form_Main.resx
index f5b7a22..e0127f1 100644
--- a/Ping Tester Aluminium/Form1.resx
+++ b/Ping Tester Aluminium/GUI/Form_Main.resx
@@ -117,6 +117,57 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
@@ -210,10 +261,16 @@
- 44, 27
+ 19, 14
- 148, 27
+ 127, 14
+
+
+ True
+
+
+ 39
diff --git a/Ping Tester Aluminium/GUI/Form_Settings.Designer.cs b/Ping Tester Aluminium/GUI/Form_Settings.Designer.cs
new file mode 100644
index 0000000..9ffe690
--- /dev/null
+++ b/Ping Tester Aluminium/GUI/Form_Settings.Designer.cs
@@ -0,0 +1,274 @@
+namespace PingTesterAluminium
+{
+ partial class Form_Settings
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form_Settings));
+ this.button_save = new PingTesterAluminium.AluminiumButton();
+ this.aluminiumLabel1 = new PingTesterAluminium.AluminiumLabel();
+ this.aluminiumTextBox1 = new PingTesterAluminium.AluminiumTextBox();
+ this.textBox_host = new PingTesterAluminium.AluminiumTextBox();
+ this.textBox_interval = new PingTesterAluminium.AluminiumTextBox();
+ this.aluminiumLabel2 = new PingTesterAluminium.AluminiumLabel();
+ this.textBox_timeout = new PingTesterAluminium.AluminiumTextBox();
+ this.aluminiumLabel3 = new PingTesterAluminium.AluminiumLabel();
+ this.textBox_buffer = new PingTesterAluminium.AluminiumTextBox();
+ this.aluminiumLabel4 = new PingTesterAluminium.AluminiumLabel();
+ this.textBox_ttl = new PingTesterAluminium.AluminiumTextBox();
+ this.aluminiumLabel5 = new PingTesterAluminium.AluminiumLabel();
+ this.textBox_fragmentation = new PingTesterAluminium.AluminiumTextBox();
+ this.aluminiumLabel6 = new PingTesterAluminium.AluminiumLabel();
+ this.button_cancel = new PingTesterAluminium.AluminiumButton();
+ this.panel_main.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // panel_main
+ //
+ this.panel_main.Controls.Add(this.button_cancel);
+ this.panel_main.Controls.Add(this.textBox_fragmentation);
+ this.panel_main.Controls.Add(this.aluminiumLabel6);
+ this.panel_main.Controls.Add(this.textBox_ttl);
+ this.panel_main.Controls.Add(this.aluminiumLabel5);
+ this.panel_main.Controls.Add(this.textBox_buffer);
+ this.panel_main.Controls.Add(this.aluminiumLabel4);
+ this.panel_main.Controls.Add(this.textBox_timeout);
+ this.panel_main.Controls.Add(this.aluminiumLabel3);
+ this.panel_main.Controls.Add(this.textBox_interval);
+ this.panel_main.Controls.Add(this.aluminiumLabel2);
+ this.panel_main.Controls.Add(this.textBox_host);
+ this.panel_main.Controls.Add(this.aluminiumTextBox1);
+ this.panel_main.Controls.Add(this.aluminiumLabel1);
+ this.panel_main.Controls.Add(this.button_save);
+ this.panel_main.Size = new System.Drawing.Size(782, 341);
+ //
+ // button_save
+ //
+ this.button_save.BackColor = System.Drawing.Color.Silver;
+ this.button_save.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button_save.BackgroundImage")));
+ this.button_save.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.button_save.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.button_save.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button_save.Font = new System.Drawing.Font("Visitor TT1 BRK", 15F);
+ this.button_save.Location = new System.Drawing.Point(601, 293);
+ this.button_save.Name = "button_save";
+ this.button_save.Size = new System.Drawing.Size(166, 32);
+ this.button_save.TabIndex = 0;
+ this.button_save.Text = "Save";
+ this.button_save.UseVisualStyleBackColor = false;
+ this.button_save.Click += new System.EventHandler(this.button_save_Click);
+ //
+ // aluminiumLabel1
+ //
+ this.aluminiumLabel1.AutoEllipsis = true;
+ this.aluminiumLabel1.BackColor = System.Drawing.Color.Transparent;
+ this.aluminiumLabel1.Location = new System.Drawing.Point(14, 49);
+ this.aluminiumLabel1.Margin = new System.Windows.Forms.Padding(0);
+ this.aluminiumLabel1.Name = "aluminiumLabel1";
+ this.aluminiumLabel1.Size = new System.Drawing.Size(373, 32);
+ this.aluminiumLabel1.TabIndex = 1;
+ this.aluminiumLabel1.Text = "Host (Name or IP)";
+ this.aluminiumLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // aluminiumTextBox1
+ //
+ this.aluminiumTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.aluminiumTextBox1.Location = new System.Drawing.Point(-16, -16);
+ this.aluminiumTextBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 10);
+ this.aluminiumTextBox1.Name = "aluminiumTextBox1";
+ this.aluminiumTextBox1.Size = new System.Drawing.Size(400, 32);
+ this.aluminiumTextBox1.TabIndex = 2;
+ //
+ // textBox_host
+ //
+ this.textBox_host.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.textBox_host.Location = new System.Drawing.Point(18, 83);
+ this.textBox_host.Margin = new System.Windows.Forms.Padding(2, 2, 2, 10);
+ this.textBox_host.Name = "textBox_host";
+ this.textBox_host.Size = new System.Drawing.Size(369, 32);
+ this.textBox_host.TabIndex = 3;
+ //
+ // textBox_interval
+ //
+ this.textBox_interval.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.textBox_interval.Location = new System.Drawing.Point(18, 159);
+ this.textBox_interval.Margin = new System.Windows.Forms.Padding(2, 2, 2, 10);
+ this.textBox_interval.Name = "textBox_interval";
+ this.textBox_interval.Size = new System.Drawing.Size(369, 32);
+ this.textBox_interval.TabIndex = 5;
+ //
+ // aluminiumLabel2
+ //
+ this.aluminiumLabel2.AutoEllipsis = true;
+ this.aluminiumLabel2.BackColor = System.Drawing.Color.Transparent;
+ this.aluminiumLabel2.Location = new System.Drawing.Point(14, 125);
+ this.aluminiumLabel2.Margin = new System.Windows.Forms.Padding(0);
+ this.aluminiumLabel2.Name = "aluminiumLabel2";
+ this.aluminiumLabel2.Size = new System.Drawing.Size(373, 32);
+ this.aluminiumLabel2.TabIndex = 4;
+ this.aluminiumLabel2.Text = "Pinging Interval (ms)";
+ this.aluminiumLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // textBox_timeout
+ //
+ this.textBox_timeout.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.textBox_timeout.Location = new System.Drawing.Point(18, 235);
+ this.textBox_timeout.Margin = new System.Windows.Forms.Padding(2, 2, 2, 10);
+ this.textBox_timeout.Name = "textBox_timeout";
+ this.textBox_timeout.Size = new System.Drawing.Size(369, 32);
+ this.textBox_timeout.TabIndex = 7;
+ //
+ // aluminiumLabel3
+ //
+ this.aluminiumLabel3.AutoEllipsis = true;
+ this.aluminiumLabel3.BackColor = System.Drawing.Color.Transparent;
+ this.aluminiumLabel3.Location = new System.Drawing.Point(14, 201);
+ this.aluminiumLabel3.Margin = new System.Windows.Forms.Padding(0);
+ this.aluminiumLabel3.Name = "aluminiumLabel3";
+ this.aluminiumLabel3.Size = new System.Drawing.Size(373, 32);
+ this.aluminiumLabel3.TabIndex = 6;
+ this.aluminiumLabel3.Text = "Timeout (ms)";
+ this.aluminiumLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // textBox_buffer
+ //
+ this.textBox_buffer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.textBox_buffer.Location = new System.Drawing.Point(398, 83);
+ this.textBox_buffer.Margin = new System.Windows.Forms.Padding(2, 2, 2, 10);
+ this.textBox_buffer.Name = "textBox_buffer";
+ this.textBox_buffer.Size = new System.Drawing.Size(369, 32);
+ this.textBox_buffer.TabIndex = 9;
+ //
+ // aluminiumLabel4
+ //
+ this.aluminiumLabel4.AutoEllipsis = true;
+ this.aluminiumLabel4.BackColor = System.Drawing.Color.Transparent;
+ this.aluminiumLabel4.Location = new System.Drawing.Point(394, 49);
+ this.aluminiumLabel4.Margin = new System.Windows.Forms.Padding(0);
+ this.aluminiumLabel4.Name = "aluminiumLabel4";
+ this.aluminiumLabel4.Size = new System.Drawing.Size(373, 32);
+ this.aluminiumLabel4.TabIndex = 8;
+ this.aluminiumLabel4.Text = "Buffer (Bytes)";
+ this.aluminiumLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // textBox_ttl
+ //
+ this.textBox_ttl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.textBox_ttl.Location = new System.Drawing.Point(398, 159);
+ this.textBox_ttl.Margin = new System.Windows.Forms.Padding(2, 2, 2, 10);
+ this.textBox_ttl.Name = "textBox_ttl";
+ this.textBox_ttl.Size = new System.Drawing.Size(369, 32);
+ this.textBox_ttl.TabIndex = 11;
+ //
+ // aluminiumLabel5
+ //
+ this.aluminiumLabel5.AutoEllipsis = true;
+ this.aluminiumLabel5.BackColor = System.Drawing.Color.Transparent;
+ this.aluminiumLabel5.Location = new System.Drawing.Point(394, 125);
+ this.aluminiumLabel5.Margin = new System.Windows.Forms.Padding(0);
+ this.aluminiumLabel5.Name = "aluminiumLabel5";
+ this.aluminiumLabel5.Size = new System.Drawing.Size(373, 32);
+ this.aluminiumLabel5.TabIndex = 10;
+ this.aluminiumLabel5.Text = "TLT (Time To Live)";
+ this.aluminiumLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // textBox_fragmentation
+ //
+ this.textBox_fragmentation.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.textBox_fragmentation.Location = new System.Drawing.Point(398, 235);
+ this.textBox_fragmentation.Margin = new System.Windows.Forms.Padding(2, 2, 2, 10);
+ this.textBox_fragmentation.Name = "textBox_fragmentation";
+ this.textBox_fragmentation.Size = new System.Drawing.Size(369, 32);
+ this.textBox_fragmentation.TabIndex = 13;
+ //
+ // aluminiumLabel6
+ //
+ this.aluminiumLabel6.AutoEllipsis = true;
+ this.aluminiumLabel6.BackColor = System.Drawing.Color.Transparent;
+ this.aluminiumLabel6.Location = new System.Drawing.Point(394, 201);
+ this.aluminiumLabel6.Margin = new System.Windows.Forms.Padding(0);
+ this.aluminiumLabel6.Name = "aluminiumLabel6";
+ this.aluminiumLabel6.Size = new System.Drawing.Size(373, 32);
+ this.aluminiumLabel6.TabIndex = 12;
+ this.aluminiumLabel6.Text = "Fragmentation";
+ this.aluminiumLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // button_cancel
+ //
+ this.button_cancel.BackColor = System.Drawing.Color.Silver;
+ this.button_cancel.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button_cancel.BackgroundImage")));
+ this.button_cancel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.button_cancel.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.button_cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+ this.button_cancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button_cancel.Font = new System.Drawing.Font("Visitor TT1 BRK", 15F);
+ this.button_cancel.Location = new System.Drawing.Point(495, 293);
+ this.button_cancel.Name = "button_cancel";
+ this.button_cancel.Size = new System.Drawing.Size(100, 32);
+ this.button_cancel.TabIndex = 14;
+ this.button_cancel.Text = "Cancel";
+ this.button_cancel.UseVisualStyleBackColor = false;
+ this.button_cancel.Click += new System.EventHandler(this.button_cancel_Click);
+ //
+ // Form_Settings
+ //
+ this.AboutButtonVisible = true;
+ this.AutoScaleDimensions = new System.Drawing.SizeF(16F, 24F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(782, 341);
+ this.MinimizeButtonVisible = true;
+ this.Name = "Form_Settings";
+ this.SettingsButtonVisible = true;
+ this.ShowInTaskbar = false;
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+ this.Text = "Settings";
+ this.Title = "Settings";
+ this.panel_main.ResumeLayout(false);
+ this.panel_main.PerformLayout();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private AluminiumLabel aluminiumLabel1;
+ private AluminiumButton button_save;
+ private AluminiumButton button_cancel;
+ private AluminiumTextBox textBox_fragmentation;
+ private AluminiumLabel aluminiumLabel6;
+ private AluminiumTextBox textBox_ttl;
+ private AluminiumLabel aluminiumLabel5;
+ private AluminiumTextBox textBox_buffer;
+ private AluminiumLabel aluminiumLabel4;
+ private AluminiumTextBox textBox_timeout;
+ private AluminiumLabel aluminiumLabel3;
+ private AluminiumTextBox textBox_interval;
+ private AluminiumLabel aluminiumLabel2;
+ private AluminiumTextBox textBox_host;
+ private AluminiumTextBox aluminiumTextBox1;
+ }
+}
\ No newline at end of file
diff --git a/Ping Tester Aluminium/GUI/Form_Settings.cs b/Ping Tester Aluminium/GUI/Form_Settings.cs
new file mode 100644
index 0000000..4ee4637
--- /dev/null
+++ b/Ping Tester Aluminium/GUI/Form_Settings.cs
@@ -0,0 +1,53 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace PingTesterAluminium
+{
+ public partial class Form_Settings : AluminiumForm
+ {
+ public Form_Settings()
+ {
+ InitializeComponent();
+ textBox_host.Text = PingTestManager.Host;
+ textBox_interval.Text = PingTestManager.Interval.ToString();
+ textBox_timeout.Text = PingTestManager.Timeout.ToString();
+ textBox_buffer.Text = PingTestManager.BufferLength.ToString();
+ textBox_ttl.Text = PingTestManager.Ttl.ToString();
+ textBox_fragmentation.Text = PingTestManager.DontFragment ? "No" : "Yes";
+ }
+
+ public static DialogResult Show(IWin32Window owner = null)
+ {
+ return new Form_Settings().ShowDialog(owner);
+ }
+
+ private void button_save_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ PingTestManager.Host = textBox_host.Text;
+ PingTestManager.Interval = int.Parse(textBox_interval.Text);
+ PingTestManager.Timeout = int.Parse(textBox_timeout.Text);
+ PingTestManager.BufferLength = int.Parse(textBox_buffer.Text);
+ PingTestManager.Ttl = int.Parse(textBox_ttl.Text);
+ PingTestManager.DontFragment = textBox_fragmentation.Text == "No" ? true : false;
+ Close();
+ }
+ catch (Exception exception)
+ {
+ Form_Error.Show(exception.Message);
+ }
+ }
+
+ private void button_cancel_Click(object sender, EventArgs e)
+ {
+ Close();
+ }
+ }
+}
diff --git a/Ping Tester Aluminium/GUI/Form_Settings.resx b/Ping Tester Aluminium/GUI/Form_Settings.resx
new file mode 100644
index 0000000..2fe7e16
--- /dev/null
+++ b/Ping Tester Aluminium/GUI/Form_Settings.resx
@@ -0,0 +1,303 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+
+ /9j/4AAQSkZJRgABAQEAAAAAAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYa
+ HSUfGhsjHBYWICwgI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AGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFAB
+ igAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAM
+ UAGKADFABigAxQAuKADFABigAxQAYoATFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAG
+ KADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQAYoAM
+ UAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKADFABi
+ gAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMU
+ AGKADFABigBcUAGKADFABigAxQAYpgGKQBigAxQAYoAMUAGKYBigAxSAMUAGKYBigAxQAYoAMUgDFABi
+ mAYoAMUgFxQAYoAMUwDFABikAYoAMUAGKADFMAxQAYpAGKYBigAxQAYoAMUgFxTAMUAGKADFABikAYpg
+ GKADFIAxQAYoAMUAGKYBigAxSAMUAGKADFABigAxTAMUAGKQBigAxQAuKYBigAxSAMUAGKYBigAxQAYp
+ AGKADFABimAYpAGKADFABigAxTAMUAGKQC4oAMUAGKYBigAxSAMUwDFABigAxQAYoAMUgDFMAxQAYoAM
+ UAGKQBimAuKADFIAxQAYoAMUAGKYBigAxSAMUAGKADFABimAYoAMUgDFABigAxQAYpgGKADFIAxQAYpg
+ GKAFxQAYpAGKADFMAxQAYpAGKADFABigAxTAMUAGKQBigAxQAYpgGKADFIAxTAXFABigAxQAYoAMUAGK
+ ADFABigAxQAYoAMUAGKADFABigAxQAYoAXFACYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADF
+ ABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYo
+ AMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQ
+ AYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKA
+ DFABigAxQAYoAMUAGKADFABigBcUAGKADFACYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFA
+ BigAxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKA
+ DFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQA
+ YoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKAD
+ FABigAxQAYoAMUAGKAFxQAYoAMUAGKADFACYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAB
+ igAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKAD
+ FABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAY
+ oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADF
+ ABigAxQAYoAMUAGKAFxQAYoAMUAGKADFACYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABi
+ gAxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oAMUAGKADF
+ ABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQAYo
+ AMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFA
+ BigAxQAYoAMUAGKADFABigBcUAGKADFACYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABig
+ AxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFA
+ BigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oA
+ MUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFAB
+ igAxQAYoAMUAGKADFABigAxQAuKADFACYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigA
+ xQAYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKBBigAxQMMUAGKBBigAxQAYoGGKADFAgxQAYoG
+ GKAFxQAYoAMUCDFABigYYoAMUAGKBBigAxQAYoGGKADFABigAxQIMUAGKBhigQYoAMUAGKADFAwxQIMU
+ AGKAFxQAYoAMUDDFAgxQAYoGGKADFABigQYoAMUDDFABigAxQAYoEGKAFxQMMUAGKBBigAxQAYoGGKAD
+ FAgxQAYoGGKADFABigAxQIMUDDFAC4oAMUAJigAxQIMUAGKBhigBcUAGKADFAgxQAYoGGKBBigAxQAYo
+ AMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFA
+ BigAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoA
+ MUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQA
+ YoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKAD
+ FABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAY
+ oAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADF
+ ABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGK
+ ADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQ
+ AYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKA
+ DFABigAxQAYoAXFABigAxQAYoAMUAGKAExQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFA
+ BigAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKA
+ DFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQA
+ YoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAD
+ FABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAY
+ oAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKADFABigAx
+ QAYoAMUAGKADFABigAxQAYoAMUALigBMUAGKADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAY
+ oAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFx
+ QAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuK
+ ADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQ
+ AYoAMUAGKADFABigAxQAuKADFABigBMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYo
+ AMUAGKADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQ
+ AYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKA
+ DFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQA
+ YoAMUAGKADFABigBcUAGKADFABigBMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoA
+ MUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQA
+ YoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKAD
+ FABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAY
+ oAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADF
+ AC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGK
+ ADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQ
+ AYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKA
+ FxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oAMUA
+ GKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigA
+ xQAYoAMUAGKAFxQAYoAMUAGKADaKADaKADFABigAxQAYoAMUAGKADFABigAxQAuBQAYFABgUAGBQAYFA
+ BigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAoAKACgAoAKACgAoAKAC
+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ADFABigAxQAYoAMUA
+ GKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoA
+ MUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFAB
+ igAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAM
+ UAGKADFABigAxQAuKADFABigAxQAYoATFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAG
+ KADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQAYoAM
+ UAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKADFABi
+ gAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMU
+ AGKADFABigBcUAGKADFABigAxQAYpgGKQBigAxQAYoAMUAGKYBigAxSAMUAGKYBigAxQAYoAMUgDFABi
+ mAYoAMUgFxQAYoAMUwDFABikAYoAMUAGKADFMAxQAYpAGKYBigAxQAYoAMUgFxTAMUAGKADFABikAYpg
+ GKADFIAxQAYoAMUAGKYBigAxSAMUAGKADFABigAxTAMUAGKQBigAxQAuKYBigAxSAMUAGKYBigAxQAYp
+ AGKADFABimAYpAGKADFABigAxTAMUAGKQC4oAMUAGKYBigAxSAMUwDFABigAxQAYoAMUgDFMAxQAYoAM
+ UAGKQBimAuKADFIAxQAYoAMUAGKYBigAxSAMUAGKADFABimAYoAMUgDFABigAxQAYpgGKADFIAxQAYpg
+ GKAFxQAYpAGKADFMAxQAYpAGKADFABigAxTAMUAGKQBigAxQAYpgGKADFIAxTAXFABigAxQAYoAMUAGK
+ ADFABigAxQAYoAMUAGKADFABigAxQAYoAXFACYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADF
+ ABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYo
+ AMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQ
+ AYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKA
+ DFABigAxQAYoAMUAGKADFABigBcUAGKADFACYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFA
+ BigAxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKA
+ DFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQA
+ YoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKAD
+ FABigAxQAYoAMUAGKAFxQAYoAMUAGKADFACYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAB
+ igAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKAD
+ FABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAY
+ oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADF
+ ABigAxQAYoAMUAGKAFxQAYoAMUAGKADFACYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABi
+ gAxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oAMUAGKADF
+ ABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQAYo
+ AMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFA
+ BigAxQAYoAMUAGKADFABigBcUAGKADFACYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABig
+ AxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFA
+ BigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oA
+ MUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFAB
+ igAxQAYoAMUAGKADFABigAxQAuKADFACYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigA
+ xQAYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKBBigAxQMMUAGKBBigAxQAYoGGKADFAgxQAYoG
+ GKAFxQAYoAMUCDFABigYYoAMUAGKBBigAxQAYoGGKADFABigAxQIMUAGKBhigQYoAMUAGKADFAwxQIMU
+ AGKAFxQAYoAMUDDFAgxQAYoGGKADFABigQYoAMUDDFABigAxQAYoEGKAFxQMMUAGKBBigAxQAYoGGKAD
+ FAgxQAYoGGKADFABigAxQIMUDDFAC4oAMUAJigAxQIMUAGKBhigBcUAGKADFAgxQAYoGGKBBigAxQAYo
+ AMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFA
+ BigAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoA
+ MUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQA
+ YoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKAD
+ FABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAY
+ oAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADF
+ ABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGK
+ ADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQ
+ AYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKA
+ DFABigAxQAYoAXFABigAxQAYoAMUAGKAExQAuKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFA
+ BigAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKA
+ DFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQA
+ YoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAD
+ FABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAY
+ oAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKADFABigAx
+ QAYoAMUAGKADFABigAxQAYoAMUALigBMUAGKADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAY
+ oAMUAGKADFABigAxQAYoAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKAFx
+ QAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuK
+ ADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQ
+ AYoAMUAGKADFABigAxQAuKADFABigBMUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYo
+ AMUAGKADFABigAxQAYoAXFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAXFABigAxQ
+ AYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKA
+ DFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQA
+ YoAMUAGKADFABigBcUAGKADFABigBMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoA
+ MUAGKADFABigBcUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigBcUAGKADFABigAxQA
+ YoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKAD
+ FABigAxQAYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAY
+ oAMUAGKAFxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADF
+ AC4oAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGK
+ ADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigAxQ
+ AYoAMUAGKADFABigAxQAYoAMUALigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKA
+ FxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFAC4oAMUA
+ GKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAuKADFABigAxQAYoAMUAGKADFABigA
+ xQAYoAMUAGKAFxQAYoAMUAGKADaKADaKADFABigAxQAYoAMUAGKADFABigAxQAuBQAYFABgUAGBQAYFA
+ BigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAxQAYoAMUAGKADFABigAoAKACgAoAKACgAoAKAC
+ gAoAKACgAoAKACgD/9k=
+
+
+
\ No newline at end of file
diff --git a/Ping Tester Aluminium/GUI/_old_Form_Main.Designer.cs b/Ping Tester Aluminium/GUI/_old_Form_Main.Designer.cs
deleted file mode 100644
index c238d04..0000000
--- a/Ping Tester Aluminium/GUI/_old_Form_Main.Designer.cs
+++ /dev/null
@@ -1,250 +0,0 @@
-namespace PingTesterAluminium
-{
- partial class FormMain
- {
- ///
- /// Variable nécessaire au concepteur.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Nettoyage des ressources utilisées.
- ///
- /// true si les ressources managées doivent être supprimées ; sinon, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Code généré par le Concepteur Windows Form
-
- ///
- /// Méthode requise pour la prise en charge du concepteur - ne modifiez pas
- /// le contenu de cette méthode avec l'éditeur de code.
- ///
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
- this.label_time = new System.Windows.Forms.Label();
- this.timerPing = new System.Windows.Forms.Timer(this.components);
- this.label_rating = new System.Windows.Forms.Label();
- this.progressBarTime = new System.Windows.Forms.ProgressBar();
- this.button_settings = new System.Windows.Forms.Button();
- this.label_host = new System.Windows.Forms.Label();
- this.button_about = new System.Windows.Forms.Button();
- this.button_pause = new System.Windows.Forms.Button();
- this.backgroundWorkerPing = new System.ComponentModel.BackgroundWorker();
- this.button_close = new System.Windows.Forms.Button();
- this.label_applicationTitle = new System.Windows.Forms.Label();
- this.button_minimize = new System.Windows.Forms.Button();
- this.SuspendLayout();
- //
- // label_time
- //
- this.label_time.AutoSize = true;
- this.label_time.BackColor = System.Drawing.Color.Transparent;
- this.label_time.ForeColor = System.Drawing.Color.Gray;
- this.label_time.Location = new System.Drawing.Point(125, 92);
- this.label_time.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.label_time.Name = "label_time";
- this.label_time.Size = new System.Drawing.Size(167, 36);
- this.label_time.TabIndex = 3;
- this.label_time.Text = "Timeout";
- //
- // timerPing
- //
- this.timerPing.Interval = 1000;
- this.timerPing.Tick += new System.EventHandler(this.timerPing_Tick);
- //
- // label_rating
- //
- this.label_rating.AutoSize = true;
- this.label_rating.BackColor = System.Drawing.Color.Transparent;
- this.label_rating.ForeColor = System.Drawing.Color.Gray;
- this.label_rating.Location = new System.Drawing.Point(74, 174);
- this.label_rating.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.label_rating.Name = "label_rating";
- this.label_rating.Size = new System.Drawing.Size(287, 36);
- this.label_rating.TabIndex = 5;
- this.label_rating.Text = "Disconnected";
- //
- // progressBarTime
- //
- this.progressBarTime.ForeColor = System.Drawing.SystemColors.ControlText;
- this.progressBarTime.Location = new System.Drawing.Point(135, 136);
- this.progressBarTime.Margin = new System.Windows.Forms.Padding(4);
- this.progressBarTime.MarqueeAnimationSpeed = 0;
- this.progressBarTime.Maximum = 300;
- this.progressBarTime.Name = "progressBarTime";
- this.progressBarTime.Size = new System.Drawing.Size(150, 34);
- this.progressBarTime.Step = 0;
- this.progressBarTime.TabIndex = 4;
- this.progressBarTime.Value = 300;
- //
- // button_settings
- //
- this.button_settings.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
- this.button_settings.BackgroundImage = global::PingTesterAluminium.Properties.Resources.background;
- this.button_settings.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.button_settings.Cursor = System.Windows.Forms.Cursors.Hand;
- this.button_settings.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.button_settings.Font = new System.Drawing.Font("Visitor TT1 BRK", 15F);
- this.button_settings.Location = new System.Drawing.Point(136, 328);
- this.button_settings.Margin = new System.Windows.Forms.Padding(4);
- this.button_settings.Name = "button_settings";
- this.button_settings.Size = new System.Drawing.Size(142, 33);
- this.button_settings.TabIndex = 0;
- this.button_settings.Text = "Settings";
- this.button_settings.UseVisualStyleBackColor = false;
- this.button_settings.Click += new System.EventHandler(this.buttonSettings_Click);
- //
- // label_host
- //
- this.label_host.AutoSize = true;
- this.label_host.BackColor = System.Drawing.Color.Transparent;
- this.label_host.ForeColor = System.Drawing.Color.Gray;
- this.label_host.Location = new System.Drawing.Point(154, 248);
- this.label_host.Name = "label_host";
- this.label_host.Size = new System.Drawing.Size(111, 36);
- this.label_host.TabIndex = 6;
- this.label_host.Text = "Host";
- //
- // button_about
- //
- this.button_about.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.button_about.BackgroundImage = global::PingTesterAluminium.Properties.Resources.background;
- this.button_about.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.button_about.Cursor = System.Windows.Forms.Cursors.Hand;
- this.button_about.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.button_about.Font = new System.Drawing.Font("Visitor TT1 BRK", 15F);
- this.button_about.Image = global::PingTesterAluminium.Properties.Resources.about;
- this.button_about.Location = new System.Drawing.Point(362, 328);
- this.button_about.Margin = new System.Windows.Forms.Padding(4);
- this.button_about.Name = "button_about";
- this.button_about.Size = new System.Drawing.Size(40, 33);
- this.button_about.TabIndex = 2;
- this.button_about.UseVisualStyleBackColor = false;
- this.button_about.Click += new System.EventHandler(this.buttonAbout_Click);
- //
- // button_pause
- //
- this.button_pause.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.button_pause.BackgroundImage = global::PingTesterAluminium.Properties.Resources.background;
- this.button_pause.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.button_pause.Cursor = System.Windows.Forms.Cursors.Hand;
- this.button_pause.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.button_pause.Font = new System.Drawing.Font("Visitor TT1 BRK", 15F);
- this.button_pause.Image = global::PingTesterAluminium.Properties.Resources.pause;
- this.button_pause.Location = new System.Drawing.Point(14, 328);
- this.button_pause.Margin = new System.Windows.Forms.Padding(4);
- this.button_pause.Name = "button_pause";
- this.button_pause.Size = new System.Drawing.Size(40, 33);
- this.button_pause.TabIndex = 1;
- this.button_pause.UseVisualStyleBackColor = false;
- this.button_pause.Click += new System.EventHandler(this.buttonPause_Click);
- //
- // backgroundWorkerPing
- //
- this.backgroundWorkerPing.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorkerPing_DoWork);
- this.backgroundWorkerPing.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorkerPing_RunWorkerCompleted);
- //
- // button_close
- //
- this.button_close.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.button_close.BackColor = System.Drawing.Color.Transparent;
- this.button_close.BackgroundImage = global::PingTesterAluminium.Properties.Resources.close;
- this.button_close.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.button_close.Cursor = System.Windows.Forms.Cursors.Hand;
- this.button_close.FlatAppearance.BorderSize = 0;
- this.button_close.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.button_close.Font = new System.Drawing.Font("Visitor TT1 BRK", 15F);
- this.button_close.Location = new System.Drawing.Point(369, 14);
- this.button_close.Margin = new System.Windows.Forms.Padding(4);
- this.button_close.Name = "button_close";
- this.button_close.Size = new System.Drawing.Size(33, 33);
- this.button_close.TabIndex = 2;
- this.button_close.UseVisualStyleBackColor = false;
- this.button_close.Click += new System.EventHandler(this.button_close_Click);
- //
- // label_applicationTitle
- //
- this.label_applicationTitle.BackColor = System.Drawing.Color.Transparent;
- this.label_applicationTitle.Font = new System.Drawing.Font("Visitor TT1 BRK", 30F);
- this.label_applicationTitle.ForeColor = System.Drawing.Color.Black;
- this.label_applicationTitle.Location = new System.Drawing.Point(13, 14);
- this.label_applicationTitle.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.label_applicationTitle.Name = "label_applicationTitle";
- this.label_applicationTitle.Size = new System.Drawing.Size(307, 33);
- this.label_applicationTitle.TabIndex = 3;
- this.label_applicationTitle.Text = "Ping Tester";
- this.label_applicationTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // button_minimize
- //
- this.button_minimize.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.button_minimize.BackColor = System.Drawing.Color.Transparent;
- this.button_minimize.BackgroundImage = global::PingTesterAluminium.Properties.Resources.minimize;
- this.button_minimize.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.button_minimize.Cursor = System.Windows.Forms.Cursors.Hand;
- this.button_minimize.FlatAppearance.BorderSize = 0;
- this.button_minimize.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.button_minimize.Font = new System.Drawing.Font("Visitor TT1 BRK", 15F);
- this.button_minimize.Location = new System.Drawing.Point(328, 14);
- this.button_minimize.Margin = new System.Windows.Forms.Padding(4);
- this.button_minimize.Name = "button_minimize";
- this.button_minimize.Size = new System.Drawing.Size(33, 33);
- this.button_minimize.TabIndex = 2;
- this.button_minimize.UseVisualStyleBackColor = false;
- this.button_minimize.Click += new System.EventHandler(this.button_minimize_Click);
- //
- // FormMain
- //
- this.ClientSize = new System.Drawing.Size(416, 376);
- this.Controls.Add(this.label_host);
- this.Controls.Add(this.button_pause);
- this.Controls.Add(this.button_minimize);
- this.Controls.Add(this.button_close);
- this.Controls.Add(this.button_about);
- this.Controls.Add(this.button_settings);
- this.Controls.Add(this.progressBarTime);
- this.Controls.Add(this.label_rating);
- this.Controls.Add(this.label_applicationTitle);
- this.Controls.Add(this.label_time);
- this.Cursor = System.Windows.Forms.Cursors.Default;
- this.Font = new System.Drawing.Font("Visitor TT1 BRK", 30F);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.Margin = new System.Windows.Forms.Padding(10, 8, 10, 8);
- this.MaximizeBox = false;
- this.Name = "FormMain";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "Ping Tester";
- this.Load += new System.EventHandler(this.FormMain_Load);
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.Label label_time;
- private System.Windows.Forms.Label label_rating;
- private System.Windows.Forms.ProgressBar progressBarTime;
- private System.Windows.Forms.Button button_settings;
- private System.Windows.Forms.Label label_host;
- private System.Windows.Forms.Button button_about;
- private System.Windows.Forms.Button button_pause;
- private System.ComponentModel.BackgroundWorker backgroundWorkerPing;
- public System.Windows.Forms.Timer timerPing;
- private System.Windows.Forms.Button button_close;
- private System.Windows.Forms.Label label_applicationTitle;
- private System.Windows.Forms.Button button_minimize;
-
- }
-}
-
diff --git a/Ping Tester Aluminium/GUI/_old_Form_Main.cs b/Ping Tester Aluminium/GUI/_old_Form_Main.cs
deleted file mode 100644
index edbf385..0000000
--- a/Ping Tester Aluminium/GUI/_old_Form_Main.cs
+++ /dev/null
@@ -1,134 +0,0 @@
-using System;
-using System.Windows.Forms;
-using PingTesterAluminium.Properties;
-
-namespace PingTesterAluminium
-{
- public partial class FormMain : Form
- {
- public FormMain()
- {
- InitializeComponent();
- timerPing.Start();
- }
-
- private void timerPing_Tick(object sender, EventArgs e)
- {
- // Set Timer Interval from Settings
- if (Settings.Default.Interval < 100) timerPing.Interval = 100;
- else timerPing.Interval = Settings.Default.Interval;
-
- // Save Timer Interval
- if (timerPing.Interval != Settings.Default.Interval)
- {
- Settings.Default.Interval = timerPing.Interval;
- Settings.Default.Save();
- }
-
- // Get Ping Response using Host from Settings
- if (!backgroundWorkerPing.IsBusy) backgroundWorkerPing.RunWorkerAsync();
- }
-
- private void backgroundWorkerPing_DoWork(object sender, System.ComponentModel.DoWorkEventArgs e)
- {
- e.Result = PingTest.Ping(Settings.Default.Host);
- }
-
- private void backgroundWorkerPing_RunWorkerCompleted(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e)
- {
- PingResult response = (PingResult)e.Result;
-
- // Display Time
- label_time.Text = response.Time > 0 ? response.Time.ToString() + " ms" : "Timeout";
- label_time.ForeColor = response.Color;
- label_time.CenterHorizontally();
-
- // Display Progression
- if (response.Time > progressBarTime.Maximum) progressBarTime.Value = progressBarTime.Maximum;
- else if (response.Time < progressBarTime.Minimum) progressBarTime.Value = progressBarTime.Minimum;
- else progressBarTime.Value = (int)response.Time;
- progressBarTime.ForeColor = response.Color;
-
- // Display Rating
- label_rating.Text = response.Rating;
- label_rating.ForeColor = response.Color;
- label_rating.CenterHorizontally();
-
- // Display Host
- label_host.Text = response.Host;
- label_host.CenterHorizontally();
-
- // Save Host
- if (response.Host != Settings.Default.Host)
- {
- Settings.Default.Host = response.Host;
- Settings.Default.Save();
- }
- }
-
-
- private void buttonSettings_Click(object sender, EventArgs e)
- {
- // Stop Timer
- bool timerStatus = timerPing.Enabled;
- TimerSwitch(false);
-
- // Create & Open Settings Form
- FormSettings formSettings = new FormSettings();
- formSettings.ShowDialog();
-
- // Restore Timer Status
- TimerSwitch(timerStatus);
- }
-
- private void buttonAbout_Click(object sender, EventArgs e)
- {
- // Stop Timer
- bool timerStatus = timerPing.Enabled;
- TimerSwitch(false);
-
- // Create & Open About Form
- FormAbout formAbout = new FormAbout();
- formAbout.ShowDialog();
-
- // Restore Timer Status
- TimerSwitch(timerStatus);
- }
-
- private void buttonPause_Click(object sender, EventArgs e)
- {
- TimerSwitch();
- }
-
- public void TimerSwitch()
- {
- timerPing.Enabled = !timerPing.Enabled;
- button_pause.Image = timerPing.Enabled ? Resources.pause : Resources.play;
- }
- public void TimerSwitch(bool status)
- {
- timerPing.Enabled = status;
- button_pause.Image = timerPing.Enabled ? Resources.pause : Resources.play;
- }
-
- private void FormMain_Load(object sender, EventArgs e)
- {
-
- }
-
- private void button_close_Click(object sender, EventArgs e)
- {
- Close();
- }
-
- private void button_minimize_Click(object sender, EventArgs e)
- {
- WindowState = FormWindowState.Minimized;
- }
-
- private void aluminiumButton1_Load(object sender, EventArgs e)
- {
-
- }
- }
-}
diff --git a/Ping Tester Aluminium/GUI/_old_Form_Main.resx b/Ping Tester Aluminium/GUI/_old_Form_Main.resx
deleted file mode 100644
index 67a2644..0000000
--- a/Ping Tester Aluminium/GUI/_old_Form_Main.resx
+++ /dev/null
@@ -1,225 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 17, 17
-
-
- 121, 17
-
-
- 52
-
-
-
-
- AAABAAIAEBAAAAEAIABoBAAAJgAAACAgAAABACAAqBAAAI4EAAAoAAAAEAAAACAAAAABACAAAAAAADAE
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBGNlBQRziqUEc4qlBHOKpQRziqUEc4qlBH
- OKpQRziqUEc4qlBHOKpQRziqTkg4TgAAAAAAAAAAAAAAAFV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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAP//////////////////////////+AAAH/AAAA/wAAAP4AAAB+AA
- AAfAAAAHwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA+AAAAfgAAAH8AAAD/AAAA/4AAAf/AAAP/4A
- AH//AAD//8AD///4H///////////////////////
-
-
-
\ No newline at end of file
diff --git a/Ping Tester Aluminium/GUI/_old_Form_Settings.Designer.cs b/Ping Tester Aluminium/GUI/_old_Form_Settings.Designer.cs
deleted file mode 100644
index 1a4287a..0000000
--- a/Ping Tester Aluminium/GUI/_old_Form_Settings.Designer.cs
+++ /dev/null
@@ -1,161 +0,0 @@
-namespace PingTesterAluminium
-{
- partial class FormSettings
- {
- ///
- /// Variable nécessaire au concepteur.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Nettoyage des ressources utilisées.
- ///
- /// true si les ressources managées doivent être supprimées ; sinon, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Code généré par le Concepteur Windows Form
-
- ///
- /// Méthode requise pour la prise en charge du concepteur - ne modifiez pas
- /// le contenu de cette méthode avec l'éditeur de code.
- ///
- private void InitializeComponent()
- {
- this.buttonSave = new System.Windows.Forms.Button();
- this.labelHost = new System.Windows.Forms.Label();
- this.textBoxHost = new System.Windows.Forms.TextBox();
- this.textBoxInterval = new System.Windows.Forms.TextBox();
- this.labelInterval = new System.Windows.Forms.Label();
- this.buttonCancel = new System.Windows.Forms.Button();
- this.SuspendLayout();
- //
- // buttonSave
- //
- this.buttonSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.buttonSave.BackgroundImage = global::PingTesterAluminium.Properties.Resources.background;
- this.buttonSave.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.buttonSave.Cursor = System.Windows.Forms.Cursors.Hand;
- this.buttonSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.buttonSave.Font = new System.Drawing.Font("Visitor TT1 BRK", 15F);
- this.buttonSave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.buttonSave.Location = new System.Drawing.Point(411, 185);
- this.buttonSave.Margin = new System.Windows.Forms.Padding(4);
- this.buttonSave.Name = "buttonSave";
- this.buttonSave.Size = new System.Drawing.Size(150, 33);
- this.buttonSave.TabIndex = 2;
- this.buttonSave.Text = "Save";
- this.buttonSave.UseVisualStyleBackColor = false;
- this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
- //
- // labelHost
- //
- this.labelHost.AutoSize = true;
- this.labelHost.BackColor = System.Drawing.Color.Transparent;
- this.labelHost.Font = new System.Drawing.Font("Visitor TT1 BRK", 25F);
- this.labelHost.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.labelHost.Location = new System.Drawing.Point(120, 14);
- this.labelHost.Name = "labelHost";
- this.labelHost.Size = new System.Drawing.Size(334, 31);
- this.labelHost.TabIndex = 4;
- this.labelHost.Text = "Host (Name or IP)";
- //
- // textBoxHost
- //
- this.textBoxHost.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.textBoxHost.Location = new System.Drawing.Point(13, 48);
- this.textBoxHost.Name = "textBoxHost";
- this.textBoxHost.Size = new System.Drawing.Size(547, 44);
- this.textBoxHost.TabIndex = 0;
- this.textBoxHost.Text = "google.com";
- this.textBoxHost.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- //
- // textBoxInterval
- //
- this.textBoxInterval.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.textBoxInterval.Location = new System.Drawing.Point(12, 129);
- this.textBoxInterval.Name = "textBoxInterval";
- this.textBoxInterval.Size = new System.Drawing.Size(548, 44);
- this.textBoxInterval.TabIndex = 1;
- this.textBoxInterval.Text = "1000";
- this.textBoxInterval.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- this.textBoxInterval.TextChanged += new System.EventHandler(this.textBoxInterval_TextChanged);
- //
- // labelInterval
- //
- this.labelInterval.AutoSize = true;
- this.labelInterval.BackColor = System.Drawing.Color.Transparent;
- this.labelInterval.Font = new System.Drawing.Font("Visitor TT1 BRK", 25F);
- this.labelInterval.Location = new System.Drawing.Point(160, 95);
- this.labelInterval.Name = "labelInterval";
- this.labelInterval.Size = new System.Drawing.Size(254, 31);
- this.labelInterval.TabIndex = 5;
- this.labelInterval.Text = "Interval (ms)";
- //
- // buttonCancel
- //
- this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.buttonCancel.BackgroundImage = global::PingTesterAluminium.Properties.Resources.background;
- this.buttonCancel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.buttonCancel.Cursor = System.Windows.Forms.Cursors.Hand;
- this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.buttonCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.buttonCancel.Font = new System.Drawing.Font("Visitor TT1 BRK", 15F);
- this.buttonCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.buttonCancel.Location = new System.Drawing.Point(13, 185);
- this.buttonCancel.Margin = new System.Windows.Forms.Padding(4);
- this.buttonCancel.Name = "buttonCancel";
- this.buttonCancel.Size = new System.Drawing.Size(150, 33);
- this.buttonCancel.TabIndex = 3;
- this.buttonCancel.Text = "Cancel";
- this.buttonCancel.UseVisualStyleBackColor = false;
- this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
- //
- // FormSettings
- //
- this.AcceptButton = this.buttonSave;
- this.AutoScaleDimensions = new System.Drawing.SizeF(24F, 36F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.BackgroundImage = global::PingTesterAluminium.Properties.Resources.background;
- this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.CancelButton = this.buttonCancel;
- this.ClientSize = new System.Drawing.Size(574, 232);
- this.Controls.Add(this.textBoxInterval);
- this.Controls.Add(this.textBoxHost);
- this.Controls.Add(this.labelInterval);
- this.Controls.Add(this.labelHost);
- this.Controls.Add(this.buttonCancel);
- this.Controls.Add(this.buttonSave);
- this.Font = new System.Drawing.Font("Visitor TT1 BRK", 30F);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
- this.Margin = new System.Windows.Forms.Padding(10, 8, 10, 8);
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "FormSettings";
- this.ShowIcon = false;
- this.ShowInTaskbar = false;
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "Settings";
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.Button buttonSave;
- private System.Windows.Forms.Label labelHost;
- private System.Windows.Forms.TextBox textBoxHost;
- private System.Windows.Forms.TextBox textBoxInterval;
- private System.Windows.Forms.Label labelInterval;
- private System.Windows.Forms.Button buttonCancel;
-
- }
-}
-
diff --git a/Ping Tester Aluminium/GUI/_old_Form_Settings.cs b/Ping Tester Aluminium/GUI/_old_Form_Settings.cs
deleted file mode 100644
index 1924dff..0000000
--- a/Ping Tester Aluminium/GUI/_old_Form_Settings.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-using System;
-using System.Windows.Forms;
-using PingTesterAluminium.Properties;
-
-namespace PingTesterAluminium
-{
- public partial class FormSettings : Form
- {
- public FormSettings()
- {
- InitializeComponent();
- this.SetFont(Resources.visitor.ToFontFamily());
- this.EnableHoverEffectsForChildButtons();
- textBoxHost.Text = Settings.Default.Host;
- textBoxInterval.Text = Settings.Default.Interval.ToString();
- }
-
- private void buttonSave_Click(object sender, EventArgs e)
- {
- string host = textBoxHost.Text.Trim();
- if (host == string.Empty)
- {
- MessageBox.Show("A host name or ip must be given.");
- return;
- }
-
- int interval = 0;
- if (!int.TryParse(textBoxInterval.Text, out interval))
- {
- MessageBox.Show("Interval must be a number.");
- return;
- }
-
- if (interval <= 100)
- {
- interval = 100;
- }
-
- Settings.Default.Host = host;
- Settings.Default.Interval = interval;
- Settings.Default.Save();
- ((FormMain)this.ParentForm).timerPing.Interval = interval;
- this.Close();
- }
-
- private void buttonCancel_Click(object sender, EventArgs e)
- {
- this.Close();
- }
-
- private void textBoxInterval_TextChanged(object sender, EventArgs e)
- {
-
- }
- }
-}
diff --git a/Ping Tester Aluminium/GUI/_old_Form_Settings.resx b/Ping Tester Aluminium/GUI/_old_Form_Settings.resx
deleted file mode 100644
index fa6b66e..0000000
--- a/Ping Tester Aluminium/GUI/_old_Form_Settings.resx
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 52
-
-
\ No newline at end of file
diff --git a/Ping Tester Aluminium/GUI/old_Form_About.Designer.cs b/Ping Tester Aluminium/GUI/old_Form_About.Designer.cs
deleted file mode 100644
index 8b3da60..0000000
--- a/Ping Tester Aluminium/GUI/old_Form_About.Designer.cs
+++ /dev/null
@@ -1,148 +0,0 @@
-namespace PingTesterAluminium
-{
- partial class FormAbout
- {
- ///
- /// Variable nécessaire au concepteur.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Nettoyage des ressources utilisées.
- ///
- /// true si les ressources managées doivent être supprimées ; sinon, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Code généré par le Concepteur Windows Form
-
- ///
- /// Méthode requise pour la prise en charge du concepteur - ne modifiez pas
- /// le contenu de cette méthode avec l'éditeur de code.
- ///
- private void InitializeComponent()
- {
- this.button_ok = new System.Windows.Forms.Button();
- this.labelCopyright1 = new System.Windows.Forms.Label();
- this.labelCopyright2 = new System.Windows.Forms.Label();
- this.labelCopyright3 = new System.Windows.Forms.Label();
- this.labelCopyright4 = new System.Windows.Forms.Label();
- this.aluminiumButton1 = new PingTesterAluminium.AluminiumButton();
- this.SuspendLayout();
- //
- // button_ok
- //
- this.button_ok.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
- this.button_ok.BackgroundImage = global::PingTesterAluminium.Properties.Resources.background;
- this.button_ok.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.button_ok.Cursor = System.Windows.Forms.Cursors.Hand;
- this.button_ok.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.button_ok.Font = new System.Drawing.Font("Visitor TT1 BRK", 15F);
- this.button_ok.Location = new System.Drawing.Point(198, 293);
- this.button_ok.Margin = new System.Windows.Forms.Padding(4);
- this.button_ok.Name = "button_ok";
- this.button_ok.Size = new System.Drawing.Size(143, 33);
- this.button_ok.TabIndex = 0;
- this.button_ok.Text = "Ok";
- this.button_ok.UseVisualStyleBackColor = false;
- this.button_ok.Click += new System.EventHandler(this.buttonOk_Click);
- //
- // labelCopyright1
- //
- this.labelCopyright1.AutoSize = true;
- this.labelCopyright1.BackColor = System.Drawing.Color.Transparent;
- this.labelCopyright1.Location = new System.Drawing.Point(96, 91);
- this.labelCopyright1.Name = "labelCopyright1";
- this.labelCopyright1.Size = new System.Drawing.Size(347, 36);
- this.labelCopyright1.TabIndex = 1;
- this.labelCopyright1.Text = "AmbraPing 1.0.0.0";
- //
- // labelCopyright2
- //
- this.labelCopyright2.AutoSize = true;
- this.labelCopyright2.BackColor = System.Drawing.Color.Transparent;
- this.labelCopyright2.Location = new System.Drawing.Point(130, 149);
- this.labelCopyright2.Name = "labelCopyright2";
- this.labelCopyright2.Size = new System.Drawing.Size(279, 36);
- this.labelCopyright2.TabIndex = 2;
- this.labelCopyright2.Text = "© Ambratolm";
- //
- // labelCopyright3
- //
- this.labelCopyright3.AutoSize = true;
- this.labelCopyright3.BackColor = System.Drawing.Color.Transparent;
- this.labelCopyright3.Location = new System.Drawing.Point(42, 185);
- this.labelCopyright3.Name = "labelCopyright3";
- this.labelCopyright3.Size = new System.Drawing.Size(455, 36);
- this.labelCopyright3.TabIndex = 3;
- this.labelCopyright3.Text = "© Elhafid Softwares";
- //
- // labelCopyright4
- //
- this.labelCopyright4.AutoSize = true;
- this.labelCopyright4.BackColor = System.Drawing.Color.Transparent;
- this.labelCopyright4.Location = new System.Drawing.Point(220, 221);
- this.labelCopyright4.Name = "labelCopyright4";
- this.labelCopyright4.Size = new System.Drawing.Size(99, 36);
- this.labelCopyright4.TabIndex = 4;
- this.labelCopyright4.Text = "2019";
- //
- // aluminiumButton1
- //
- this.aluminiumButton1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.aluminiumButton1.Cursor = System.Windows.Forms.Cursors.Hand;
- this.aluminiumButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.aluminiumButton1.Font = new System.Drawing.Font("Visitor TT1 BRK", 15F);
- this.aluminiumButton1.Location = new System.Drawing.Point(136, 33);
- this.aluminiumButton1.Name = "aluminiumButton1";
- this.aluminiumButton1.Size = new System.Drawing.Size(296, 32);
- this.aluminiumButton1.TabIndex = 5;
- this.aluminiumButton1.Text = "aluminiumButton1";
- this.aluminiumButton1.UseVisualStyleBackColor = false;
- //
- // FormAbout
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(24F, 36F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.BackgroundImage = global::PingTesterAluminium.Properties.Resources.background;
- this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.ClientSize = new System.Drawing.Size(538, 340);
- this.Controls.Add(this.aluminiumButton1);
- this.Controls.Add(this.labelCopyright4);
- this.Controls.Add(this.labelCopyright3);
- this.Controls.Add(this.labelCopyright2);
- this.Controls.Add(this.labelCopyright1);
- this.Controls.Add(this.button_ok);
- this.Font = new System.Drawing.Font("Visitor TT1 BRK", 30F);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
- this.Margin = new System.Windows.Forms.Padding(10, 8, 10, 8);
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "FormAbout";
- this.ShowIcon = false;
- this.ShowInTaskbar = false;
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "About";
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private System.Windows.Forms.Button button_ok;
- private System.Windows.Forms.Label labelCopyright1;
- private System.Windows.Forms.Label labelCopyright2;
- private System.Windows.Forms.Label labelCopyright3;
- private System.Windows.Forms.Label labelCopyright4;
- private AluminiumButton aluminiumButton1;
-
- }
-}
-
diff --git a/Ping Tester Aluminium/GUI/old_Form_About.cs b/Ping Tester Aluminium/GUI/old_Form_About.cs
deleted file mode 100644
index 33588e4..0000000
--- a/Ping Tester Aluminium/GUI/old_Form_About.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System;
-using System.Windows.Forms;
-using PingTesterAluminium.Properties;
-
-namespace PingTesterAluminium
-{
- public partial class FormAbout : Form
- {
- public FormAbout()
- {
- InitializeComponent();
-
- // Set Custom Font for Form
- this.SetFont(Resources.visitor.ToFontFamily());
-
- // Enable Hover Animation on Buttons
- this.EnableHoverEffectsForChildButtons();
-
- // Set Copyright Infromations
- labelCopyright1.Text = Application.ProductName + " " + Application.ProductVersion;
- labelCopyright1.CenterHorizontally();
- }
-
- private void buttonOk_Click(object sender, EventArgs e)
- {
- this.Close();
- }
- }
-}
diff --git a/Ping Tester Aluminium/GUI/old_Form_About.resx b/Ping Tester Aluminium/GUI/old_Form_About.resx
deleted file mode 100644
index fa6b66e..0000000
--- a/Ping Tester Aluminium/GUI/old_Form_About.resx
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 52
-
-
\ No newline at end of file
diff --git a/Ping Tester Aluminium/Ping Tester Aluminium.csproj b/Ping Tester Aluminium/Ping Tester Aluminium.csproj
index b0282d1..3b0d111 100644
--- a/Ping Tester Aluminium/Ping Tester Aluminium.csproj
+++ b/Ping Tester Aluminium/Ping Tester Aluminium.csproj
@@ -65,26 +65,34 @@
-
+
+
-
-
-
+
+
+
-
+
+
Form
-
- Form1.cs
+
+ Form_About.cs
-
+
Form
-
- Form2.cs
+
+ Form_Error.cs
+
+
+ Form
+
+
+ Form_Main.cs
Component
@@ -110,41 +118,29 @@
AluminiumTextBox.cs
-
- Form
-
-
- old_Form_About.cs
-
-
+
Form
-
- _old_Form_Settings.cs
-
-
- Form
-
-
- _old_Form_Main.cs
+
+ Form_Settings.cs
-
- Form1.cs
+
+ Form_About.cs
-
- old_Form_About.cs
+
+ Form_Error.cs
-
- _old_Form_Settings.cs
-
-
- _old_Form_Main.cs
+
+ Form_Main.cs
AluminiumForm.cs
+
+ Form_Settings.cs
+
ResXFileCodeGenerator
Designer
diff --git a/Ping Tester Aluminium/Program.cs b/Ping Tester Aluminium/Program.cs
index c8edf45..2dd9b94 100644
--- a/Ping Tester Aluminium/Program.cs
+++ b/Ping Tester Aluminium/Program.cs
@@ -13,7 +13,7 @@ static void Main()
{
//Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new Form1());
+ Application.Run(new Form_Main());
}
}
}
diff --git a/Ping Tester Aluminium/Properties/Settings.Designer.cs b/Ping Tester Aluminium/Properties/Settings.Designer.cs
index a01a6e0..ab0a68d 100644
--- a/Ping Tester Aluminium/Properties/Settings.Designer.cs
+++ b/Ping Tester Aluminium/Properties/Settings.Designer.cs
@@ -46,5 +46,53 @@ public int Interval {
this["Interval"] = value;
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("5000")]
+ public int Timeout {
+ get {
+ return ((int)(this["Timeout"]));
+ }
+ set {
+ this["Timeout"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("32")]
+ public int BufferLength {
+ get {
+ return ((int)(this["BufferLength"]));
+ }
+ set {
+ this["BufferLength"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("128")]
+ public int Ttl {
+ get {
+ return ((int)(this["Ttl"]));
+ }
+ set {
+ this["Ttl"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("False")]
+ public bool DontFragment {
+ get {
+ return ((bool)(this["DontFragment"]));
+ }
+ set {
+ this["DontFragment"] = value;
+ }
+ }
}
}
diff --git a/Ping Tester Aluminium/Properties/Settings.settings b/Ping Tester Aluminium/Properties/Settings.settings
index 6946a79..f76e0bb 100644
--- a/Ping Tester Aluminium/Properties/Settings.settings
+++ b/Ping Tester Aluminium/Properties/Settings.settings
@@ -8,5 +8,17 @@
1000
+
+ 5000
+
+
+ 32
+
+
+ 128
+
+
+ False
+
\ No newline at end of file
diff --git a/Ping Tester Aluminium/app.config b/Ping Tester Aluminium/app.config
index 489a12e..fd14feb 100644
--- a/Ping Tester Aluminium/app.config
+++ b/Ping Tester Aluminium/app.config
@@ -14,6 +14,18 @@
1000
+
+ 5000
+
+
+ 32
+
+
+ 128
+
+
+ False
+
diff --git a/Ping Tester Aluminium/bin/Release/PingTesterAluminium.exe b/Ping Tester Aluminium/bin/Release/PingTesterAluminium.exe
index 9eb25d4..13129f4 100644
Binary files a/Ping Tester Aluminium/bin/Release/PingTesterAluminium.exe and b/Ping Tester Aluminium/bin/Release/PingTesterAluminium.exe differ
diff --git a/Ping Tester Aluminium/bin/Release/PingTesterAluminium.exe.config b/Ping Tester Aluminium/bin/Release/PingTesterAluminium.exe.config
index 489a12e..fd14feb 100644
--- a/Ping Tester Aluminium/bin/Release/PingTesterAluminium.exe.config
+++ b/Ping Tester Aluminium/bin/Release/PingTesterAluminium.exe.config
@@ -14,6 +14,18 @@
1000
+
+ 5000
+
+
+ 32
+
+
+ 128
+
+
+ False
+
diff --git a/Ping Tester Aluminium/bin/Release/PingTesterAluminium.vshost.exe.config b/Ping Tester Aluminium/bin/Release/PingTesterAluminium.vshost.exe.config
index 489a12e..fd14feb 100644
--- a/Ping Tester Aluminium/bin/Release/PingTesterAluminium.vshost.exe.config
+++ b/Ping Tester Aluminium/bin/Release/PingTesterAluminium.vshost.exe.config
@@ -14,6 +14,18 @@
1000
+
+ 5000
+
+
+ 32
+
+
+ 128
+
+
+ False
+
diff --git a/README.md b/README.md
index b69f23e..eb3664b 100644
--- a/README.md
+++ b/README.md
@@ -1,16 +1,19 @@
#  Ping Tester (Aluminium)
-
-
[](https://github.com/topics/windows)
[](https://github.com/topics/csharp)
[](https://github.com/topics/dotnet)
-Simple ping utility for testing network connection latency.
+Simple settable ping testing and rating utility for evaluating network local or remote connection latency.
-
+**:floppy_disk: [Download Binary Release](./Ping%20Tester%20Aluminium/bin/Release/PingTesterAluminium.exe?raw=true)**
-
+
+
+
+## :stars: Features
+- Settings for ping request parameters.
+- Visual feedback for ping status and rating.
## :rocket: Development
- Language: **[C#](https://github.com/dotnet/csharplang) 4.0**
diff --git a/screenshot.gif b/screenshot.gif
new file mode 100644
index 0000000..911afd3
Binary files /dev/null and b/screenshot.gif differ
diff --git a/screenshot2.gif b/screenshot2.gif
new file mode 100644
index 0000000..490ce71
Binary files /dev/null and b/screenshot2.gif differ