mirror of
https://github.com/HistacomUnity/Histacom2-old.git
synced 2025-01-22 09:02:01 -05:00
gtn things
This commit is contained in:
parent
085ae85fd5
commit
99fef5c573
17 changed files with 639 additions and 3 deletions
|
@ -78,6 +78,15 @@
|
|||
<DependentUpon>WinClassic.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Theme.cs" />
|
||||
<Compile Include="UI\ClassicButton.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\ClassicButton.Designer.cs">
|
||||
<DependentUpon>ClassicButton.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" />
|
||||
|
@ -104,6 +113,9 @@
|
|||
<EmbeddedResource Include="Template\WinClassic.resx">
|
||||
<DependentUpon>WinClassic.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\ClassicButton.resx">
|
||||
<DependentUpon>ClassicButton.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Resources\chord.wav" />
|
||||
|
|
91
TimeHACK.Engine/UI/ClassicButton.Designer.cs
generated
Normal file
91
TimeHACK.Engine/UI/ClassicButton.Designer.cs
generated
Normal file
|
@ -0,0 +1,91 @@
|
|||
namespace TimeHACK.Engine.UI
|
||||
{
|
||||
partial class ClassicButton
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Component Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.borderpart = new System.Windows.Forms.Panel();
|
||||
this.graystuff = new System.Windows.Forms.Panel();
|
||||
this.lessgraystuff = new System.Windows.Forms.Label();
|
||||
this.borderpart.SuspendLayout();
|
||||
this.graystuff.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// borderpart
|
||||
//
|
||||
this.borderpart.BackColor = System.Drawing.Color.White;
|
||||
this.borderpart.Controls.Add(this.graystuff);
|
||||
this.borderpart.Location = new System.Drawing.Point(0, 0);
|
||||
this.borderpart.Name = "borderpart";
|
||||
this.borderpart.Size = new System.Drawing.Size(99, 24);
|
||||
this.borderpart.TabIndex = 0;
|
||||
//
|
||||
// graystuff
|
||||
//
|
||||
this.graystuff.BackColor = System.Drawing.Color.Gray;
|
||||
this.graystuff.Controls.Add(this.lessgraystuff);
|
||||
this.graystuff.Location = new System.Drawing.Point(1, 1);
|
||||
this.graystuff.Name = "graystuff";
|
||||
this.graystuff.Size = new System.Drawing.Size(98, 23);
|
||||
this.graystuff.TabIndex = 0;
|
||||
//
|
||||
// lessgraystuff
|
||||
//
|
||||
this.lessgraystuff.BackColor = System.Drawing.Color.Silver;
|
||||
this.lessgraystuff.Location = new System.Drawing.Point(0, 0);
|
||||
this.lessgraystuff.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.lessgraystuff.Name = "lessgraystuff";
|
||||
this.lessgraystuff.Size = new System.Drawing.Size(97, 22);
|
||||
this.lessgraystuff.TabIndex = 0;
|
||||
this.lessgraystuff.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.lessgraystuff.Paint += new System.Windows.Forms.PaintEventHandler(this.lessgraystuff_Paint);
|
||||
//
|
||||
// ClassicButton
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.Black;
|
||||
this.Controls.Add(this.borderpart);
|
||||
this.Name = "ClassicButton";
|
||||
this.Size = new System.Drawing.Size(100, 25);
|
||||
this.Paint += new System.Windows.Forms.PaintEventHandler(this.ClassicButton_Paint);
|
||||
this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.ClassicButton_MouseDown);
|
||||
this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ClassicButton_MouseUp);
|
||||
this.Resize += new System.EventHandler(this.ClassicButton_Resize);
|
||||
this.borderpart.ResumeLayout(false);
|
||||
this.graystuff.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel borderpart;
|
||||
private System.Windows.Forms.Panel graystuff;
|
||||
private System.Windows.Forms.Label lessgraystuff;
|
||||
}
|
||||
}
|
58
TimeHACK.Engine/UI/ClassicButton.cs
Normal file
58
TimeHACK.Engine/UI/ClassicButton.cs
Normal file
|
@ -0,0 +1,58 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace TimeHACK.Engine.UI
|
||||
{
|
||||
public partial class ClassicButton : UserControl
|
||||
{
|
||||
public ClassicButton()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void ClassicButton_SizeChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void ClassicButton_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
this.BackColor = Color.White;
|
||||
borderpart.BackColor = Color.Black;
|
||||
lessgraystuff.Location = new Point(1, 1);
|
||||
}
|
||||
|
||||
private void ClassicButton_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
e.Graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SingleBitPerPixelGridFit;
|
||||
base.OnPaint(e);
|
||||
}
|
||||
|
||||
private void lessgraystuff_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
e.Graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SingleBitPerPixelGridFit;
|
||||
base.OnPaint(e);
|
||||
}
|
||||
|
||||
private void ClassicButton_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
this.BackColor = Color.Black;
|
||||
borderpart.BackColor = Color.White;
|
||||
lessgraystuff.Location = new Point(0, 0);
|
||||
}
|
||||
|
||||
private void ClassicButton_Resize(object sender, EventArgs e)
|
||||
{
|
||||
borderpart.Size = new Size(this.Width - 1, this.Height - 1);
|
||||
graystuff.Size = new Size(this.Width - 2, this.Height - 2);
|
||||
lessgraystuff.Size = new Size(this.Width - 3, this.Height - 3);
|
||||
}
|
||||
}
|
||||
}
|
120
TimeHACK.Engine/UI/ClassicButton.resx
Normal file
120
TimeHACK.Engine/UI/ClassicButton.resx
Normal file
|
@ -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>
|
125
TimeHACK.Main/OS/Win95/Win95Apps/GuessTheNumber.Designer.cs
generated
Normal file
125
TimeHACK.Main/OS/Win95/Win95Apps/GuessTheNumber.Designer.cs
generated
Normal file
|
@ -0,0 +1,125 @@
|
|||
namespace TimeHACK.OS.Win95.Win95Apps
|
||||
{
|
||||
partial class GuessTheNumber
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Component Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
this.pictureBox3 = new System.Windows.Forms.PictureBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label1.Location = new System.Drawing.Point(20, 10);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(224, 13);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "I am thinking of a number between 1 and 100.";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(16, 36);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(40, 13);
|
||||
this.label2.TabIndex = 1;
|
||||
this.label2.Text = "Guess:";
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Location = new System.Drawing.Point(58, 33);
|
||||
this.textBox1.MaxLength = 3;
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(33, 20);
|
||||
this.textBox1.TabIndex = 2;
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.BackgroundImage = global::TimeHACK.Properties.Resources.GTN95_Check;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(191, 30);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(55, 27);
|
||||
this.pictureBox1.TabIndex = 3;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
this.pictureBox2.Location = new System.Drawing.Point(97, 31);
|
||||
this.pictureBox2.Name = "pictureBox2";
|
||||
this.pictureBox2.Size = new System.Drawing.Size(88, 24);
|
||||
this.pictureBox2.TabIndex = 4;
|
||||
this.pictureBox2.TabStop = false;
|
||||
//
|
||||
// pictureBox3
|
||||
//
|
||||
this.pictureBox3.BackgroundImage = global::TimeHACK.Properties.Resources.GTN95_Restart;
|
||||
this.pictureBox3.Location = new System.Drawing.Point(19, 62);
|
||||
this.pictureBox3.Name = "pictureBox3";
|
||||
this.pictureBox3.Size = new System.Drawing.Size(227, 23);
|
||||
this.pictureBox3.TabIndex = 5;
|
||||
this.pictureBox3.TabStop = false;
|
||||
//
|
||||
// GuessTheNumber
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.Silver;
|
||||
this.Controls.Add(this.pictureBox3);
|
||||
this.Controls.Add(this.pictureBox2);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.Controls.Add(this.textBox1);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Name = "GuessTheNumber";
|
||||
this.Size = new System.Drawing.Size(268, 100);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.PictureBox pictureBox2;
|
||||
private System.Windows.Forms.PictureBox pictureBox3;
|
||||
}
|
||||
}
|
20
TimeHACK.Main/OS/Win95/Win95Apps/GuessTheNumber.cs
Normal file
20
TimeHACK.Main/OS/Win95/Win95Apps/GuessTheNumber.cs
Normal file
|
@ -0,0 +1,20 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace TimeHACK.OS.Win95.Win95Apps
|
||||
{
|
||||
public partial class GuessTheNumber : UserControl
|
||||
{
|
||||
public GuessTheNumber()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
120
TimeHACK.Main/OS/Win95/Win95Apps/GuessTheNumber.resx
Normal file
120
TimeHACK.Main/OS/Win95/Win95Apps/GuessTheNumber.resx
Normal file
|
@ -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>
|
60
TimeHACK.Main/Properties/Resources.Designer.cs
generated
60
TimeHACK.Main/Properties/Resources.Designer.cs
generated
|
@ -135,6 +135,16 @@ internal static System.IO.UnmanagedMemoryStream AIMmessagesent {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap ButtonPattern {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("ButtonPattern", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
@ -184,6 +194,56 @@ internal static System.Drawing.Bitmap google {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap GTN95_Check {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("GTN95_Check", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap GTN95_CheckClicked {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("GTN95_CheckClicked", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap GTN95_Higher {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("GTN95_Higher", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap GTN95_Restart {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("GTN95_Restart", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap GTN95_RestartClicked {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("GTN95_RestartClicked", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
|
|
|
@ -792,6 +792,24 @@
|
|||
<data name="IE3_SwirlyThings" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\IE3\IE3_SwirlyThings.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="ButtonPattern" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\ButtonPattern.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="GTN95_Check" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\GuessTheNumber\GTN95_Check.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="GTN95_CheckClicked" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\GuessTheNumber\GTN95_CheckClicked.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="GTN95_Higher" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\GuessTheNumber\GTN95_Higher.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="GTN95_Restart" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\GuessTheNumber\GTN95_Restart.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="GTN95_RestartClicked" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\GuessTheNumber\GTN95_RestartClicked.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="IE3_BackHover" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\IE3\IE3_BackHover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
|
BIN
TimeHACK.Main/Resources/ButtonPattern.png
Normal file
BIN
TimeHACK.Main/Resources/ButtonPattern.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 165 B |
BIN
TimeHACK.Main/Resources/GuessTheNumber/GTN95_Check.png
Normal file
BIN
TimeHACK.Main/Resources/GuessTheNumber/GTN95_Check.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 308 B |
BIN
TimeHACK.Main/Resources/GuessTheNumber/GTN95_CheckClicked.png
Normal file
BIN
TimeHACK.Main/Resources/GuessTheNumber/GTN95_CheckClicked.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 314 B |
BIN
TimeHACK.Main/Resources/GuessTheNumber/GTN95_Higher.png
Normal file
BIN
TimeHACK.Main/Resources/GuessTheNumber/GTN95_Higher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 363 B |
BIN
TimeHACK.Main/Resources/GuessTheNumber/GTN95_Restart.png
Normal file
BIN
TimeHACK.Main/Resources/GuessTheNumber/GTN95_Restart.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 376 B |
BIN
TimeHACK.Main/Resources/GuessTheNumber/GTN95_RestartClicked.png
Normal file
BIN
TimeHACK.Main/Resources/GuessTheNumber/GTN95_RestartClicked.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 377 B |
|
@ -138,6 +138,12 @@
|
|||
<Compile Include="OS\Win2K\Win2KApps\SurviveTheDay.Designer.cs">
|
||||
<DependentUpon>SurviveTheDay.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OS\Win95\Win95Apps\GuessTheNumber.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OS\Win95\Win95Apps\GuessTheNumber.Designer.cs">
|
||||
<DependentUpon>GuessTheNumber.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OS\Win95\Win95Apps\IE4Sites\12padams1998.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
|
@ -362,6 +368,9 @@
|
|||
<EmbeddedResource Include="OS\Win2K\Win2KApps\SurviveTheDay.resx">
|
||||
<DependentUpon>SurviveTheDay.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OS\Win95\Win95Apps\GuessTheNumber.resx">
|
||||
<DependentUpon>GuessTheNumber.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OS\Win95\Win95Apps\IE4Sites\12padams1998.resx">
|
||||
<DependentUpon>12padams1998.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
@ -432,9 +441,6 @@
|
|||
<EmbeddedResource Include="SaveDialogs\NewGameDialog.resx">
|
||||
<DependentUpon>NewGameDialog.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="UI\IProgressBar.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="OS\Win95\Win95.resx">
|
||||
<DependentUpon>Win95.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
|
@ -526,6 +532,12 @@
|
|||
<None Include="Resources\EndingPiracy.png" />
|
||||
<None Include="Resources\AchievementMines.png" />
|
||||
<None Include="Resources\distort1.wav" />
|
||||
<None Include="Resources\GuessTheNumber\GTN95_Check.png" />
|
||||
<None Include="Resources\GuessTheNumber\GTN95_CheckClicked.png" />
|
||||
<None Include="Resources\GuessTheNumber\GTN95_Higher.png" />
|
||||
<None Include="Resources\GuessTheNumber\GTN95_Restart.png" />
|
||||
<None Include="Resources\GuessTheNumber\GTN95_RestartClicked.png" />
|
||||
<None Include="Resources\ButtonPattern.png" />
|
||||
<Content Include="Resources\Icon128x.ico" />
|
||||
<None Include="Resources\ICTheme_BG.jpg" />
|
||||
<None Include="Resources\IE3\IE3_SwirlyThings.png" />
|
||||
|
|
Loading…
Reference in a new issue