transforming winxpbad from 98 to xp

This commit is contained in:
lempamo 2017-10-19 16:57:35 -04:00
parent 0a526e3e3b
commit be4b7bf58f
8 changed files with 73 additions and 27 deletions

View file

@ -650,6 +650,9 @@
<ItemGroup> <ItemGroup>
<Content Include="Icon128x.ico" /> <Content Include="Icon128x.ico" />
<Content Include="Resources\12padams_EULA.txt" /> <Content Include="Resources\12padams_EULA.txt" />
<None Include="Resources\WinClassic\WinXPTaskbarTime.png" />
<None Include="Resources\WinClassic\WinXPTaskbarStart.png" />
<None Include="Resources\WinClassic\WinXPTaskbarBG.png" />
<None Include="Resources\y1k86jqd.bmp" /> <None Include="Resources\y1k86jqd.bmp" />
<None Include="Resources\WinClassic\WinClassicWebchat.png" /> <None Include="Resources\WinClassic\WinClassicWebchat.png" />
<None Include="Resources\wordpad_find.png" /> <None Include="Resources\wordpad_find.png" />

View file

@ -31,7 +31,7 @@ protected override void Dispose(bool disposing)
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Windows98)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WindowsXPBad));
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel();
this.taskbar = new System.Windows.Forms.Panel(); this.taskbar = new System.Windows.Forms.Panel();
@ -141,24 +141,24 @@ private void InitializeComponent()
// taskbar // taskbar
// //
this.taskbar.BackColor = System.Drawing.Color.Silver; this.taskbar.BackColor = System.Drawing.Color.Silver;
this.taskbar.BackgroundImage = global::Histacom2.Properties.Resources.WinClassicTaskBar; this.taskbar.BackgroundImage = global::Histacom2.Properties.Resources.WinXPTaskbarBG;
this.taskbar.Controls.Add(this.clockPanel); this.taskbar.Controls.Add(this.clockPanel);
this.taskbar.Controls.Add(this.taskbarItems); this.taskbar.Controls.Add(this.taskbarItems);
this.taskbar.Controls.Add(this.startbutton); this.taskbar.Controls.Add(this.startbutton);
this.taskbar.Dock = System.Windows.Forms.DockStyle.Bottom; this.taskbar.Dock = System.Windows.Forms.DockStyle.Bottom;
this.taskbar.Location = new System.Drawing.Point(0, 452); this.taskbar.Location = new System.Drawing.Point(0, 450);
this.taskbar.Name = "taskbar"; this.taskbar.Name = "taskbar";
this.taskbar.Size = new System.Drawing.Size(640, 28); this.taskbar.Size = new System.Drawing.Size(640, 30);
this.taskbar.TabIndex = 2; this.taskbar.TabIndex = 2;
// //
// clockPanel // clockPanel
// //
this.clockPanel.BackgroundImage = global::Histacom2.Properties.Resources.WinClassicTime; this.clockPanel.BackgroundImage = global::Histacom2.Properties.Resources.WinXPTaskbarTime;
this.clockPanel.Controls.Add(this.taskbartime); this.clockPanel.Controls.Add(this.taskbartime);
this.clockPanel.Dock = System.Windows.Forms.DockStyle.Right; this.clockPanel.Dock = System.Windows.Forms.DockStyle.Right;
this.clockPanel.Location = new System.Drawing.Point(575, 0); this.clockPanel.Location = new System.Drawing.Point(575, 0);
this.clockPanel.Name = "clockPanel"; this.clockPanel.Name = "clockPanel";
this.clockPanel.Size = new System.Drawing.Size(65, 28); this.clockPanel.Size = new System.Drawing.Size(65, 30);
this.clockPanel.TabIndex = 4; this.clockPanel.TabIndex = 4;
// //
// taskbartime // taskbartime
@ -166,7 +166,8 @@ private void InitializeComponent()
this.taskbartime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.taskbartime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.taskbartime.AutoSize = true; this.taskbartime.AutoSize = true;
this.taskbartime.BackColor = System.Drawing.Color.Transparent; this.taskbartime.BackColor = System.Drawing.Color.Transparent;
this.taskbartime.Location = new System.Drawing.Point(10, 7); this.taskbartime.ForeColor = System.Drawing.Color.White;
this.taskbartime.Location = new System.Drawing.Point(18, 9);
this.taskbartime.Name = "taskbartime"; this.taskbartime.Name = "taskbartime";
this.taskbartime.Size = new System.Drawing.Size(26, 13); this.taskbartime.Size = new System.Drawing.Size(26, 13);
this.taskbartime.TabIndex = 2; this.taskbartime.TabIndex = 2;
@ -177,17 +178,17 @@ private void InitializeComponent()
// //
this.taskbarItems.BackColor = System.Drawing.Color.Transparent; this.taskbarItems.BackColor = System.Drawing.Color.Transparent;
this.taskbarItems.Cursor = System.Windows.Forms.Cursors.Default; this.taskbarItems.Cursor = System.Windows.Forms.Cursors.Default;
this.taskbarItems.Location = new System.Drawing.Point(63, 4); this.taskbarItems.Location = new System.Drawing.Point(105, 4);
this.taskbarItems.Name = "taskbarItems"; this.taskbarItems.Name = "taskbarItems";
this.taskbarItems.Size = new System.Drawing.Size(3648, 22); this.taskbarItems.Size = new System.Drawing.Size(3606, 22);
this.taskbarItems.TabIndex = 5; this.taskbarItems.TabIndex = 5;
// //
// startbutton // startbutton
// //
this.startbutton.Image = global::Histacom2.Properties.Resources.WinClassicStart; this.startbutton.Image = global::Histacom2.Properties.Resources.WinXPTaskbarStart;
this.startbutton.Location = new System.Drawing.Point(2, 4); this.startbutton.Location = new System.Drawing.Point(0, 0);
this.startbutton.Name = "startbutton"; this.startbutton.Name = "startbutton";
this.startbutton.Size = new System.Drawing.Size(54, 22); this.startbutton.Size = new System.Drawing.Size(99, 30);
this.startbutton.TabIndex = 3; this.startbutton.TabIndex = 3;
this.startbutton.TabStop = false; this.startbutton.TabStop = false;
this.startbutton.Click += new System.EventHandler(this.startbutton_Click); this.startbutton.Click += new System.EventHandler(this.startbutton_Click);
@ -704,7 +705,7 @@ private void InitializeComponent()
this.TimeDistorterToolStripMenuItem.Size = new System.Drawing.Size(181, 28); this.TimeDistorterToolStripMenuItem.Size = new System.Drawing.Size(181, 28);
this.TimeDistorterToolStripMenuItem.Text = "Time Distorter"; this.TimeDistorterToolStripMenuItem.Text = "Time Distorter";
this.TimeDistorterToolStripMenuItem.Visible = false; this.TimeDistorterToolStripMenuItem.Visible = false;
this.TimeDistorterToolStripMenuItem.Click += new System.EventHandler(TimeDistorterToolStripMenuItem_Click); this.TimeDistorterToolStripMenuItem.Click += new System.EventHandler(this.TimeDistorterToolStripMenuItem_Click);
// //
// DocumentsToolStripMenuItem // DocumentsToolStripMenuItem
// //
@ -769,7 +770,7 @@ private void InitializeComponent()
this.ControlPanelToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("ControlPanelToolStripMenuItem.BackgroundImage"))); this.ControlPanelToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("ControlPanelToolStripMenuItem.BackgroundImage")));
this.ControlPanelToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.ControlPanelToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.ControlPanelToolStripMenuItem.Name = "ControlPanelToolStripMenuItem"; this.ControlPanelToolStripMenuItem.Name = "ControlPanelToolStripMenuItem";
this.ControlPanelToolStripMenuItem.Size = new System.Drawing.Size(146, 22); this.ControlPanelToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.ControlPanelToolStripMenuItem.Text = "Control Panel"; this.ControlPanelToolStripMenuItem.Text = "Control Panel";
// //
// PrintersToolStripMenuItem // PrintersToolStripMenuItem
@ -778,7 +779,7 @@ private void InitializeComponent()
this.PrintersToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("PrintersToolStripMenuItem.BackgroundImage"))); this.PrintersToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("PrintersToolStripMenuItem.BackgroundImage")));
this.PrintersToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.PrintersToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.PrintersToolStripMenuItem.Name = "PrintersToolStripMenuItem"; this.PrintersToolStripMenuItem.Name = "PrintersToolStripMenuItem";
this.PrintersToolStripMenuItem.Size = new System.Drawing.Size(146, 22); this.PrintersToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.PrintersToolStripMenuItem.Text = "Printers"; this.PrintersToolStripMenuItem.Text = "Printers";
// //
// TaskbarToolStripMenuItem // TaskbarToolStripMenuItem
@ -787,7 +788,7 @@ private void InitializeComponent()
this.TaskbarToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("TaskbarToolStripMenuItem.BackgroundImage"))); this.TaskbarToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("TaskbarToolStripMenuItem.BackgroundImage")));
this.TaskbarToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.TaskbarToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.TaskbarToolStripMenuItem.Name = "TaskbarToolStripMenuItem"; this.TaskbarToolStripMenuItem.Name = "TaskbarToolStripMenuItem";
this.TaskbarToolStripMenuItem.Size = new System.Drawing.Size(146, 22); this.TaskbarToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.TaskbarToolStripMenuItem.Text = "Taskbar"; this.TaskbarToolStripMenuItem.Text = "Taskbar";
// //
// FindToolStripMenuItem // FindToolStripMenuItem
@ -934,7 +935,7 @@ private void InitializeComponent()
// desktopicons // desktopicons
// //
this.desktopicons.Alignment = System.Windows.Forms.ListViewAlignment.Left; this.desktopicons.Alignment = System.Windows.Forms.ListViewAlignment.Left;
this.desktopicons.BackColor = System.Drawing.Color.Teal; this.desktopicons.BackColor = System.Drawing.Color.DodgerBlue;
this.desktopicons.BackgroundImageTiled = true; this.desktopicons.BackgroundImageTiled = true;
this.desktopicons.BorderStyle = System.Windows.Forms.BorderStyle.None; this.desktopicons.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.desktopicons.Dock = System.Windows.Forms.DockStyle.Fill; this.desktopicons.Dock = System.Windows.Forms.DockStyle.Fill;
@ -1005,7 +1006,7 @@ private void InitializeComponent()
this.desktopupdate.Interval = 5000; this.desktopupdate.Interval = 5000;
this.desktopupdate.Tick += new System.EventHandler(this.desktopupdate_Tick); this.desktopupdate.Tick += new System.EventHandler(this.desktopupdate_Tick);
// //
// Windows98 // WindowsXPBad
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
@ -1017,7 +1018,7 @@ private void InitializeComponent()
this.Controls.Add(this.desktopicons); this.Controls.Add(this.desktopicons);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "Windows98"; this.Name = "WindowsXPBad";
this.Tag = "ignoreFormOnTaskbar"; this.Tag = "ignoreFormOnTaskbar";
this.Text = "Histacom2Desktop"; this.Text = "Histacom2Desktop";
this.Load += new System.EventHandler(this.Desktop_Load); this.Load += new System.EventHandler(this.Desktop_Load);

