aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-10-29 16:31:52 -0400
committerlempamo <[email protected]>2017-10-29 16:31:52 -0400
commit8c8cb5926d474860383e1cd60e79599f99670f71 (patch)
tree6375cfcd3b698d50f39ae3dd28b39a0375ec9c9b
parente0795056d0edf0d3e9de727659beea2c2ef655f8 (diff)
downloadhistacom2-8c8cb5926d474860383e1cd60e79599f99670f71.tar.gz
histacom2-8c8cb5926d474860383e1cd60e79599f99670f71.tar.bz2
histacom2-8c8cb5926d474860383e1cd60e79599f99670f71.zip
made time distorter design and added xp buttons
-rw-r--r--Histacom2/Histacom2.csproj10
-rw-r--r--Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.Designer.cs100
-rw-r--r--Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.resx120
-rw-r--r--Histacom2/OS/WinXPBad/WinXPBad.cs1
-rw-r--r--PinkieControls.dllbin0 -> 36864 bytes
5 files changed, 230 insertions, 1 deletions
diff --git a/Histacom2/Histacom2.csproj b/Histacom2/Histacom2.csproj
index 0ac031e..8ede65e 100644
--- a/Histacom2/Histacom2.csproj
+++ b/Histacom2/Histacom2.csproj
@@ -107,6 +107,10 @@
<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="PinkieControls, Version=1.0.1362.15156, Culture=neutral">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\PinkieControls.dll</HintPath>
+ </Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
@@ -600,6 +604,9 @@
<EmbeddedResource Include="OS\WinXPBad\WinClassicIE6Bad.resx">
<DependentUpon>WinClassicIE6Bad.cs</DependentUpon>
</EmbeddedResource>
+ <EmbeddedResource Include="OS\WinXPBad\WinClassicTimeDistorter3Bad.resx">
+ <DependentUpon>WinClassicTimeDistorter3Bad.cs</DependentUpon>
+ </EmbeddedResource>
<EmbeddedResource Include="OS\WinXPBad\WinXPBad.resx">
<DependentUpon>WinXPBad.cs</DependentUpon>
<SubType>Designer</SubType>
@@ -964,6 +971,9 @@
<ItemGroup>
<Folder Include="OS\WinXP\" />
</ItemGroup>
+ <ItemGroup>
+ <WCFMetadata Include="Service References\" />
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
diff --git a/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.Designer.cs b/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.Designer.cs
index 8cfb2c1..664e903 100644
--- a/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.Designer.cs
+++ b/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.Designer.cs
@@ -28,10 +28,108 @@
/// </summary>
private void InitializeComponent()
{
- components = new System.ComponentModel.Container();
+ this.classicLabel1 = new Histacom2.Engine.UI.ClassicLabel();
+ this.buttonXP1 = new PinkieControls.ButtonXP();
+ this.buttonXP2 = new PinkieControls.ButtonXP();
+ this.label1 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.label3 = new System.Windows.Forms.Label();
+ this.SuspendLayout();
+ //
+ // classicLabel1
+ //
+ this.classicLabel1.Anchor = System.Windows.Forms.AnchorStyles.Top;
+ this.classicLabel1.DropShadow = false;
+ this.classicLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 72F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.classicLabel1.Location = new System.Drawing.Point(43, 34);
+ this.classicLabel1.Name = "classicLabel1";
+ this.classicLabel1.Size = new System.Drawing.Size(270, 120);
+ this.classicLabel1.TabIndex = 2;
+ this.classicLabel1.Text = "2002";
+ //
+ // buttonXP1
+ //
+ this.buttonXP1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(253)))), ((int)(((byte)(245)))), ((int)(((byte)(230)))));
+ this.buttonXP1.DefaultScheme = true;
+ this.buttonXP1.DialogResult = System.Windows.Forms.DialogResult.None;
+ this.buttonXP1.Hint = "";
+ this.buttonXP1.Location = new System.Drawing.Point(28, 186);
+ this.buttonXP1.Name = "buttonXP1";
+ this.buttonXP1.Scheme = PinkieControls.ButtonXP.Schemes.Blue;
+ this.buttonXP1.Size = new System.Drawing.Size(101, 25);
+ this.buttonXP1.TabIndex = 3;
+ this.buttonXP1.Text = "Travel to 2000";
+ //
+ // buttonXP2
+ //
+ this.buttonXP2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(253)))), ((int)(((byte)(245)))), ((int)(((byte)(230)))));
+ this.buttonXP2.DefaultScheme = true;
+ this.buttonXP2.DialogResult = System.Windows.Forms.DialogResult.None;
+ this.buttonXP2.Hint = "";
+ this.buttonXP2.Location = new System.Drawing.Point(212, 186);
+ this.buttonXP2.Name = "buttonXP2";
+ this.buttonXP2.Scheme = PinkieControls.ButtonXP.Schemes.Blue;
+ this.buttonXP2.Size = new System.Drawing.Size(101, 25);
+ this.buttonXP2.TabIndex = 4;
+ this.buttonXP2.Text = "Travel to 2001";
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(140, 161);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(64, 13);
+ this.label1.TabIndex = 5;
+ this.label1.Text = "Countdown:";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Font = new System.Drawing.Font("Arial", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label2.Location = new System.Drawing.Point(146, 178);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(53, 37);
+ this.label2.TabIndex = 6;
+ this.label2.Text = "60";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label3.Location = new System.Drawing.Point(116, 28);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(103, 16);
+ this.label3.TabIndex = 7;
+ this.label3.Text = "Current Year:";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // WinClassicTimeDistorter3Bad
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.Color.OldLace;
+ this.Controls.Add(this.label3);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.buttonXP2);
+ this.Controls.Add(this.buttonXP1);
+ this.Controls.Add(this.classicLabel1);
+ this.Name = "WinClassicTimeDistorter3Bad";
+ this.Size = new System.Drawing.Size(356, 235);
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
}
#endregion
+
+ public Engine.UI.ClassicLabel classicLabel1;
+ private PinkieControls.ButtonXP buttonXP1;
+ private PinkieControls.ButtonXP buttonXP2;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
}
}
diff --git a/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.resx b/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.resx
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+</root> \ No newline at end of file
diff --git a/Histacom2/OS/WinXPBad/WinXPBad.cs b/Histacom2/OS/WinXPBad/WinXPBad.cs
index 317d507..d73ada2 100644
--- a/Histacom2/OS/WinXPBad/WinXPBad.cs
+++ b/Histacom2/OS/WinXPBad/WinXPBad.cs
@@ -289,6 +289,7 @@ namespace Histacom2.OS.WinXPBad
wm.InitXP(new WinClassicIE6Bad(), "Internet Explorer 6", Properties.Resources.WinXPIE6Icon, true, true);
startmenu.Hide();
startbutton.Enabled = false;
+ clockTimer.Enabled = false;
}
}
}
diff --git a/PinkieControls.dll b/PinkieControls.dll
new file mode 100644
index 0000000..9fce6f3
--- /dev/null
+++ b/PinkieControls.dll
Binary files differ