From 22a2886bed21e86774a8e96f567b1f9acf918a4c Mon Sep 17 00:00:00 2001 From: John Tur Date: Mon, 8 Apr 2019 18:22:18 -0400 Subject: Port to .NET Core --- Histacom2.Engine/Histacom2.Engine.csproj | 321 ++----------------------------- 1 file changed, 12 insertions(+), 309 deletions(-) (limited to 'Histacom2.Engine/Histacom2.Engine.csproj') diff --git a/Histacom2.Engine/Histacom2.Engine.csproj b/Histacom2.Engine/Histacom2.Engine.csproj index 4e444ad..a3e9d22 100644 --- a/Histacom2.Engine/Histacom2.Engine.csproj +++ b/Histacom2.Engine/Histacom2.Engine.csproj @@ -1,324 +1,27 @@ - - - + + - Debug - AnyCPU - {9477B70F-2D32-4E1D-857B-4624A1DEEB1B} - Library - Properties - Histacom2.Engine - Histacom2.Engine - v4.5.2 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - AnyCPU - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + netcoreapp3.0 + true + - - ..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll - - - - - - - - - - - - - ..\packages\Whoa.1.5.0\lib\net45\Whoa.dll - + + - - - - - - - - - - UserControl - - - AboutBox98.cs - - - UserControl - - - DropDownItem.cs - - - Form - - - DropDownOverlay.cs - - - Form - - - ResizeOverlay.cs - - - Form - - - Win9XBSOD.cs - - - UserControl - - - AboutBox95.cs - - - UserControl - - - Infobox95.cs - - - Form - - - WinClassic.cs - - - Form - - - WinXP.cs - - - - Component - - - UserControl - - - ClassicDropDown.cs - - - Component - - - Component - - - UserControl - - - ClassicTextBox.cs - - - Component - - - - - - True + True + True Resources.resx + - + PublicResXFileCodeGenerator Resources.Designer.cs - - AboutBox98.cs - - - DropDownItem.cs - - - DropDownOverlay.cs - - - ResizeOverlay.cs - - - Win9XBSOD.cs - - - AboutBox95.cs - - - Infobox95.cs - - - WinClassic.cs - - - WinXP.cs - - - ClassicDropDown.cs - - - ClassicTextBox.cs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file -- cgit v1.2.3 From 86fc6b56d9285975d915646bb3f01b5c4c131caa Mon Sep 17 00:00:00 2001 From: John Tur Date: Mon, 8 Apr 2019 20:09:47 -0400 Subject: Added designer support --- Histacom2.Engine/Histacom2.Engine.csproj | 26 ++++++++------ Histacom2/Histacom2.csproj | 40 +++++++++++++++++++++- Histacom2/OS/Win95/Windows95TaskbarItem.cs | 4 --- .../Win98Apps/WinClassicTimeDistorter2.Designer.cs | 2 +- Histacom2/TitleScreen.cs | 2 +- 5 files changed, 56 insertions(+), 18 deletions(-) (limited to 'Histacom2.Engine/Histacom2.Engine.csproj') 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 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 @@ namespace Histacom2 #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) { -- cgit v1.2.3