diff --git a/Placeholder Image/About.cs b/Placeholder Image/About.cs
index f64febf..9a0019f 100644
--- a/Placeholder Image/About.cs
+++ b/Placeholder Image/About.cs
@@ -1,11 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System.Diagnostics;
using System.Windows.Forms;
namespace Placeholder_Image
@@ -19,14 +12,14 @@ public About()
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
- System.Diagnostics.Process.Start("http://misterx-hp.3server.de/");
+ Process.Start("http://misterx-hp.3server.de/");
linkLabel1.LinkVisited = true;
}
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
- System.Diagnostics.Process.Start("https://github.com/MisterX2000");
+ Process.Start("https://github.com/MisterX2000");
linkLabel2.LinkVisited = true;
}
}
-}
+}
\ No newline at end of file
diff --git a/Placeholder Image/App.config b/Placeholder Image/App.config
index 8e15646..5c73fc5 100644
--- a/Placeholder Image/App.config
+++ b/Placeholder Image/App.config
@@ -1,6 +1,7 @@
-
+
+
-
-
-
+
+
+
\ No newline at end of file
diff --git a/Placeholder Image/Main.Designer.cs b/Placeholder Image/Main.Designer.cs
index 5c2583e..cca8007 100644
--- a/Placeholder Image/Main.Designer.cs
+++ b/Placeholder Image/Main.Designer.cs
@@ -53,6 +53,7 @@ private void InitializeComponent()
this.tp_placekitten = new System.Windows.Forms.TabPage();
this.bt_reset = new System.Windows.Forms.Button();
this.bt_about = new System.Windows.Forms.Button();
+ this.label1 = new System.Windows.Forms.Label();
this.gb_size.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tb_height)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tb_width)).BeginInit();
@@ -267,12 +268,13 @@ private void InitializeComponent()
this.tabControl1.Location = new System.Drawing.Point(12, 92);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
- this.tabControl1.Size = new System.Drawing.Size(200, 110);
+ this.tabControl1.Size = new System.Drawing.Size(200, 125);
this.tabControl1.TabIndex = 9;
this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
//
// tp_placeholdit
//
+ this.tp_placeholdit.Controls.Add(this.label1);
this.tp_placeholdit.Controls.Add(this.l_text);
this.tp_placeholdit.Controls.Add(this.tb_tcolour);
this.tp_placeholdit.Controls.Add(this.tb_text);
@@ -284,7 +286,7 @@ private void InitializeComponent()
this.tp_placeholdit.Location = new System.Drawing.Point(4, 22);
this.tp_placeholdit.Name = "tp_placeholdit";
this.tp_placeholdit.Padding = new System.Windows.Forms.Padding(3);
- this.tp_placeholdit.Size = new System.Drawing.Size(192, 84);
+ this.tp_placeholdit.Size = new System.Drawing.Size(192, 99);
this.tp_placeholdit.TabIndex = 0;
this.tp_placeholdit.Text = "placehold.it";
this.tp_placeholdit.UseVisualStyleBackColor = true;
@@ -322,6 +324,16 @@ private void InitializeComponent()
this.bt_about.UseVisualStyleBackColor = true;
this.bt_about.Click += new System.EventHandler(this.bt_about_Click);
//
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.label1.Location = new System.Drawing.Point(6, 81);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(147, 13);
+ this.label1.TabIndex = 12;
+ this.label1.Text = "Colours must be in Hex format";
+ //
// Main
//
this.AcceptButton = this.bt_go;
@@ -379,6 +391,7 @@ private void InitializeComponent()
private System.Windows.Forms.TabPage tp_placekitten;
private System.Windows.Forms.Button bt_reset;
private System.Windows.Forms.Button bt_about;
+ private System.Windows.Forms.Label label1;
}
}
diff --git a/Placeholder Image/Main.cs b/Placeholder Image/Main.cs
index dfa394d..1818e0a 100644
--- a/Placeholder Image/Main.cs
+++ b/Placeholder Image/Main.cs
@@ -61,7 +61,7 @@ private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
{
if (tabControl1.SelectedTab == tp_placeholdit)
{
- tabControl1.Size = new Size(200, 110);
+ tabControl1.Size = new Size(200, 125);
}
else if (tabControl1.SelectedTab == tp_placekitten)
{
@@ -81,7 +81,7 @@ private void magic()
}
else if (tabControl1.SelectedTab == tp_placekitten)
{
- if (cb_gray.Checked == true)
+ if (cb_gray.Checked)
{
try
{
diff --git a/Placeholder Image/Placeholder Image.csproj b/Placeholder Image/Placeholder Image.csproj
index 10ff57c..ded5803 100644
--- a/Placeholder Image/Placeholder Image.csproj
+++ b/Placeholder Image/Placeholder Image.csproj
@@ -36,6 +36,8 @@
DEBUG;TRACE
prompt
4
+
+
AnyCPU
@@ -49,6 +51,9 @@
PI.ico
+
+ Placeholder_Image.Program
+
diff --git a/Placeholder Image/Program.cs b/Placeholder Image/Program.cs
index 8cf2761..2bda2ee 100644
--- a/Placeholder Image/Program.cs
+++ b/Placeholder Image/Program.cs
@@ -1,22 +1,19 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
using System.Windows.Forms;
namespace Placeholder_Image
{
- static class Program
+ internal static class Program
{
///
- /// Der Haupteinstiegspunkt für die Anwendung.
+ /// Der Haupteinstiegspunkt für die Anwendung.
///
[STAThread]
- static void Main()
+ private static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Main());
}
}
-}
+}
\ No newline at end of file
diff --git a/Placeholder Image/Properties/AssemblyInfo.cs b/Placeholder Image/Properties/AssemblyInfo.cs
index fafbddd..b970374 100644
--- a/Placeholder Image/Properties/AssemblyInfo.cs
+++ b/Placeholder Image/Properties/AssemblyInfo.cs
@@ -1,25 +1,27 @@
using System.Reflection;
-using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
+
[assembly: AssemblyTitle("Placeholder Image")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
+[assembly: AssemblyCompany("Mister X")]
[assembly: AssemblyProduct("Placeholder Image")]
-[assembly: AssemblyCopyright("Copyright © 2015")]
+[assembly: AssemblyCopyright("Copyright © 2015 Mister X")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar
// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von
// COM zugreifen müssen, legen Sie das ComVisible-Attribut für diesen Typ auf "true" fest.
+
[assembly: ComVisible(false)]
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
+
[assembly: Guid("d2ebdbc0-8fe0-40ab-8cdb-6523a2aa50b6")]
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
@@ -32,5 +34,6 @@
// 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.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+
+[assembly: AssemblyVersion("1.1")]
+[assembly: AssemblyFileVersion("1.1")]
\ No newline at end of file
diff --git a/Placeholder Image/Properties/Settings.settings b/Placeholder Image/Properties/Settings.settings
index 3964565..e04fc63 100644
--- a/Placeholder Image/Properties/Settings.settings
+++ b/Placeholder Image/Properties/Settings.settings
@@ -1,7 +1,8 @@
+
-
+
\ No newline at end of file