Skip to content

Commit

Permalink
added Colour Info, Cleaned Code
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterX2000 committed Oct 21, 2015
1 parent defd3d9 commit 9d04554
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 32 deletions.
15 changes: 4 additions & 11 deletions Placeholder Image/About.cs
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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;
}
}
}
}
9 changes: 5 additions & 4 deletions Placeholder Image/App.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>

<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>
17 changes: 15 additions & 2 deletions Placeholder Image/Main.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Placeholder Image/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -81,7 +81,7 @@ private void magic()
}
else if (tabControl1.SelectedTab == tp_placekitten)
{
if (cb_gray.Checked == true)
if (cb_gray.Checked)
{
try
{
Expand Down
5 changes: 5 additions & 0 deletions Placeholder Image/Placeholder Image.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>
</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand All @@ -49,6 +51,9 @@
<PropertyGroup>
<ApplicationIcon>PI.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<StartupObject>Placeholder_Image.Program</StartupObject>
</PropertyGroup>
<ItemGroup>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
Expand Down
11 changes: 4 additions & 7 deletions Placeholder Image/Program.cs
Original file line number Diff line number Diff line change
@@ -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
{
/// <summary>
/// Der Haupteinstiegspunkt für die Anwendung.
/// Der Haupteinstiegspunkt für die Anwendung.
/// </summary>
[STAThread]
static void Main()
private static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Main());
}
}
}
}
13 changes: 8 additions & 5 deletions Placeholder Image/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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")]
3 changes: 2 additions & 1 deletion Placeholder Image/Properties/Settings.settings
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version='1.0' encoding='utf-8'?>

<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
</SettingsFile>

0 comments on commit 9d04554

Please sign in to comment.