mirror of
https://github.com/HistacomUnity/Histacom2-old.git
synced 2025-01-22 09:02:01 -05:00
webchat 1999 is created
This commit is contained in:
parent
2ad35b2bdc
commit
fcc9810a8e
8 changed files with 382 additions and 23 deletions
|
@ -50,18 +50,20 @@ public static Color GetLightFromColor(Color basecolor)
|
|||
{
|
||||
if (basecolor == Color.Silver) return Color.White;
|
||||
if (basecolor == Color.Green) return Color.FromArgb(64, 255, 64);
|
||||
if (basecolor == Color.NavajoWhite) return Color.FromArgb(255, 239, 215);
|
||||
if (basecolor == Color.FromArgb(112, 112, 112)) return Color.FromArgb(184, 184, 184);
|
||||
if (basecolor == Color.FromArgb(169, 200, 169)) return Color.FromArgb(218, 223, 218);
|
||||
return ControlPaint.Light(basecolor, 70);
|
||||
return ControlPaint.Light(basecolor, 5);
|
||||
}
|
||||
|
||||
public static Color GetDarkFromColor(Color basecolor)
|
||||
{
|
||||
if (basecolor == Color.Silver) return Color.Gray;
|
||||
if (basecolor == Color.Green) return Color.FromArgb(0, 83, 0);
|
||||
if (basecolor == Color.NavajoWhite) return Color.FromArgb(255, 164, 28);
|
||||
if (basecolor == Color.FromArgb(112, 112, 112)) return Color.FromArgb(72, 72, 72);
|
||||
if (basecolor == Color.FromArgb(169, 200, 169)) return Color.FromArgb(95, 153, 95);
|
||||
return ControlPaint.Dark(basecolor, 70);
|
||||
return ControlPaint.Dark(basecolor, 5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,11 +1,4 @@
|
|||
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 Histacom2.GlobalPrograms
|
||||
|
@ -70,10 +63,7 @@ private void classicButton2_Click(object sender, EventArgs e)
|
|||
classicButton2.Text = "Finish";
|
||||
state = 4;
|
||||
}
|
||||
else
|
||||
{
|
||||
ParentForm.Close();
|
||||
}
|
||||
else ParentForm.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -322,6 +322,12 @@
|
|||
<Compile Include="OS\Win98\Win98Apps\IE4Sites\IENoPage.Designer.cs">
|
||||
<DependentUpon>IENoPage.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OS\Win98\Win98Apps\WebChat1999.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OS\Win98\Win98Apps\WebChat1999.Designer.cs">
|
||||
<DependentUpon>WebChat1999.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OS\Win98\Win98Apps\WinClassicIE4.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
|
@ -534,6 +540,9 @@
|
|||
<DependentUpon>IENoPage.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OS\Win98\Win98Apps\WebChat1999.resx">
|
||||
<DependentUpon>WebChat1999.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OS\Win98\Win98Apps\WinClassicIE4.resx">
|
||||
<DependentUpon>WinClassicIE4.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
|
38
Histacom2/OS/Win95/Win95Apps/WebChat1998.Designer.cs
generated
38
Histacom2/OS/Win95/Win95Apps/WebChat1998.Designer.cs
generated
|
@ -75,7 +75,7 @@ private void InitializeComponent()
|
|||
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label1.Location = new System.Drawing.Point(506, 13);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(85, 13);
|
||||
this.label1.Size = new System.Drawing.Size(96, 13);
|
||||
this.label1.TabIndex = 1;
|
||||
this.label1.Text = "Users Logged In";
|
||||
//
|
||||
|
@ -106,18 +106,22 @@ private void InitializeComponent()
|
|||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Location = new System.Drawing.Point(13, 18);
|
||||
this.label5.Location = new System.Drawing.Point(10, 18);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(84, 13);
|
||||
this.label5.Size = new System.Drawing.Size(87, 13);
|
||||
this.label5.TabIndex = 1;
|
||||
this.label5.Text = "skin95setup.exe";
|
||||
//
|
||||
// button5
|
||||
//
|
||||
this.button5.AdaptBackColorWithTheme = true;
|
||||
this.button5.AdaptFontWithTheme = true;
|
||||
this.button5.AdaptForeColorWithTheme = true;
|
||||
this.button5.BackColor = System.Drawing.Color.Silver;
|
||||
this.button5.DialogResult = System.Windows.Forms.DialogResult.None;
|
||||
this.button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||
this.button5.ForeColor = System.Drawing.Color.Black;
|
||||
this.button5.Location = new System.Drawing.Point(101, 13);
|
||||
this.button5.Location = new System.Drawing.Point(103, 13);
|
||||
this.button5.Name = "button5";
|
||||
this.button5.Size = new System.Drawing.Size(75, 23);
|
||||
this.button5.TabIndex = 0;
|
||||
|
@ -128,7 +132,7 @@ private void InitializeComponent()
|
|||
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label6.Location = new System.Drawing.Point(504, 374);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(62, 13);
|
||||
this.label6.Size = new System.Drawing.Size(70, 13);
|
||||
this.label6.TabIndex = 4;
|
||||
this.label6.Text = "File Sharing";
|
||||
//
|
||||
|
@ -158,7 +162,7 @@ private void InitializeComponent()
|
|||
//
|
||||
this.label2.Location = new System.Drawing.Point(328, 161);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(149, 13);
|
||||
this.label2.Size = new System.Drawing.Size(166, 13);
|
||||
this.label2.TabIndex = 6;
|
||||
this.label2.Text = "Please type in a screen name.";
|
||||
//
|
||||
|
@ -171,7 +175,11 @@ private void InitializeComponent()
|
|||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.AdaptBackColorWithTheme = true;
|
||||
this.button1.AdaptFontWithTheme = true;
|
||||
this.button1.AdaptForeColorWithTheme = true;
|
||||
this.button1.BackColor = System.Drawing.Color.Silver;
|
||||
this.button1.DialogResult = System.Windows.Forms.DialogResult.None;
|
||||
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||
this.button1.ForeColor = System.Drawing.Color.Black;
|
||||
this.button1.Location = new System.Drawing.Point(331, 208);
|
||||
|
@ -183,9 +191,9 @@ private void InitializeComponent()
|
|||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Location = new System.Drawing.Point(202, 16);
|
||||
this.label3.Location = new System.Drawing.Point(198, 16);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(112, 13);
|
||||
this.label3.Size = new System.Drawing.Size(116, 13);
|
||||
this.label3.TabIndex = 3;
|
||||
this.label3.Text = "Welcome to WebChat";
|
||||
//
|
||||
|
@ -193,7 +201,7 @@ private void InitializeComponent()
|
|||
//
|
||||
this.label4.Location = new System.Drawing.Point(118, 56);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(93, 13);
|
||||
this.label4.Size = new System.Drawing.Size(100, 13);
|
||||
this.label4.TabIndex = 2;
|
||||
this.label4.Text = "Chat Room Rules:";
|
||||
//
|
||||
|
@ -234,8 +242,12 @@ private void InitializeComponent()
|
|||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.AdaptBackColorWithTheme = true;
|
||||
this.button2.AdaptFontWithTheme = true;
|
||||
this.button2.AdaptForeColorWithTheme = true;
|
||||
this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.button2.BackColor = System.Drawing.Color.Silver;
|
||||
this.button2.DialogResult = System.Windows.Forms.DialogResult.None;
|
||||
this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||
this.button2.ForeColor = System.Drawing.Color.Black;
|
||||
this.button2.Location = new System.Drawing.Point(422, 415);
|
||||
|
@ -247,7 +259,11 @@ private void InitializeComponent()
|
|||
//
|
||||
// button3
|
||||
//
|
||||
this.button3.AdaptBackColorWithTheme = true;
|
||||
this.button3.AdaptFontWithTheme = true;
|
||||
this.button3.AdaptForeColorWithTheme = true;
|
||||
this.button3.BackColor = System.Drawing.Color.Silver;
|
||||
this.button3.DialogResult = System.Windows.Forms.DialogResult.None;
|
||||
this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||
this.button3.ForeColor = System.Drawing.Color.Black;
|
||||
this.button3.Location = new System.Drawing.Point(149, 427);
|
||||
|
@ -259,7 +275,11 @@ private void InitializeComponent()
|
|||
//
|
||||
// button4
|
||||
//
|
||||
this.button4.AdaptBackColorWithTheme = true;
|
||||
this.button4.AdaptFontWithTheme = true;
|
||||
this.button4.AdaptForeColorWithTheme = true;
|
||||
this.button4.BackColor = System.Drawing.Color.Silver;
|
||||
this.button4.DialogResult = System.Windows.Forms.DialogResult.None;
|
||||
this.button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||
this.button4.ForeColor = System.Drawing.Color.Black;
|
||||
this.button4.Location = new System.Drawing.Point(235, 427);
|
||||
|
|
193
Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs
generated
Normal file
193
Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs
generated
Normal file
|
@ -0,0 +1,193 @@
|
|||
namespace Histacom2.OS.Win98.Win98Apps
|
||||
{
|
||||
partial class WebChat1999
|
||||
{
|
||||
/// <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.button2 = new Histacom2.Engine.UI.ClassicButton();
|
||||
this.label7 = new Histacom2.Engine.UI.ClassicLabel();
|
||||
this.typechat = new System.Windows.Forms.TextBox();
|
||||
this.label6 = new Histacom2.Engine.UI.ClassicLabel();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.label5 = new Histacom2.Engine.UI.ClassicLabel();
|
||||
this.button5 = new Histacom2.Engine.UI.ClassicButton();
|
||||
this.history = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new Histacom2.Engine.UI.ClassicLabel();
|
||||
this.listBox1 = new System.Windows.Forms.ListBox();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.AdaptBackColorWithTheme = false;
|
||||
this.button2.AdaptFontWithTheme = false;
|
||||
this.button2.AdaptForeColorWithTheme = false;
|
||||
this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.button2.BackColor = System.Drawing.Color.NavajoWhite;
|
||||
this.button2.DialogResult = System.Windows.Forms.DialogResult.None;
|
||||
this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||
this.button2.ForeColor = System.Drawing.Color.Black;
|
||||
this.button2.Location = new System.Drawing.Point(425, 419);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(71, 23);
|
||||
this.button2.TabIndex = 16;
|
||||
this.button2.Text = "Speak";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label7.Location = new System.Drawing.Point(13, 17);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(483, 14);
|
||||
this.label7.TabIndex = 15;
|
||||
this.label7.Text = "To speak, just type in the bottom textbox, then click the Speak button or press E" +
|
||||
"nter.";
|
||||
//
|
||||
// typechat
|
||||
//
|
||||
this.typechat.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.typechat.BackColor = System.Drawing.Color.PapayaWhip;
|
||||
this.typechat.Location = new System.Drawing.Point(13, 419);
|
||||
this.typechat.Name = "typechat";
|
||||
this.typechat.Size = new System.Drawing.Size(405, 20);
|
||||
this.typechat.TabIndex = 14;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label6.Font = new System.Drawing.Font("Courier New", 8.75F);
|
||||
this.label6.Location = new System.Drawing.Point(552, 378);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(98, 14);
|
||||
this.label6.TabIndex = 13;
|
||||
this.label6.Text = "File Sharing";
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel1.BackColor = System.Drawing.Color.Linen;
|
||||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel1.Controls.Add(this.label5);
|
||||
this.panel1.Controls.Add(this.button5);
|
||||
this.panel1.Location = new System.Drawing.Point(507, 397);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(195, 51);
|
||||
this.panel1.TabIndex = 12;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Location = new System.Drawing.Point(10, 18);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(87, 13);
|
||||
this.label5.TabIndex = 1;
|
||||
this.label5.Text = "tdistortv2.exe";
|
||||
//
|
||||
// button5
|
||||
//
|
||||
this.button5.AdaptBackColorWithTheme = true;
|
||||
this.button5.AdaptFontWithTheme = true;
|
||||
this.button5.AdaptForeColorWithTheme = true;
|
||||
this.button5.BackColor = System.Drawing.Color.NavajoWhite;
|
||||
this.button5.DialogResult = System.Windows.Forms.DialogResult.None;
|
||||
this.button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||
this.button5.ForeColor = System.Drawing.Color.Black;
|
||||
this.button5.Location = new System.Drawing.Point(103, 13);
|
||||
this.button5.Name = "button5";
|
||||
this.button5.Size = new System.Drawing.Size(75, 23);
|
||||
this.button5.TabIndex = 0;
|
||||
this.button5.Text = "Download";
|
||||
//
|
||||
// history
|
||||
//
|
||||
this.history.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.history.BackColor = System.Drawing.Color.LemonChiffon;
|
||||
this.history.Location = new System.Drawing.Point(13, 36);
|
||||
this.history.Multiline = true;
|
||||
this.history.Name = "history";
|
||||
this.history.ReadOnly = true;
|
||||
this.history.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||
this.history.Size = new System.Drawing.Size(483, 377);
|
||||
this.history.TabIndex = 11;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label1.Font = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label1.Location = new System.Drawing.Point(557, 17);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(94, 17);
|
||||
this.label1.TabIndex = 10;
|
||||
this.label1.Text = "Users Logged In";
|
||||
//
|
||||
// listBox1
|
||||
//
|
||||
this.listBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.listBox1.BackColor = System.Drawing.Color.PapayaWhip;
|
||||
this.listBox1.FormattingEnabled = true;
|
||||
this.listBox1.Location = new System.Drawing.Point(507, 36);
|
||||
this.listBox1.Name = "listBox1";
|
||||
this.listBox1.Size = new System.Drawing.Size(195, 329);
|
||||
this.listBox1.TabIndex = 9;
|
||||
//
|
||||
// WebChat1999
|
||||
//
|
||||
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.button2);
|
||||
this.Controls.Add(this.label7);
|
||||
this.Controls.Add(this.typechat);
|
||||
this.Controls.Add(this.label6);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.history);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.listBox1);
|
||||
this.Name = "WebChat1999";
|
||||
this.Size = new System.Drawing.Size(724, 462);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Engine.UI.ClassicButton button2;
|
||||
private Engine.UI.ClassicLabel label7;
|
||||
private System.Windows.Forms.TextBox typechat;
|
||||
private Engine.UI.ClassicLabel label6;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private Engine.UI.ClassicLabel label5;
|
||||
private Engine.UI.ClassicButton button5;
|
||||
private System.Windows.Forms.TextBox history;
|
||||
private Engine.UI.ClassicLabel label1;
|
||||
private System.Windows.Forms.ListBox listBox1;
|
||||
}
|
||||
}
|
20
Histacom2/OS/Win98/Win98Apps/WebChat1999.cs
Normal file
20
Histacom2/OS/Win98/Win98Apps/WebChat1999.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 Histacom2.OS.Win98.Win98Apps
|
||||
{
|
||||
public partial class WebChat1999 : UserControl
|
||||
{
|
||||
public WebChat1999()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
120
Histacom2/OS/Win98/Win98Apps/WebChat1999.resx
Normal file
120
Histacom2/OS/Win98/Win98Apps/WebChat1999.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,6 +60,8 @@ void WinClassicWindowsExplorer_Load(object sender, EventArgs e)
|
|||
mainView.LargeImageList = new ImageList();
|
||||
mainView.LargeImageList.ImageSize = new Size(32, 32);
|
||||
|
||||
// Icons 17, 18, 19 reserved for exclusive apps
|
||||
|
||||
mainView.LargeImageList.Images.AddRange(new Bitmap[] { Properties.Resources.Win95Computer, // 0
|
||||
Properties.Resources.WinClassicFolder,
|
||||
Properties.Resources.WinClassicIE4,
|
||||
|
@ -77,7 +79,10 @@ void WinClassicWindowsExplorer_Load(object sender, EventArgs e)
|
|||
Properties.Resources.WinClassicNotepadBig,
|
||||
Properties.Resources.WinClassicRegedit, // 15
|
||||
Properties.Resources.WinClassicWordpad,
|
||||
Properties.Resources.WinClassicRtfFile});
|
||||
Properties.Resources.TimeDistorter1,
|
||||
Properties.Resources.WinClassicGTN,
|
||||
Properties.Resources.WinClassicFTP,
|
||||
Properties.Resources.WinClassicRtfFile}); //20
|
||||
|
||||
program.BringToFront();
|
||||
|
||||
|
|
Loading…
Reference in a new issue