View file

@ -120,14 +120,10 @@
<metadata name="startmenuitems.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="startmenuitems.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<metadata name="startmenuitems.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="FindToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wAAADsABataJCQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw
4AAABIQCQUtXaBsAAAAASUVORK5CYII=
</value>
</data>
<data name="InternetConnectionWizardToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="InternetConnectionWizardToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAALRJREFUOE+N iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAALRJREFUOE+N
@ -341,6 +337,13 @@
iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wAAADsABataJCQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw wAAADsABataJCQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw
4AAABIQCQUtXaBsAAAAASUVORK5CYII= 4AAABIQCQUtXaBsAAAAASUVORK5CYII=
</value>
</data>
<data name="FindToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wAAADsABataJCQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw
4AAABIQCQUtXaBsAAAAASUVORK5CYII=
</value> </value>
</data> </data>
<data name="FilesOrFoldersToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="FilesOrFoldersToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@ -382,7 +385,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADq ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADq
ggAAAk1TRnQBSQFMAgEBDAEAAaABAQGgAQEBIAEAASABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAGA ggAAAk1TRnQBSQFMAgEBDAEAAcABAQHAAQEBIAEAASABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAGA
AwABgAMAAQEBAAEgBwABAf8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A AwABgAMAAQEBAAEgBwABAf8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A
/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A /wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A
/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8AXAAB/wMAAf8DAAH/AwAB/wMAAf8DAAH/AwAB/x8AAf8DAAH/ /wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8AXAAB/wMAAf8DAAH/AwAB/wMAAf8DAAH/AwAB/x8AAf8DAAH/

View file

@ -1960,4 +1960,13 @@
<data name="WinClassicInstallSidebar" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="WinClassicInstallSidebar" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\WinClassic\WinClassicInstallSidebar.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\WinClassic\WinClassicInstallSidebar.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="WinXPTaskbarBG" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\WinClassic\WinXPTaskbarBG.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="WinXPTaskbarStart" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\WinClassic\WinXPTaskbarStart.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="WinXPTaskbarTime" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\WinClassic\WinXPTaskbarTime.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root> </root>

View file

@ -2043,6 +2043,36 @@ public static byte[] windows_command_prompt {
} }
} }
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap WinXPTaskbarBG {
get {
object obj = ResourceManager.GetObject("WinXPTaskbarBG", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap WinXPTaskbarStart {
get {
object obj = ResourceManager.GetObject("WinXPTaskbarStart", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
public static System.Drawing.Bitmap WinXPTaskbarTime {
get {
object obj = ResourceManager.GetObject("WinXPTaskbarTime", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB