diff --git a/EvilInsultGenerator/EvilInsultGenerator.csproj b/EvilInsultGenerator/EvilInsultGenerator.csproj
index 0b92215..08681d2 100644
--- a/EvilInsultGenerator/EvilInsultGenerator.csproj
+++ b/EvilInsultGenerator/EvilInsultGenerator.csproj
@@ -128,7 +128,9 @@
-
+
+ Designer
+
diff --git a/EvilInsultGenerator/Form1.Designer.cs b/EvilInsultGenerator/Form1.Designer.cs
index 589b938..c498fa2 100644
--- a/EvilInsultGenerator/Form1.Designer.cs
+++ b/EvilInsultGenerator/Form1.Designer.cs
@@ -28,12 +28,9 @@ protected override void Dispose(bool disposing)
///
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
this.btnGenerate = new System.Windows.Forms.Button();
- this.combLang = new System.Windows.Forms.ComboBox();
this.rtxtInsult = new System.Windows.Forms.RichTextBox();
- this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.infoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.websiteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -46,61 +43,27 @@ private void InitializeComponent()
this.newsletterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.updateCheckToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.btnCopy = new System.Windows.Forms.Button();
+ this.btnCopy = new System.Windows.Forms.ToolStripMenuItem();
+ this.combLang = new System.Windows.Forms.ToolStripComboBox();
this.menuStrip1.SuspendLayout();
this.SuspendLayout();
//
// btnGenerate
//
+ this.btnGenerate.AutoSize = true;
+ this.btnGenerate.BackColor = System.Drawing.SystemColors.ControlLight;
+ this.btnGenerate.FlatAppearance.BorderColor = System.Drawing.Color.White;
+ this.btnGenerate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnGenerate.Font = new System.Drawing.Font("Calibri", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.btnGenerate.ForeColor = System.Drawing.SystemColors.MenuHighlight;
- this.btnGenerate.Location = new System.Drawing.Point(0, 267);
+ this.btnGenerate.ForeColor = System.Drawing.SystemColors.Highlight;
+ this.btnGenerate.Location = new System.Drawing.Point(-5, 267);
this.btnGenerate.Name = "btnGenerate";
- this.btnGenerate.Size = new System.Drawing.Size(699, 105);
+ this.btnGenerate.Size = new System.Drawing.Size(711, 105);
this.btnGenerate.TabIndex = 0;
this.btnGenerate.Text = "&Generate Insult";
- this.btnGenerate.UseVisualStyleBackColor = true;
+ this.btnGenerate.UseVisualStyleBackColor = false;
this.btnGenerate.Click += new System.EventHandler(this.btnGenerate_Click);
//
- // combLang
- //
- this.combLang.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.combLang.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
- this.combLang.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
- this.combLang.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.combLang.Font = new System.Drawing.Font("Calibri", 14F);
- this.combLang.FormattingEnabled = true;
- this.combLang.ItemHeight = 23;
- this.combLang.Items.AddRange(new object[] {
- "ar",
- "bn",
- "de",
- "el",
- "en",
- "es",
- "fr",
- "hi",
- "ja",
- "jv",
- "ko",
- "mr",
- "pt",
- "ru",
- "sw",
- "ta",
- "te",
- "tr",
- "ur",
- "vi",
- "zh"});
- this.combLang.Location = new System.Drawing.Point(313, 230);
- this.combLang.Name = "combLang";
- this.combLang.Size = new System.Drawing.Size(65, 31);
- this.combLang.Sorted = true;
- this.combLang.TabIndex = 2;
- //
// rtxtInsult
//
this.rtxtInsult.AutoWordSelection = true;
@@ -108,37 +71,34 @@ private void InitializeComponent()
this.rtxtInsult.CausesValidation = false;
this.rtxtInsult.Cursor = System.Windows.Forms.Cursors.Arrow;
this.rtxtInsult.DetectUrls = false;
- this.rtxtInsult.Font = new System.Drawing.Font("Arial Black", 32F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.rtxtInsult.ForeColor = System.Drawing.SystemColors.MenuHighlight;
+ this.rtxtInsult.Font = new System.Drawing.Font("Calibri", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.rtxtInsult.ForeColor = System.Drawing.SystemColors.Highlight;
this.rtxtInsult.ImeMode = System.Windows.Forms.ImeMode.NoControl;
- this.rtxtInsult.Location = new System.Drawing.Point(0, 27);
- this.rtxtInsult.MaximumSize = new System.Drawing.Size(698, 194);
+ this.rtxtInsult.Location = new System.Drawing.Point(0, 30);
this.rtxtInsult.MinimumSize = new System.Drawing.Size(698, 194);
this.rtxtInsult.Name = "rtxtInsult";
this.rtxtInsult.ReadOnly = true;
- this.rtxtInsult.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;
- this.rtxtInsult.Size = new System.Drawing.Size(698, 194);
+ this.rtxtInsult.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
+ this.rtxtInsult.Size = new System.Drawing.Size(698, 241);
this.rtxtInsult.TabIndex = 3;
this.rtxtInsult.Text = "";
//
- // contextMenuStrip1
- //
- this.contextMenuStrip1.Name = "contextMenuStrip1";
- this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4);
- //
// menuStrip1
//
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.infoToolStripMenuItem,
- this.updateCheckToolStripMenuItem});
+ this.combLang,
+ this.btnCopy,
+ this.updateCheckToolStripMenuItem,
+ this.infoToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
- this.menuStrip1.Size = new System.Drawing.Size(699, 24);
+ this.menuStrip1.Size = new System.Drawing.Size(699, 27);
this.menuStrip1.TabIndex = 5;
this.menuStrip1.Text = "menuStrip1";
//
// infoToolStripMenuItem
//
+ this.infoToolStripMenuItem.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.infoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.websiteToolStripMenuItem,
this.proposalToolStripMenuItem,
@@ -147,7 +107,7 @@ private void InitializeComponent()
this.aboutToolStripMenuItem});
this.infoToolStripMenuItem.Image = global::EvilInsultGenerator.Properties.Resources.Info_menu;
this.infoToolStripMenuItem.Name = "infoToolStripMenuItem";
- this.infoToolStripMenuItem.Size = new System.Drawing.Size(56, 20);
+ this.infoToolStripMenuItem.Size = new System.Drawing.Size(56, 23);
this.infoToolStripMenuItem.Text = "Info";
//
// websiteToolStripMenuItem
@@ -159,7 +119,7 @@ private void InitializeComponent()
this.legalToolStripMenuItem});
this.websiteToolStripMenuItem.Image = global::EvilInsultGenerator.Properties.Resources.eig32;
this.websiteToolStripMenuItem.Name = "websiteToolStripMenuItem";
- this.websiteToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
+ this.websiteToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.websiteToolStripMenuItem.Text = "Website";
this.websiteToolStripMenuItem.Click += new System.EventHandler(this.websiteToolStripMenuItem_Click);
//
@@ -198,7 +158,7 @@ private void InitializeComponent()
//
this.proposalToolStripMenuItem.Image = global::EvilInsultGenerator.Properties.Resources.Proposal;
this.proposalToolStripMenuItem.Name = "proposalToolStripMenuItem";
- this.proposalToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
+ this.proposalToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.proposalToolStripMenuItem.Text = "Proposal";
this.proposalToolStripMenuItem.Click += new System.EventHandler(this.proposalToolStripMenuItem_Click);
//
@@ -206,7 +166,7 @@ private void InitializeComponent()
//
this.contactToolStripMenuItem.Image = global::EvilInsultGenerator.Properties.Resources.Contact;
this.contactToolStripMenuItem.Name = "contactToolStripMenuItem";
- this.contactToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
+ this.contactToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.contactToolStripMenuItem.Text = "Contact";
this.contactToolStripMenuItem.Click += new System.EventHandler(this.contactToolStripMenuItem_Click);
//
@@ -214,7 +174,7 @@ private void InitializeComponent()
//
this.newsletterToolStripMenuItem.Image = global::EvilInsultGenerator.Properties.Resources.Newsletter;
this.newsletterToolStripMenuItem.Name = "newsletterToolStripMenuItem";
- this.newsletterToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
+ this.newsletterToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.newsletterToolStripMenuItem.Text = "Newsletter";
this.newsletterToolStripMenuItem.Click += new System.EventHandler(this.newsletterToolStripMenuItem_Click);
//
@@ -222,48 +182,79 @@ private void InitializeComponent()
//
this.aboutToolStripMenuItem.Image = global::EvilInsultGenerator.Properties.Resources.Info;
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
- this.aboutToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
+ this.aboutToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.aboutToolStripMenuItem.Text = "About";
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
//
// updateCheckToolStripMenuItem
//
+ this.updateCheckToolStripMenuItem.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.updateCheckToolStripMenuItem.Image = global::EvilInsultGenerator.Properties.Resources.Update;
this.updateCheckToolStripMenuItem.Name = "updateCheckToolStripMenuItem";
- this.updateCheckToolStripMenuItem.Size = new System.Drawing.Size(111, 20);
+ this.updateCheckToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.U)));
+ this.updateCheckToolStripMenuItem.Size = new System.Drawing.Size(111, 23);
this.updateCheckToolStripMenuItem.Text = "Update-Check";
+ this.updateCheckToolStripMenuItem.ToolTipText = "Check for Updates";
this.updateCheckToolStripMenuItem.Click += new System.EventHandler(this.updateCheckToolStripMenuItem_Click);
//
// btnCopy
//
- this.btnCopy.AutoSize = true;
- this.btnCopy.FlatAppearance.BorderSize = 0;
- this.btnCopy.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.HotTrack;
- this.btnCopy.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.Highlight;
- this.btnCopy.Font = new System.Drawing.Font("Calibri", 14F);
+ this.btnCopy.CheckOnClick = true;
this.btnCopy.Image = global::EvilInsultGenerator.Properties.Resources.Clipboard;
- this.btnCopy.Location = new System.Drawing.Point(381, 230);
- this.btnCopy.Margin = new System.Windows.Forms.Padding(0);
this.btnCopy.Name = "btnCopy";
- this.btnCopy.RightToLeft = System.Windows.Forms.RightToLeft.No;
- this.btnCopy.Size = new System.Drawing.Size(34, 34);
- this.btnCopy.TabIndex = 4;
- this.btnCopy.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- this.btnCopy.UseMnemonic = false;
- this.btnCopy.UseVisualStyleBackColor = true;
+ this.btnCopy.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I)));
+ this.btnCopy.ShowShortcutKeys = false;
+ this.btnCopy.Size = new System.Drawing.Size(28, 23);
+ this.btnCopy.TextImageRelation = System.Windows.Forms.TextImageRelation.Overlay;
+ this.btnCopy.ToolTipText = "Copy to Clipboard";
this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click);
//
+ // combLang
+ //
+ this.combLang.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
+ this.combLang.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
+ this.combLang.AutoToolTip = true;
+ this.combLang.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.combLang.DropDownWidth = 80;
+ this.combLang.FlatStyle = System.Windows.Forms.FlatStyle.System;
+ this.combLang.ForeColor = System.Drawing.SystemColors.Highlight;
+ this.combLang.Items.AddRange(new object[] {
+ "ar",
+ "bn",
+ "de",
+ "el",
+ "en",
+ "es",
+ "fr",
+ "hi",
+ "ja",
+ "jv",
+ "ko",
+ "mr",
+ "pt",
+ "ru",
+ "sw",
+ "ta",
+ "te",
+ "tr",
+ "ur",
+ "vi",
+ "zh"});
+ this.combLang.Name = "combLang";
+ this.combLang.Size = new System.Drawing.Size(80, 23);
+ this.combLang.ToolTipText = "Language Selection";
+ //
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.AutoSize = true;
this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(699, 371);
this.Controls.Add(this.menuStrip1);
- this.Controls.Add(this.btnCopy);
this.Controls.Add(this.rtxtInsult);
- this.Controls.Add(this.combLang);
this.Controls.Add(this.btnGenerate);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.menuStrip1;
this.MaximizeBox = false;
@@ -281,11 +272,8 @@ private void InitializeComponent()
}
#endregion
- private System.Windows.Forms.ComboBox combLang;
private System.Windows.Forms.RichTextBox rtxtInsult;
- private System.Windows.Forms.Button btnCopy;
private System.Windows.Forms.Button btnGenerate;
- private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem infoToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem websiteToolStripMenuItem;
@@ -298,6 +286,8 @@ private void InitializeComponent()
private System.Windows.Forms.ToolStripMenuItem gitHubToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem facebookToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem twitterToolStripMenuItem;
+ private System.Windows.Forms.ToolStripComboBox combLang;
+ private System.Windows.Forms.ToolStripMenuItem btnCopy;
}
}
diff --git a/EvilInsultGenerator/Form1.cs b/EvilInsultGenerator/Form1.cs
index dc89c44..7c30b3f 100644
--- a/EvilInsultGenerator/Form1.cs
+++ b/EvilInsultGenerator/Form1.cs
@@ -13,13 +13,11 @@ public partial class MainForm : Form
{
public MainForm()
{
-
InitializeComponent();
// Set the default selection to the 5th entry ('en' at the moment)
combLang.SelectedIndex = 4;
rtxtInsult.SelectionAlignment = HorizontalAlignment.Center;
}
-
// Get %TEMP% path of current user
public string GetTempPath()
{
@@ -27,7 +25,6 @@ public string GetTempPath()
if (!path.EndsWith("\\")) path += "\\";
return path;
}
-
// Logging Setup
public void LogMessageToFile(string msg)
{
@@ -47,13 +44,11 @@ public void LogMessageToFile(string msg)
}
-
// Send our Request to the server
private string SendRequest(string url)
{
try
{
-
using (WebClient client = new WebClient())
{
// Fixed funky chingchang yellow nigger signs
@@ -69,7 +64,6 @@ private string SendRequest(string url)
return null;
}
}
-
// On Form load
private void MainForm_Load(object sender, EventArgs e)
{
@@ -79,45 +73,41 @@ private void MainForm_Load(object sender, EventArgs e)
// and then delete it.
File.Delete(GetTempPath() + "EIG_Desktop.log");
LogMessageToFile("Info: Found old log file - Removed");
-
}
LogMessageToFile("Info: EIG started");
}
-
// Generate Insult Button
// The User wants to generate some insults!
private void btnGenerate_Click(object sender, EventArgs e)
{
// Convert selection to a string
string lang = combLang.SelectedItem.ToString();
-
- //JSON.Net
- // string response = SendRequest("https://evilinsult.com/generate_insult.php?type=json&lang=" + lang);
-
// Send Request to server and save the response as a string
string response = SendRequest("https://evilinsult.com/generate_insult.php?type=xml&lang=" + lang);
-
// Something broke the language selection? No worries. Default is english.
if (string.IsNullOrWhiteSpace(lang))
{
lang = "en";
LogMessageToFile("Error: Language selection failed");
-
}
if (response != null)
{
- var xmlDoc = new XmlDocument();
- xmlDoc.LoadXml(response);
- string insult = xmlDoc.DocumentElement.SelectSingleNode("/insult_info/insult").InnerText;
-
- // Who needs JSON when you have XML!
- // JObject ob = JObject.Parse(response);
- // string insult = (string)ob["insult"];
-
- // Set the Output
- rtxtInsult.Text = insult;
-
- LogMessageToFile("Info: Insult: --- " + insult + " --- in language: " + lang + " generated");
+ try
+ {
+ var xmlDoc = new XmlDocument();
+ xmlDoc.LoadXml(response);
+ string insult = xmlDoc.DocumentElement.SelectSingleNode("/insult_info/insult").InnerText;
+ // Set the Output
+ insult = WebUtility.HtmlDecode(insult);
+ rtxtInsult.Text = insult;
+ LogMessageToFile("Info: Insult: --- " + insult + " --- in language: " + lang + " generated");
+ }
+ catch (XmlException ex)
+ {
+ //this report had an error loading!
+ LogMessageToFile(ex.Message);
+ rtxtInsult.Text = "****** **** *** ********";
+ }
}
else
{
@@ -125,25 +115,6 @@ private void btnGenerate_Click(object sender, EventArgs e)
LogMessageToFile("Error: The server did not respond with data");
}
}
-
- // Copy to Clipboard Button
- private void btnCopy_Click(object sender, EventArgs e)
- {
- // Hidden Exception Handling - nothing to copy? Just use it as Easter Egg!
- if (string.IsNullOrWhiteSpace(rtxtInsult.Text))
- {
- Clipboard.SetText("3.141592653589793238462643383279502884197169 39937510582097494459230781640628620899862803 48253421170679821480865132823066470938446095 50582231725359408128481117450284102701938521 10555964462294895493038196442881097566593344 61284756482337867831652712019091456485669234 60348610454326648213393607260249141273724587 00660631558817488152092096282925409171536436 78925903600113305305488204665213841469519415 11609433057270365759591953092186117381932611 79310511854807446237996274956735188575272489 12279381830119491298336733624406566430860213 94946395224737190702179860943702770539217176 29317675238467481846766940513200056812714526 35608277857713427577896091736371787214684409 01224953430146549585371050792279689258923542 01995611212902196086403441815981362977477130 99605187072113499999983729780499510597317328 16096318595024459455346908302642522308253344 68503526193118817101000313783875288658753320 83814206171776691473035982534904287554687311 59562863882353787593751957781857780532171226 806613001927876611195909216420198");
- LogMessageToFile("Info: Easter Egg found");
-
- }
- else
- {
- Clipboard.SetText(rtxtInsult.Text);
- LogMessageToFile("Info: Insult copied to clipboard");
-
- }
- }
-
// ToolStrip Stuff
// "Website" clicked
@@ -166,7 +137,6 @@ private void gitHubToolStripMenuItem_Click(object sender, EventArgs e)
{
Process.Start("https://github.com/EvilInsultGenerator");
LogMessageToFile("Info: 'GitHub' clicked");
-
}
// "Propasal" clicked
private void proposalToolStripMenuItem_Click(object sender, EventArgs e)
@@ -194,7 +164,6 @@ private void legalToolStripMenuItem_Click(object sender, EventArgs e)
{
Process.Start("https://evilinsult.com/legal.html");
LogMessageToFile("Info: 'Legal' clicked");
-
}
// "Facebook" clicked
private void facebookToolStripMenuItem_Click(object sender, EventArgs e)
@@ -208,9 +177,7 @@ private void twitterToolStripMenuItem_Click(object sender, EventArgs e)
{
Process.Start("https://twitter.com/__E__I__G__");
LogMessageToFile("Info: 'Twitter' clicked");
-
}
-
// "Check Updates" clicked
// Start Update Routine
private void updateCheckToolStripMenuItem_Click(object sender, EventArgs e)
@@ -227,7 +194,7 @@ private void updateCheckToolStripMenuItem_Click(object sender, EventArgs e)
reader = new XmlTextReader(xmlUrl);
reader.MoveToContent();
string elementName = "";
- if ((reader.NodeType == XmlNodeType.Element) && (reader.Name == "appinfo"))
+ if (reader.NodeType == XmlNodeType.Element && reader.Name == "appinfo")
{
while (reader.Read())
{
@@ -283,7 +250,6 @@ private void updateCheckToolStripMenuItem_Click(object sender, EventArgs e)
}
else
{
- ;
}
}
else
@@ -292,5 +258,20 @@ private void updateCheckToolStripMenuItem_Click(object sender, EventArgs e)
LogMessageToFile("Info: No Update was found.");
}
}
+ // Copy to Clipboard Button
+ private void btnCopy_Click(object sender, EventArgs e)
+ {
+ // Hidden Exception Handling - nothing to copy? Just use it as Easter Egg!
+ if (string.IsNullOrWhiteSpace(rtxtInsult.Text))
+ {
+ Clipboard.SetText("3.141592653589793238462643383279502884197169 39937510582097494459230781640628620899862803 48253421170679821480865132823066470938446095 50582231725359408128481117450284102701938521 10555964462294895493038196442881097566593344 61284756482337867831652712019091456485669234 60348610454326648213393607260249141273724587 00660631558817488152092096282925409171536436 78925903600113305305488204665213841469519415 11609433057270365759591953092186117381932611 79310511854807446237996274956735188575272489 12279381830119491298336733624406566430860213 94946395224737190702179860943702770539217176 29317675238467481846766940513200056812714526 35608277857713427577896091736371787214684409 01224953430146549585371050792279689258923542 01995611212902196086403441815981362977477130 99605187072113499999983729780499510597317328 16096318595024459455346908302642522308253344 68503526193118817101000313783875288658753320 83814206171776691473035982534904287554687311 59562863882353787593751957781857780532171226 806613001927876611195909216420198");
+ LogMessageToFile("Info: Easter Egg found");
+ }
+ else
+ {
+ Clipboard.SetText(rtxtInsult.Text);
+ LogMessageToFile("Info: Insult copied to clipboard");
+ }
+ }
}
}
\ No newline at end of file
diff --git a/EvilInsultGenerator/Form1.resx b/EvilInsultGenerator/Form1.resx
index 9ed2197..11f5c01 100644
--- a/EvilInsultGenerator/Form1.resx
+++ b/EvilInsultGenerator/Form1.resx
@@ -117,14 +117,11 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 132, 17
+
+ True
- 287, 17
-
-
- True
+ 11, 6
diff --git a/EvilInsultGenerator/Properties/AssemblyInfo.cs b/EvilInsultGenerator/Properties/AssemblyInfo.cs
index 40914cb..562a9b9 100644
--- a/EvilInsultGenerator/Properties/AssemblyInfo.cs
+++ b/EvilInsultGenerator/Properties/AssemblyInfo.cs
@@ -33,7 +33,7 @@
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.1.0")]
+[assembly: AssemblyVersion("1.0.2.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en-US")]
diff --git a/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.application b/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.application
deleted file mode 100644
index b08c1b0..0000000
--- a/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.application
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- j92hsZcd2BHw1kGDB1/03wDHuqqiA3R8VT8IKwr4Tzo=
-
-
-
-
\ No newline at end of file
diff --git a/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.exe.config b/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.exe.config
deleted file mode 100644
index 88fa402..0000000
--- a/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.exe.config
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.exe.manifest b/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.exe.manifest
deleted file mode 100644
index 04c6ad6..0000000
--- a/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.exe.manifest
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3JO+NxTaArX1s4GpOBbKP481yvn+TifqmQ8Z0YRORsk=
-
-
-
-
-
-
-
-
-
- WlboIc/6/n6+OmcpYI1I4UW7DM3lCAlS30ujoHfugGA=
-
-
-
-
-
-
-
-
- 6N7MliNbVJSIAIPrecIshMbZ7zEoKLr5SQvud4LDUOw=
-
-
-
\ No newline at end of file
diff --git a/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.pdb b/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.pdb
deleted file mode 100644
index 0741940..0000000
Binary files a/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.pdb and /dev/null differ
diff --git a/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.vshost.application b/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.vshost.application
deleted file mode 100644
index c40210c..0000000
--- a/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.vshost.application
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- HEiz2VgfPko7FLSk9S1LvTFwSBNNr+b60mtIVtpMjlM=
-
-
-
-
\ No newline at end of file
diff --git a/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.vshost.exe.config b/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.vshost.exe.config
deleted file mode 100644
index 88fa402..0000000
--- a/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.vshost.exe.config
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.vshost.exe.manifest b/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.vshost.exe.manifest
deleted file mode 100644
index bb69cc4..0000000
--- a/EvilInsultGenerator/bin/Debug/EvilInsultGenerator.vshost.exe.manifest
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- w2S2eBP8tiR1pjtiIzeBpw/LbaCJEb7biQng6wPWZ2k=
-
-
-
-
-
-
-
-
-
- WlboIc/6/n6+OmcpYI1I4UW7DM3lCAlS30ujoHfugGA=
-
-
-
-
-
-
-
-
- 6N7MliNbVJSIAIPrecIshMbZ7zEoKLr5SQvud4LDUOw=
-
-
-
\ No newline at end of file
diff --git a/EvilInsultGenerator/bin/Release/EvilInsultGenerator.application b/EvilInsultGenerator/bin/Release/EvilInsultGenerator.application
deleted file mode 100644
index 2a151d7..0000000
--- a/EvilInsultGenerator/bin/Release/EvilInsultGenerator.application
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- h7SWUIWi4sJxx530RDCtFGiIUCdmrHffIcO7eFeLGrA=
-
-
-
-
\ No newline at end of file
diff --git a/EvilInsultGenerator/bin/Release/EvilInsultGenerator.exe.config b/EvilInsultGenerator/bin/Release/EvilInsultGenerator.exe.config
deleted file mode 100644
index 5b5a592..0000000
--- a/EvilInsultGenerator/bin/Release/EvilInsultGenerator.exe.config
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/EvilInsultGenerator/bin/Release/EvilInsultGenerator.exe.manifest b/EvilInsultGenerator/bin/Release/EvilInsultGenerator.exe.manifest
deleted file mode 100644
index 240806f..0000000
--- a/EvilInsultGenerator/bin/Release/EvilInsultGenerator.exe.manifest
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- pFqRfuMTOu2eGJEK5kKCz0yuesJt3oN/623mjm4Qu3w=
-
-
-
-
-
-
-
-
-
- WlboIc/6/n6+OmcpYI1I4UW7DM3lCAlS30ujoHfugGA=
-
-
-
-
-
-
-
-
- jv+lZ4f4/BHyk9EwjLylDe1zuwY3imyB8ymxdN5QeoQ=
-
-
-
\ No newline at end of file
diff --git a/EvilInsultGenerator/bin/Release/EvilInsultGenerator.pdb b/EvilInsultGenerator/bin/Release/EvilInsultGenerator.pdb
deleted file mode 100644
index 00f4fe0..0000000
Binary files a/EvilInsultGenerator/bin/Release/EvilInsultGenerator.pdb and /dev/null differ
diff --git a/EvilInsultGenerator/bin/Release/EvilInsultGenerator.vshost.application b/EvilInsultGenerator/bin/Release/EvilInsultGenerator.vshost.application
deleted file mode 100644
index 3b3087c..0000000
--- a/EvilInsultGenerator/bin/Release/EvilInsultGenerator.vshost.application
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- bRaWjsYF7zBiV+IwS569n6rLXmkBqS6hA3kr7xkoy8M=
-
-
-
-
\ No newline at end of file
diff --git a/EvilInsultGenerator/bin/Release/EvilInsultGenerator.vshost.exe.config b/EvilInsultGenerator/bin/Release/EvilInsultGenerator.vshost.exe.config
deleted file mode 100644
index 194aab5..0000000
--- a/EvilInsultGenerator/bin/Release/EvilInsultGenerator.vshost.exe.config
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/EvilInsultGenerator/bin/Release/EvilInsultGenerator.vshost.exe.manifest b/EvilInsultGenerator/bin/Release/EvilInsultGenerator.vshost.exe.manifest
deleted file mode 100644
index 0a89794..0000000
--- a/EvilInsultGenerator/bin/Release/EvilInsultGenerator.vshost.exe.manifest
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- KoTdJ1oAycAcMCKPQRNUMhejvPIoMzzSuTREP6gObvw=
-
-
-
-
-
-
-
-
-
- WlboIc/6/n6+OmcpYI1I4UW7DM3lCAlS30ujoHfugGA=
-
-
-
-
-
-
-
-
- uJzneX+SXlRvH8JddI1nHylEANPfm/8slV8Z7xAp7mc=
-
-
-
\ No newline at end of file
diff --git a/EvilInsultGenerator/obj/Release/EvilInsultGenerator.application b/EvilInsultGenerator/obj/Release/EvilInsultGenerator.application
index 2a151d7..b48f5ab 100644
--- a/EvilInsultGenerator/obj/Release/EvilInsultGenerator.application
+++ b/EvilInsultGenerator/obj/Release/EvilInsultGenerator.application
@@ -14,7 +14,7 @@
- h7SWUIWi4sJxx530RDCtFGiIUCdmrHffIcO7eFeLGrA=
+ MTMFCXcDUetGg1DsJvl4xjUIIVgDdArSGLxVI08QCQs=
diff --git a/EvilInsultGenerator/obj/Release/EvilInsultGenerator.csproj.GenerateResource.Cache b/EvilInsultGenerator/obj/Release/EvilInsultGenerator.csproj.GenerateResource.Cache
index d02aaf5..27059c9 100644
Binary files a/EvilInsultGenerator/obj/Release/EvilInsultGenerator.csproj.GenerateResource.Cache and b/EvilInsultGenerator/obj/Release/EvilInsultGenerator.csproj.GenerateResource.Cache differ
diff --git a/EvilInsultGenerator/obj/Release/EvilInsultGenerator.exe.manifest b/EvilInsultGenerator/obj/Release/EvilInsultGenerator.exe.manifest
index 240806f..70b298b 100644
--- a/EvilInsultGenerator/obj/Release/EvilInsultGenerator.exe.manifest
+++ b/EvilInsultGenerator/obj/Release/EvilInsultGenerator.exe.manifest
@@ -4,7 +4,7 @@
-
+
@@ -44,13 +44,13 @@
-
+
- pFqRfuMTOu2eGJEK5kKCz0yuesJt3oN/623mjm4Qu3w=
+ c2nigHWg2H7yWx/2geI8sfUwilRzVf7BwLpnzJpEto0=
diff --git a/EvilInsultGenerator/obj/Release/EvilInsultGenerator.pdb b/EvilInsultGenerator/obj/Release/EvilInsultGenerator.pdb
index 00f4fe0..2739544 100644
Binary files a/EvilInsultGenerator/obj/Release/EvilInsultGenerator.pdb and b/EvilInsultGenerator/obj/Release/EvilInsultGenerator.pdb differ
diff --git a/LICENSE b/UNLICENSE
similarity index 100%
rename from LICENSE
rename to UNLICENSE