mirror of
https://github.com/HistacomUnity/Histacom2-old.git
synced 2025-01-22 09:02:01 -05:00
commit
84ef46952f
48 changed files with 111 additions and 80272 deletions
|
@ -1,324 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{9477B70F-2D32-4E1D-857B-4624A1DEEB1B}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Histacom2.Engine</RootNamespace>
|
||||
<AssemblyName>Histacom2.Engine</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<TargetFrameworks>net472;netcoreapp3.0</TargetFrameworks>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<Version>2.0.3.0</Version>
|
||||
<AssemblyTitle>Histacom2.Engine</AssemblyTitle>
|
||||
<Copyright>(C) Michael Webb and contributors, 2017-2019</Copyright>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Whoa, Version=1.5.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Whoa.1.5.0\lib\net45\Whoa.dll</HintPath>
|
||||
</Reference>
|
||||
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="BSODCreator.cs" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="Resources\WinClassic\Window\pjBg6mKP.bin" />
|
||||
<Compile Include="DesktopController.cs" />
|
||||
<Compile Include="FileDialogBoxManager.cs" />
|
||||
<Compile Include="Paintbrush.cs" />
|
||||
<Compile Include="SaveSystem.cs" />
|
||||
<Compile Include="TaskBarController.cs" />
|
||||
<Compile Include="Template\AboutBox98.cs">
|
||||
<Compile Update="Template\AboutBox*.cs;
|
||||
Template\DropDownItem.cs;
|
||||
Template\Infobox95.cs;
|
||||
UI\ClassicTextbox.cs;
|
||||
UI\ClassicDropDown.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Template\AboutBox98.Designer.cs">
|
||||
<DependentUpon>AboutBox98.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Template\DropDownItem.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Template\DropDownItem.Designer.cs">
|
||||
<DependentUpon>DropDownItem.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Template\DropDownOverlay.cs">
|
||||
|
||||
<Compile Update="Template\*Overlay.cs;
|
||||
Template\Win*.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Template\DropDownOverlay.Designer.cs">
|
||||
<DependentUpon>DropDownOverlay.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Template\ResizeOverlay.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Template\ResizeOverlay.Designer.cs">
|
||||
<DependentUpon>ResizeOverlay.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Template\Win9XBSOD.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Template\Win9XBSOD.Designer.cs">
|
||||
<DependentUpon>Win9XBSOD.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Template\AboutBox95.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Template\AboutBox95.Designer.cs">
|
||||
<DependentUpon>AboutBox95.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Template\Infobox95.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Template\Infobox95.Designer.cs">
|
||||
<DependentUpon>Infobox95.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Template\WinClassic.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Template\WinClassic.Designer.cs">
|
||||
<DependentUpon>WinClassic.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Template\WinXP.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Template\WinXP.Designer.cs">
|
||||
<DependentUpon>WinXP.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Theme.cs" />
|
||||
<Compile Include="UI\ClassicButton.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\ClassicDropDown.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\ClassicDropDown.Designer.cs">
|
||||
<DependentUpon>ClassicDropDown.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\ClassicLabel.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\ClassicStartMenuItem.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\ClassicTextBox.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\ClassicTextBox.Designer.cs">
|
||||
<DependentUpon>ClassicTextBox.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\IProgressBar.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WindowManager.cs" />
|
||||
<Compile Include="MessageParser.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Template\AboutBox98.resx">
|
||||
<DependentUpon>AboutBox98.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Template\DropDownItem.resx">
|
||||
<DependentUpon>DropDownItem.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Template\DropDownOverlay.resx">
|
||||
<DependentUpon>DropDownOverlay.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Template\ResizeOverlay.resx">
|
||||
<DependentUpon>ResizeOverlay.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Template\Win9XBSOD.resx">
|
||||
<DependentUpon>Win9XBSOD.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Template\AboutBox95.resx">
|
||||
<DependentUpon>AboutBox95.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Template\Infobox95.resx">
|
||||
<DependentUpon>Infobox95.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Template\WinClassic.resx">
|
||||
<DependentUpon>WinClassic.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Template\WinXP.resx">
|
||||
<DependentUpon>WinXP.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\ClassicDropDown.resx">
|
||||
<DependentUpon>ClassicDropDown.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\ClassicTextBox.resx">
|
||||
<DependentUpon>ClassicTextBox.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Resources\chord.wav" />
|
||||
<None Include="Resources\ClassicDropDownButton.png" />
|
||||
<Content Include="Resources\Icon128x.ico" />
|
||||
<None Include="Resources\WinBadXPStart.wav" />
|
||||
<None Include="Resources\WinXPWallpaper.png" />
|
||||
<Content Include="Resources\Win95PlusDefaultAstrisk.wav" />
|
||||
<Content Include="Resources\Win95PlusDefaultCritStop.wav" />
|
||||
<Content Include="Resources\Win95PlusDefaultExclamation.wav" />
|
||||
<Content Include="Resources\Win95PlusDefaultProgError.wav" />
|
||||
<Content Include="Resources\Win95PlusDefaultQuestion.wav" />
|
||||
<Content Include="Resources\Win95PlusDefaultStop.wav" />
|
||||
<Content Include="Resources\Win95PlusDefaultWallpaper.jpg" />
|
||||
<Content Include="Resources\Win95PlusGoldenEraAstrisk.wav" />
|
||||
<Content Include="Resources\Win95PlusGoldenEraCritStop.wav" />
|
||||
<Content Include="Resources\Win95PlusGoldenEraExclamation.wav" />
|
||||
<Content Include="Resources\Win95PlusGoldenEraProgError.wav" />
|
||||
<Content Include="Resources\Win95PlusGoldenEraQuestion.wav" />
|
||||
<Content Include="Resources\Win95PlusGoldenEraStart.wav" />
|
||||
<Content Include="Resources\Win95PlusGoldenEraStop.wav" />
|
||||
<Content Include="Resources\Win95PlusGoldenEraWallpaper.jpg" />
|
||||
<Content Include="Resources\Win95PlusInsideComputerCritStop.wav" />
|
||||
<Content Include="Resources\Win95PlusInsideComputerExclamation.wav" />
|
||||
<Content Include="Resources\Win95PlusInsideComputerProgError.wav" />
|
||||
<Content Include="Resources\Win95PlusInsideComputerQuestion.wav" />
|
||||
<Content Include="Resources\Win95PlusLeoAsterisk.wav" />
|
||||
<Content Include="Resources\Win95PlusLeoCritStop.wav" />
|
||||
<Content Include="Resources\Win95PlusLeoExclamation.wav" />
|
||||
<Content Include="Resources\Win95PlusLeoProgError.wav" />
|
||||
<Content Include="Resources\Win95PlusLeoQuestion.wav" />
|
||||
<Content Include="Resources\Win95PlusLeoStart.wav" />
|
||||
<Content Include="Resources\Win95PlusLeoWallpaper.jpg" />
|
||||
<Content Include="Resources\Win95PlusMoreWin.jpg" />
|
||||
<Content Include="Resources\Win95PlusMysteryAstrisk.wav" />
|
||||
<Content Include="Resources\Win95PlusMysteryCritStop.wav" />
|
||||
<Content Include="Resources\Win95PlusMysteryExclamation.wav" />
|
||||
<Content Include="Resources\Win95PlusMysteryProgError.wav" />
|
||||
<Content Include="Resources\Win95PlusMysteryQuestion.wav" />
|
||||
<Content Include="Resources\Win95PlusMysteryStart.wav" />
|
||||
<Content Include="Resources\Win95PlusMysteryStop.wav" />
|
||||
<Content Include="Resources\Win95PlusMysteryWallpaper.jpg" />
|
||||
<Content Include="Resources\Win95PlusNatureAstrisk.wav" />
|
||||
<Content Include="Resources\Win95PlusNatureCritStop.wav" />
|
||||
<Content Include="Resources\Win95PlusNatureExclamation.wav" />
|
||||
<Content Include="Resources\Win95PlusNatureProgError.wav" />
|
||||
<Content Include="Resources\Win95PlusNatureQuestion.wav" />
|
||||
<Content Include="Resources\Win95PlusNatureStart.wav" />
|
||||
<Content Include="Resources\Win95PlusNatureStop.wav" />
|
||||
<Content Include="Resources\Win95PlusNatureWallpaper.jpg" />
|
||||
<Content Include="Resources\Win95PlusScienceAsterisk.wav" />
|
||||
<Content Include="Resources\Win95PlusScienceCritStop.wav" />
|
||||
<Content Include="Resources\Win95PlusScienceExclamation.wav" />
|
||||
<Content Include="Resources\Win95PlusScienceProgError.wav" />
|
||||
<Content Include="Resources\Win95PlusScienceQuestion.wav" />
|
||||
<Content Include="Resources\Win95PlusScienceStart.wav" />
|
||||
<Content Include="Resources\Win95PlusScienceStop.wav" />
|
||||
<Content Include="Resources\Win95PlusScienceWallpaper.jpg" />
|
||||
<Content Include="Resources\Win95PlusSportsAstrisk.wav" />
|
||||
<Content Include="Resources\Win95PlusSportsCritStop.wav" />
|
||||
<Content Include="Resources\Win95PlusSportsExclamation.wav" />
|
||||
<Content Include="Resources\Win95PlusSportsProgError.wav" />
|
||||
<Content Include="Resources\Win95PlusSportsQuestion.wav" />
|
||||
<Content Include="Resources\Win95PlusSportsStart.wav" />
|
||||
<Content Include="Resources\Win95PlusSportsStop.wav" />
|
||||
<Content Include="Resources\Win95PlusSportsWallpaper.jpg" />
|
||||
<Content Include="Resources\Win95PlusThe60Asterisk.wav" />
|
||||
<Content Include="Resources\Win95PlusThe60CritStop.wav" />
|
||||
<Content Include="Resources\Win95PlusThe60Exclamation.wav" />
|
||||
<Content Include="Resources\Win95PlusThe60ProgError.wav" />
|
||||
<Content Include="Resources\Win95PlusThe60Question.wav" />
|
||||
<Content Include="Resources\Win95PlusThe60Start.wav" />
|
||||
<Content Include="Resources\Win95PlusThe60Stop.wav" />
|
||||
<Content Include="Resources\Win95PlusThe60Wallpaper.jpg" />
|
||||
<Content Include="Resources\Win95PlusTravelAsterisk.wav" />
|
||||
<Content Include="Resources\Win95PlusTravelCritStop.wav" />
|
||||
<Content Include="Resources\Win95PlusTravelExclamation.wav" />
|
||||
<Content Include="Resources\Win95PlusTravelProgError.wav" />
|
||||
<Content Include="Resources\Win95PlusTravelQuestion.wav" />
|
||||
<Content Include="Resources\Win95PlusTravelStart.wav" />
|
||||
<Content Include="Resources\Win95PlusTravelStop.wav" />
|
||||
<Content Include="Resources\Win95PlusTravelWallpaper.jpg" />
|
||||
<None Include="Resources\WinXPShutdown.wav" />
|
||||
<Content Include="Resources\WinXP\Window\WinXP_Bottom.png" />
|
||||
<Content Include="Resources\WinXP\Window\WinXP_Close.png" />
|
||||
<None Include="Resources\WinXP\Window\WinXP_CloseHover.png" />
|
||||
<None Include="Resources\WinXP\Window\WinXP_ClosePress.png" />
|
||||
<Content Include="Resources\WinXP\Window\WinXP_LBCorner.png" />
|
||||
<Content Include="Resources\WinXP\Window\WinXP_LeftSide.png" />
|
||||
<Content Include="Resources\WinXP\Window\WinXP_Max.png" />
|
||||
<Content Include="Resources\WinXP\Window\WinXP_Min.png" />
|
||||
<Content Include="Resources\WinXP\Window\WinXP_RBCorner.png" />
|
||||
<Content Include="Resources\WinXP\Window\WinXP_Restore.png" />
|
||||
<Content Include="Resources\WinXP\Window\WinXP_RightSide.png" />
|
||||
<Content Include="Resources\WinXP\Window\WinXP_TLCorner.png" />
|
||||
<Content Include="Resources\WinXP\Window\WinXP_TopBar.png" />
|
||||
<Content Include="Resources\WinXP\Window\WinXP_TRCorner.png" />
|
||||
<None Include="Resources\WinAboutSeparator95.png" />
|
||||
<None Include="Resources\Win95PlusDangerousCreaturesStart.WAV" />
|
||||
<None Include="Resources\Win95Start.wav" />
|
||||
<None Include="Resources\Win95Stop.wav" />
|
||||
<None Include="Resources\Win98Start.wav" />
|
||||
<None Include="Resources\Win98Stop.WAV" />
|
||||
<None Include="Resources\Win95PlusDangerousCreaturesWallpaper.JPG" />
|
||||
<None Include="Resources\Win95PlusInsideComputerWallpaper.jpg" />
|
||||
<None Include="Resources\Win95PlusInsideComputerStop.wav" />
|
||||
<None Include="Resources\Win95PlusInsideComputerStart.wav" />
|
||||
<None Include="Resources\Win95PlusDangerousCreaturesAsterisk.wav" />
|
||||
<None Include="Resources\Win95PlusDangerousCreaturesCritStop.wav" />
|
||||
<None Include="Resources\Win95PlusDangerousCreaturesExclamation.wav" />
|
||||
<None Include="Resources\Win95PlusDangerousCreaturesProgError.wav" />
|
||||
<None Include="Resources\Win95PlusDangerousCreaturesQuestion.wav" />
|
||||
<None Include="Resources\Win95PlusInsideComputerAsterisk.wav" />
|
||||
<Content Include="Resources\WinClassic\Window\BottomLeft.png" />
|
||||
<Content Include="Resources\WinClassic\Window\BottomRight.png" />
|
||||
<Content Include="Resources\WinClassic\Window\BottomSide.png" />
|
||||
<Content Include="Resources\WinClassic\Window\LeftSide.png" />
|
||||
<Content Include="Resources\WinClassic\Window\nullIcon.png" />
|
||||
<Content Include="Resources\WinClassic\Window\RightSide.png" />
|
||||
<Content Include="Resources\WinClassic\Window\TopLeft.png" />
|
||||
<Content Include="Resources\WinClassic\Window\TopRight.png" />
|
||||
<Content Include="Resources\WinClassic\Window\TopSide.png" />
|
||||
<None Include="Resources\WinClassic\Window\Win95Info.png" />
|
||||
<None Include="Resources\WinClassic\Window\Win95Warning.png" />
|
||||
<None Include="Resources\WinClassic\Window\Win95Error.png" />
|
||||
<None Include="Resources\WinClassic\Window\Win95Question.png" />
|
||||
<Content Include="Resources\WinClassic\Window\WinClassicClose.png" />
|
||||
<Content Include="Resources\WinClassic\Window\WinClassicMax.png" />
|
||||
<Content Include="Resources\WinClassic\Window\WinClassicMin.png" />
|
||||
<Content Include="Resources\WinClassic\Window\WinClassicRestore.png" />
|
||||
<Content Include="Resources\WinClassic\Window\WinClassicWarning.png" />
|
||||
<None Include="Resources\WinClassic\Window\windows_command_prompt.ttf" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\WinClassic\Window\LeviWindows.ttf" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
||||
</Project>
|
|
@ -2,18 +2,6 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Histacom2.Engine")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Histacom2.Engine")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2017")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
|
@ -21,16 +9,3 @@
|
|||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("9477b70f-2d32-4e1d-857b-4624a1deeb1b")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace Histacom2.Engine.Properties {
|
|||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class Resources {
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net452" />
|
||||
<package id="Whoa" version="1.5.0" targetFramework="net452" />
|
||||
</packages>
|
|
@ -1,38 +1,31 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.24720.0
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.28729.10
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Histacom2.Engine", "Histacom2.Engine\Histacom2.Engine.csproj", "{9477B70F-2D32-4E1D-857B-4624A1DEEB1B}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Histacom2", "Histacom2\Histacom2.csproj", "{7142DF28-E36B-434E-8CC6-C9B76BB670B1}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Histacom2", "Histacom2\Histacom2.csproj", "{B958AA5F-8AED-456C-9C07-9E4C6C027042}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Histacom2.Engine", "Histacom2.Engine\Histacom2.Engine.csproj", "{CDF4CA89-9A83-4572-B4A1-69BF5BD4C129}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|x86 = Debug|x86
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9477B70F-2D32-4E1D-857B-4624A1DEEB1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9477B70F-2D32-4E1D-857B-4624A1DEEB1B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9477B70F-2D32-4E1D-857B-4624A1DEEB1B}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{9477B70F-2D32-4E1D-857B-4624A1DEEB1B}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{9477B70F-2D32-4E1D-857B-4624A1DEEB1B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9477B70F-2D32-4E1D-857B-4624A1DEEB1B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9477B70F-2D32-4E1D-857B-4624A1DEEB1B}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{9477B70F-2D32-4E1D-857B-4624A1DEEB1B}.Release|x86.Build.0 = Release|Any CPU
|
||||
{B958AA5F-8AED-456C-9C07-9E4C6C027042}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{B958AA5F-8AED-456C-9C07-9E4C6C027042}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B958AA5F-8AED-456C-9C07-9E4C6C027042}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{B958AA5F-8AED-456C-9C07-9E4C6C027042}.Debug|x86.Build.0 = Debug|x86
|
||||
{B958AA5F-8AED-456C-9C07-9E4C6C027042}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B958AA5F-8AED-456C-9C07-9E4C6C027042}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{B958AA5F-8AED-456C-9C07-9E4C6C027042}.Release|x86.ActiveCfg = Release|x86
|
||||
{B958AA5F-8AED-456C-9C07-9E4C6C027042}.Release|x86.Build.0 = Release|x86
|
||||
{7142DF28-E36B-434E-8CC6-C9B76BB670B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7142DF28-E36B-434E-8CC6-C9B76BB670B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7142DF28-E36B-434E-8CC6-C9B76BB670B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7142DF28-E36B-434E-8CC6-C9B76BB670B1}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{CDF4CA89-9A83-4572-B4A1-69BF5BD4C129}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{CDF4CA89-9A83-4572-B4A1-69BF5BD4C129}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{CDF4CA89-9A83-4572-B4A1-69BF5BD4C129}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{CDF4CA89-9A83-4572-B4A1-69BF5BD4C129}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {264140FC-919A-49CE-8FAF-AEB5693D5361}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
|||
namespace Histacom2.OS.Win95.Win95Apps.IE3Sites
|
||||
{
|
||||
partial class _12padams1998
|
||||
partial class Website12padams1998
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
|
@ -28,7 +28,7 @@ protected override void Dispose(bool disposing)
|
|||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(_12padams1998));
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Website12padams1998));
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
|
@ -13,10 +13,10 @@
|
|||
|
||||
namespace Histacom2.OS.Win95.Win95Apps.IE3Sites
|
||||
{
|
||||
public partial class _12padams1998 : UserControl
|
||||
public partial class Website12padams1998 : UserControl
|
||||
{
|
||||
bool clicked = false;
|
||||
public _12padams1998()
|
||||
public Website12padams1998()
|
||||
{
|
||||
InitializeComponent();
|
||||
button1.Paint += (s, args) => Paintbrush.PaintClassicBorders(s, args, 2);
|
|
@ -49,10 +49,10 @@ public static async void GoToPage(string url)
|
|||
uc = new GooglePrototype();
|
||||
break;
|
||||
case "www.12padams.com":
|
||||
uc = new _12padams1998();
|
||||
uc = new Website12padams1998();
|
||||
break;
|
||||
case "12padams.com":
|
||||
uc = new _12padams1998();
|
||||
uc = new Website12padams1998();
|
||||
newURL = "www.12padams.com";
|
||||
break;
|
||||
case "google.com":
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using TimeHACK.OS.Win95;
|
||||
using Histacom2.OS.Win95;
|
||||
using Histacom2;
|
||||
|
||||
namespace TimeHACK.WinClassicForms
|
||||
{
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
using System.Windows.Forms;
|
||||
using Histacom2.Engine;
|
||||
using Histacom2.Engine.Template;
|
||||
using Histacom2.Engine.Template.Taskbars;
|
||||
using Histacom2.OS.Win95.Win95Apps;
|
||||
using Histacom2.OS.Win95.Win95Apps.Story;
|
||||
using static Histacom2.Engine.SaveSystem;
|
||||
|
@ -353,7 +352,7 @@ private void WordPadToolStripMenuItem_Click(object sender, EventArgs e)
|
|||
|
||||
public void AddTaskBarItem(Form Application, string ApplicationID, string ApplicationName, Image ApplicationIcon)
|
||||
{
|
||||
taskbarItems = tb.AddTaskbarItem95(ApplicationID, ApplicationName, ApplicationIcon, (UserControl)new Win95TaskBarItem(), taskbarItems);
|
||||
taskbarItems = tb.AddTaskbarItem95(ApplicationID, ApplicationName, ApplicationIcon, (UserControl)new Windows95TaskbarItem(), taskbarItems);
|
||||
Application.FormClosed += new FormClosedEventHandler(UpdateTaskbarFromClosedApplication);
|
||||
}
|
||||
|
||||
|
@ -372,7 +371,7 @@ public void UpdateTaskbar()
|
|||
foreach (Form form in tb.GetAllOpenApps())
|
||||
{
|
||||
// Calls that "AddToTaskbar" thing
|
||||
taskbarItems = tb.AddTaskbarItem95(form.Tag.ToString(), form.Text.ToString(), (Image)form.Icon.ToBitmap(), (UserControl)new Win95TaskBarItem(), taskbarItems);
|
||||
taskbarItems = tb.AddTaskbarItem95(form.Tag.ToString(), form.Text.ToString(), (Image)form.Icon.ToBitmap(), (UserControl)new Windows95TaskbarItem(), taskbarItems);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
namespace Histacom2.Engine.Template.Taskbars
|
||||
namespace Histacom2.OS.Win95
|
||||
{
|
||||
partial class Win95TaskBarItem
|
||||
partial class Windows95TaskbarItem
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
|
@ -28,7 +28,7 @@ protected override void Dispose(bool disposing)
|
|||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Win95TaskBarItem));
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Windows95TaskbarItem));
|
||||
this.progName = new System.Windows.Forms.Label();
|
||||
this.progPic = new System.Windows.Forms.PictureBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
|
@ -1,21 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using Histacom2.Engine;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Histacom2.Engine;
|
||||
|
||||
namespace Histacom2.Engine.Template.Taskbars
|
||||
namespace Histacom2.OS.Win95
|
||||
{
|
||||
public partial class Win95TaskBarItem : UserControl
|
||||
public partial class Windows95TaskbarItem : UserControl
|
||||
{
|
||||
|
||||
TaskBarController tb = new TaskBarController();
|
||||
public string ApplicationID;
|
||||
public Win95TaskBarItem()
|
||||
|
||||
public Windows95TaskbarItem()
|
||||
{
|
||||
InitializeComponent();
|
||||
progName.Font = new Font(TitleScreen.pfc.Families[0], 16f, FontStyle.Regular, GraphicsUnit.Point, ((0)));
|
|
@ -6,12 +6,12 @@
|
|||
using System.Windows.Forms;
|
||||
using Histacom2.Engine;
|
||||
using Histacom2.Engine.Template;
|
||||
using Histacom2.Engine.Template.Taskbars;
|
||||
using Histacom2.OS.Win95.Win95Apps;
|
||||
using Histacom2.OS.Win95.Win95Apps.Story;
|
||||
using static Histacom2.Engine.SaveSystem;
|
||||
using Histacom2.OS.Win98.Win98Apps;
|
||||
using Histacom2.GlobalPrograms;
|
||||
using Histacom2.OS.Win95;
|
||||
|
||||
namespace Histacom2.OS.Win98
|
||||
{
|
||||
|
@ -381,7 +381,7 @@ private void WordPadToolStripMenuItem_Click(object sender, EventArgs e)
|
|||
|
||||
public void AddTaskBarItem(Form Application, string ApplicationID, string ApplicationName, Image ApplicationIcon)
|
||||
{
|
||||
taskbarItems = tb.AddTaskbarItem95(ApplicationID, ApplicationName, ApplicationIcon, (UserControl)new Win95TaskBarItem(), taskbarItems);
|
||||
taskbarItems = tb.AddTaskbarItem95(ApplicationID, ApplicationName, ApplicationIcon, (UserControl)new Windows95TaskbarItem(), taskbarItems);
|
||||
Application.FormClosed += new FormClosedEventHandler(UpdateTaskbarFromClosedApplication);
|
||||
}
|
||||
|
||||
|
@ -400,7 +400,7 @@ public void UpdateTaskbar()
|
|||
foreach (Form form in tb.GetAllOpenApps())
|
||||
{
|
||||
// Calls that "AddToTaskbar" thing
|
||||
taskbarItems = tb.AddTaskbarItem95(form.Tag.ToString(), form.Text.ToString(), (Image)form.Icon.ToBitmap(), (UserControl)new Win95TaskBarItem(), taskbarItems);
|
||||
taskbarItems = tb.AddTaskbarItem95(form.Tag.ToString(), form.Text.ToString(), (Image)form.Icon.ToBitmap(), (UserControl)new Windows95TaskbarItem(), taskbarItems);
|
||||
}
|
||||
}
|
||||
|
|
@ -6,13 +6,13 @@
|
|||
using System.Windows.Forms;
|
||||
using Histacom2.Engine;
|
||||
using Histacom2.Engine.Template;
|
||||
using Histacom2.Engine.Template.Taskbars;
|
||||
using Histacom2.OS.Win95.Win95Apps;
|
||||
using Histacom2.OS.Win95.Win95Apps.Story;
|
||||
using static Histacom2.Engine.SaveSystem;
|
||||
using Histacom2.OS.Win95.Win95Apps._12padamViruses;
|
||||
using Histacom2.OS.Win95.Win95Apps._12padamsViruses;
|
||||
using Histacom2.GlobalPrograms;
|
||||
using Histacom2.OS.Win95;
|
||||
|
||||
namespace Histacom2.OS.WinME
|
||||
{
|
||||
|
@ -345,7 +345,7 @@ private void WordPadToolStripMenuItem_Click(object sender, EventArgs e)
|
|||
|
||||
public void AddTaskBarItem(Form Application, string ApplicationID, string ApplicationName, Image ApplicationIcon)
|
||||
{
|
||||
taskbarItems = tb.AddTaskbarItem95(ApplicationID, ApplicationName, ApplicationIcon, (UserControl)new Win95TaskBarItem(), taskbarItems);
|
||||
taskbarItems = tb.AddTaskbarItem95(ApplicationID, ApplicationName, ApplicationIcon, (UserControl)new Windows95TaskbarItem(), taskbarItems);
|
||||
Application.FormClosed += new FormClosedEventHandler(UpdateTaskbarFromClosedApplication);
|
||||
}
|
||||
|
||||
|
@ -364,7 +364,7 @@ public void UpdateTaskbar()
|
|||
foreach (Form form in tb.GetAllOpenApps())
|
||||
{
|
||||
// Calls that "AddToTaskbar" thing
|
||||
taskbarItems = tb.AddTaskbarItem95(form.Tag.ToString(), form.Text.ToString(), (Image)form.Icon.ToBitmap(), (UserControl)new Win95TaskBarItem(), taskbarItems);
|
||||
taskbarItems = tb.AddTaskbarItem95(form.Tag.ToString(), form.Text.ToString(), (Image)form.Icon.ToBitmap(), (UserControl)new Windows95TaskbarItem(), taskbarItems);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
using System.Windows.Forms;
|
||||
using Histacom2.Engine;
|
||||
using Histacom2.Engine.Template;
|
||||
using Histacom2.Engine.Template.Taskbars;
|
||||
using Histacom2.OS.Win95.Win95Apps;
|
||||
using Histacom2.OS.Win95.Win95Apps.Story;
|
||||
using static Histacom2.Engine.SaveSystem;
|
||||
|
@ -14,6 +13,7 @@
|
|||
using Histacom2.GlobalPrograms;
|
||||
using Histacom2.OS.WinXPBad.Story;
|
||||
using System.Threading.Tasks;
|
||||
using Histacom2.OS.Win95;
|
||||
|
||||
namespace Histacom2.OS.WinXPBad
|
||||
{
|
||||
|
@ -197,7 +197,7 @@ private void desktopicons_DoubleClick(object sender, EventArgs e)
|
|||
|
||||
public void AddTaskBarItem(Form Application, string ApplicationID, string ApplicationName, Image ApplicationIcon)
|
||||
{
|
||||
taskbarItems = tb.AddTaskbarItem95(ApplicationID, ApplicationName, ApplicationIcon, (UserControl)new Win95TaskBarItem(), taskbarItems);
|
||||
taskbarItems = tb.AddTaskbarItem95(ApplicationID, ApplicationName, ApplicationIcon, (UserControl)new Windows95TaskbarItem(), taskbarItems);
|
||||
Application.FormClosed += new FormClosedEventHandler(UpdateTaskbarFromClosedApplication);
|
||||
}
|
||||
|
||||
|
@ -216,7 +216,7 @@ public void UpdateTaskbar()
|
|||
foreach (Form form in tb.GetAllOpenApps())
|
||||
{
|
||||
// Calls that "AddToTaskbar" thing
|
||||
taskbarItems = tb.AddTaskbarItem95(form.Tag.ToString(), form.Text.ToString(), form.Icon.ToBitmap(), new Win95TaskBarItem(), taskbarItems);
|
||||
taskbarItems = tb.AddTaskbarItem95(form.Tag.ToString(), form.Text.ToString(), form.Icon.ToBitmap(), new Windows95TaskbarItem(), taskbarItems);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
using Histacom2.Engine.Template;
|
||||
using System.Drawing;
|
||||
using Histacom2.SaveDialogs;
|
||||
using Histacom2.OS.Win98;
|
||||
|
||||
namespace Histacom2
|
||||
{
|
||||
|
|
|
@ -3,18 +3,6 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("Histacom2")]
|
||||
[assembly: AssemblyDescription("Revival of the original hacking simulator!")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Michael Webb")]
|
||||
[assembly: AssemblyProduct("Histacom2")]
|
||||
[assembly: AssemblyCopyright("Copyright © Michael Webb and contributors, 2019.")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
|
@ -22,18 +10,3 @@
|
|||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("b958aa5f-8aed-456c-9c07-9e4c6c027042")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("2.0.3")]
|
||||
[assembly: AssemblyFileVersion("2.0.3")]
|
||||
[assembly: NeutralResourcesLanguage("en-US")]
|
||||
|
||||
|
|
|
@ -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<System.Runtime.Versioning.TargetFrameworkAttribute>().FrameworkName}";
|
||||
}
|
||||
|
||||
private void gameversion_MouseLeave(object sender, EventArgs e) {
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net452" />
|
||||
</packages>
|
20
packages/Newtonsoft.Json.10.0.3/LICENSE.md
vendored
20
packages/Newtonsoft.Json.10.0.3/LICENSE.md
vendored
|
@ -1,20 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2007 James Newton-King
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
116
packages/Newtonsoft.Json.10.0.3/tools/install.ps1
vendored
116
packages/Newtonsoft.Json.10.0.3/tools/install.ps1
vendored
|
@ -1,116 +0,0 @@
|
|||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
# open json.net splash page on package install
|
||||
# don't open if json.net is installed as a dependency
|
||||
|
||||
try
|
||||
{
|
||||
$url = "http://www.newtonsoft.com/json/install?version=" + $package.Version
|
||||
$dte2 = Get-Interface $dte ([EnvDTE80.DTE2])
|
||||
|
||||
if ($dte2.ActiveWindow.Caption -eq "Package Manager Console")
|
||||
{
|
||||
# user is installing from VS NuGet console
|
||||
# get reference to the window, the console host and the input history
|
||||
# show webpage if "install-package newtonsoft.json" was last input
|
||||
|
||||
$consoleWindow = $(Get-VSComponentModel).GetService([NuGetConsole.IPowerConsoleWindow])
|
||||
|
||||
$props = $consoleWindow.GetType().GetProperties([System.Reflection.BindingFlags]::Instance -bor `
|
||||
[System.Reflection.BindingFlags]::NonPublic)
|
||||
|
||||
$prop = $props | ? { $_.Name -eq "ActiveHostInfo" } | select -first 1
|
||||
if ($prop -eq $null) { return }
|
||||
|
||||
$hostInfo = $prop.GetValue($consoleWindow)
|
||||
if ($hostInfo -eq $null) { return }
|
||||
|
||||
$history = $hostInfo.WpfConsole.InputHistory.History
|
||||
|
||||
$lastCommand = $history | select -last 1
|
||||
|
||||
if ($lastCommand)
|
||||
{
|
||||
$lastCommand = $lastCommand.Trim().ToLower()
|
||||
if ($lastCommand.StartsWith("install-package") -and $lastCommand.Contains("newtonsoft.json"))
|
||||
{
|
||||
$dte2.ItemOperations.Navigate($url) | Out-Null
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
# user is installing from VS NuGet dialog
|
||||
# get reference to the window, then smart output console provider
|
||||
# show webpage if messages in buffered console contains "installing...newtonsoft.json" in last operation
|
||||
|
||||
$instanceField = [NuGet.Dialog.PackageManagerWindow].GetField("CurrentInstance", [System.Reflection.BindingFlags]::Static -bor `
|
||||
[System.Reflection.BindingFlags]::NonPublic)
|
||||
|
||||
$consoleField = [NuGet.Dialog.PackageManagerWindow].GetField("_smartOutputConsoleProvider", [System.Reflection.BindingFlags]::Instance -bor `
|
||||
[System.Reflection.BindingFlags]::NonPublic)
|
||||
|
||||
if ($instanceField -eq $null -or $consoleField -eq $null) { return }
|
||||
|
||||
$instance = $instanceField.GetValue($null)
|
||||
|
||||
if ($instance -eq $null) { return }
|
||||
|
||||
$consoleProvider = $consoleField.GetValue($instance)
|
||||
if ($consoleProvider -eq $null) { return }
|
||||
|
||||
$console = $consoleProvider.CreateOutputConsole($false)
|
||||
|
||||
$messagesField = $console.GetType().GetField("_messages", [System.Reflection.BindingFlags]::Instance -bor `
|
||||
[System.Reflection.BindingFlags]::NonPublic)
|
||||
if ($messagesField -eq $null) { return }
|
||||
|
||||
$messages = $messagesField.GetValue($console)
|
||||
if ($messages -eq $null) { return }
|
||||
|
||||
$operations = $messages -split "=============================="
|
||||
|
||||
$lastOperation = $operations | select -last 1
|
||||
|
||||
if ($lastOperation)
|
||||
{
|
||||
$lastOperation = $lastOperation.ToLower()
|
||||
|
||||
$lines = $lastOperation -split "`r`n"
|
||||
|
||||
$installMatch = $lines | ? { $_.StartsWith("------- installing...newtonsoft.json ") } | select -first 1
|
||||
|
||||
if ($installMatch)
|
||||
{
|
||||
$dte2.ItemOperations.Navigate($url) | Out-Null
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
try
|
||||
{
|
||||
$pmPane = $dte2.ToolWindows.OutputWindow.OutputWindowPanes.Item("Package Manager")
|
||||
|
||||
$selection = $pmPane.TextDocument.Selection
|
||||
$selection.StartOfDocument($false)
|
||||
$selection.EndOfDocument($true)
|
||||
|
||||
if ($selection.Text.StartsWith("Attempting to gather dependencies information for package 'Newtonsoft.Json." + $package.Version + "'"))
|
||||
{
|
||||
# don't show on upgrade
|
||||
if (!$selection.Text.Contains("Removed package"))
|
||||
{
|
||||
$dte2.ItemOperations.Navigate($url) | Out-Null
|
||||
}
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
# stop potential errors from bubbling up
|
||||
# worst case the splash page won't open
|
||||
}
|
||||
}
|
||||
|
||||
# still yolo
|
BIN
packages/Whoa.1.5.0/Whoa.1.5.0.nupkg
vendored
BIN
packages/Whoa.1.5.0/Whoa.1.5.0.nupkg
vendored
Binary file not shown.
BIN
packages/Whoa.1.5.0/lib/net45/Whoa.dll
vendored
BIN
packages/Whoa.1.5.0/lib/net45/Whoa.dll
vendored
Binary file not shown.
Loading…
Reference in a new issue