From 86fc6b56d9285975d915646bb3f01b5c4c131caa Mon Sep 17 00:00:00 2001 From: John Tur Date: Mon, 8 Apr 2019 20:09:47 -0400 Subject: [PATCH] Added designer support --- Histacom2.Engine/Histacom2.Engine.csproj | 26 +++++++----- Histacom2/Histacom2.csproj | 40 ++++++++++++++++++- Histacom2/OS/Win95/Windows95TaskbarItem.cs | 4 -- .../WinClassicTimeDistorter2.Designer.cs | 2 +- Histacom2/TitleScreen.cs | 2 +- 5 files changed, 56 insertions(+), 18 deletions(-) diff --git a/Histacom2.Engine/Histacom2.Engine.csproj b/Histacom2.Engine/Histacom2.Engine.csproj index a3e9d22..19ddfd9 100644 --- a/Histacom2.Engine/Histacom2.Engine.csproj +++ b/Histacom2.Engine/Histacom2.Engine.csproj @@ -1,8 +1,11 @@  - netcoreapp3.0 + net472;netcoreapp3.0 true + 2.0.3.0 + Histacom2.Engine + (C) Michael Webb and contributors, 2017-2019 @@ -10,18 +13,19 @@ - - True - True - Resources.resx + + UserControl + + + + Form - - - - PublicResXFileCodeGenerator - Resources.Designer.cs - \ No newline at end of file diff --git a/Histacom2/Histacom2.csproj b/Histacom2/Histacom2.csproj index c7dc951..3744483 100644 --- a/Histacom2/Histacom2.csproj +++ b/Histacom2/Histacom2.csproj @@ -2,8 +2,11 @@ WinExe - netcoreapp3.0 + net472;netcoreapp3.0 true + 2.0.3.0 + Histacom2.Engine + (C) Michael Webb and contributors, 2017-2019 @@ -15,4 +18,39 @@ ..\PinkieControls.dll + + + + Form + + + + + UserControl + + \ No newline at end of file diff --git a/Histacom2/OS/Win95/Windows95TaskbarItem.cs b/Histacom2/OS/Win95/Windows95TaskbarItem.cs index f5e277d..2ba341f 100644 --- a/Histacom2/OS/Win95/Windows95TaskbarItem.cs +++ b/Histacom2/OS/Win95/Windows95TaskbarItem.cs @@ -1,10 +1,6 @@ using Histacom2.Engine; using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; using System.Drawing; -using System.Text; using System.Windows.Forms; namespace Histacom2.OS.Win95 diff --git a/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.Designer.cs b/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.Designer.cs index 9db9785..413024e 100644 --- a/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.Designer.cs +++ b/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.Designer.cs @@ -123,4 +123,4 @@ private void InitializeComponent() private System.Windows.Forms.Timer timer1; public Engine.UI.ClassicLabel classicLabel2; } -} +} \ No newline at end of file diff --git a/Histacom2/TitleScreen.cs b/Histacom2/TitleScreen.cs index 3829d1f..dd1d0a3 100644 --- a/Histacom2/TitleScreen.cs +++ b/Histacom2/TitleScreen.cs @@ -209,7 +209,7 @@ private void helpItemClick(object sender, EventArgs e) { #endregion private void gameversion_MouseHover(object sender, EventArgs e) { - gameversion.Text = "There are no easter eggs here!"; + gameversion.Text = $"Running on {Assembly.GetEntryAssembly().GetCustomAttribute().FrameworkName}"; } private void gameversion_MouseLeave(object sender, EventArgs e) {