aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine
diff options
context:
space:
mode:
authorAShifter <[email protected]>2017-04-22 13:50:14 -0600
committerAShifter <[email protected]>2017-04-22 13:50:14 -0600
commite0b4f16b01728d772ec2c3907116e71b3957f473 (patch)
treed6f255e82abb086a11d8678827ac2eea94f1f6fe /TimeHACK.Engine
parent51177cd4c24b9b107726bdbae914d49f6b5fa7b5 (diff)
downloadhistacom2-e0b4f16b01728d772ec2c3907116e71b3957f473.tar.gz
histacom2-e0b4f16b01728d772ec2c3907116e71b3957f473.tar.bz2
histacom2-e0b4f16b01728d772ec2c3907116e71b3957f473.zip
Make Infobox95 use WinClassic Template
saving energy etc
Diffstat (limited to 'TimeHACK.Engine')
-rw-r--r--TimeHACK.Engine/Template/AboutBox95.cs8
-rw-r--r--TimeHACK.Engine/Template/Infobox95.Designer.cs186
-rw-r--r--TimeHACK.Engine/Template/Infobox95.cs39
-rw-r--r--TimeHACK.Engine/Template/Infobox95.resx65
-rw-r--r--TimeHACK.Engine/TimeHACK.Engine.csproj2
-rw-r--r--TimeHACK.Engine/WindowManager.cs7
-rw-r--r--TimeHACK.Engine/obj/Release/CoreCompileInputs.cache2
-rw-r--r--TimeHACK.Engine/obj/Release/DesignTimeResolveAssemblyReferencesInput.cachebin9298 -> 8959 bytes
8 files changed, 17 insertions, 292 deletions
diff --git a/TimeHACK.Engine/Template/AboutBox95.cs b/TimeHACK.Engine/Template/AboutBox95.cs
index 397eb4c..33c40e4 100644
--- a/TimeHACK.Engine/Template/AboutBox95.cs
+++ b/TimeHACK.Engine/Template/AboutBox95.cs
@@ -1,13 +1,5 @@
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;
-using System.Security.Principal;
namespace TimeHACK.Engine.Template
{
diff --git a/TimeHACK.Engine/Template/Infobox95.Designer.cs b/TimeHACK.Engine/Template/Infobox95.Designer.cs
index d15dea3..1e28883 100644
--- a/TimeHACK.Engine/Template/Infobox95.Designer.cs
+++ b/TimeHACK.Engine/Template/Infobox95.Designer.cs
@@ -28,61 +28,27 @@
/// </summary>
private void InitializeComponent()
{
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Infobox95));
- this.program = new System.Windows.Forms.Panel();
this.programContent = new System.Windows.Forms.Panel();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.panel1 = new System.Windows.Forms.Panel();
this.infoText = new System.Windows.Forms.Label();
this.ok = new System.Windows.Forms.Button();
- this.programtopbar = new System.Windows.Forms.Panel();
- this.Title = new System.Windows.Forms.Label();
- this.closebutton = new System.Windows.Forms.PictureBox();
- this.toprightcorner = new System.Windows.Forms.Panel();
- this.bottomrightcorner = new System.Windows.Forms.Panel();
- this.bottomleftcorner = new System.Windows.Forms.Panel();
- this.topleftcorner = new System.Windows.Forms.Panel();
- this.left = new System.Windows.Forms.Panel();
- this.bottom = new System.Windows.Forms.Panel();
- this.right = new System.Windows.Forms.Panel();
- this.top = new System.Windows.Forms.Panel();
- this.program.SuspendLayout();
this.programContent.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.panel1.SuspendLayout();
- this.programtopbar.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.closebutton)).BeginInit();
this.SuspendLayout();
//
- // program
- //
- this.program.BackColor = System.Drawing.Color.Silver;
- this.program.Controls.Add(this.programContent);
- this.program.Controls.Add(this.programtopbar);
- this.program.Controls.Add(this.toprightcorner);
- this.program.Controls.Add(this.bottomrightcorner);
- this.program.Controls.Add(this.bottomleftcorner);
- this.program.Controls.Add(this.topleftcorner);
- this.program.Controls.Add(this.left);
- this.program.Controls.Add(this.bottom);
- this.program.Controls.Add(this.right);
- this.program.Controls.Add(this.top);
- this.program.Dock = System.Windows.Forms.DockStyle.Fill;
- this.program.Location = new System.Drawing.Point(0, 0);
- this.program.Name = "program";
- this.program.Size = new System.Drawing.Size(421, 164);
- this.program.TabIndex = 9;
- //
// programContent
//
+ this.programContent.BackColor = System.Drawing.Color.Silver;
this.programContent.Controls.Add(this.pictureBox1);
this.programContent.Controls.Add(this.panel1);
this.programContent.Controls.Add(this.ok);
this.programContent.Dock = System.Windows.Forms.DockStyle.Fill;
- this.programContent.Location = new System.Drawing.Point(4, 22);
+ this.programContent.Location = new System.Drawing.Point(0, 0);
this.programContent.Name = "programContent";
- this.programContent.Size = new System.Drawing.Size(413, 138);
- this.programContent.TabIndex = 9;
+ this.programContent.Size = new System.Drawing.Size(421, 164);
+ this.programContent.TabIndex = 10;
//
// pictureBox1
//
@@ -100,7 +66,7 @@
this.panel1.Controls.Add(this.infoText);
this.panel1.Location = new System.Drawing.Point(57, 33);
this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(337, 62);
+ this.panel1.Size = new System.Drawing.Size(337, 96);
this.panel1.TabIndex = 2;
//
// infoText
@@ -119,165 +85,35 @@
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ok.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
- this.ok.Location = new System.Drawing.Point(169, 109);
+ this.ok.Location = new System.Drawing.Point(169, 135);
this.ok.Name = "ok";
- this.ok.Size = new System.Drawing.Size(75, 23);
+ this.ok.Size = new System.Drawing.Size(83, 23);
this.ok.TabIndex = 1;
this.ok.Text = "OK";
this.ok.UseVisualStyleBackColor = true;
this.ok.Click += new System.EventHandler(this.ok_Click);
- this.ok.Paint += new System.Windows.Forms.PaintEventHandler(this.closebutton_Paint);
- //
- // programtopbar
- //
- this.programtopbar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(170)))));
- this.programtopbar.Controls.Add(this.Title);
- this.programtopbar.Controls.Add(this.closebutton);
- this.programtopbar.Dock = System.Windows.Forms.DockStyle.Top;
- this.programtopbar.Location = new System.Drawing.Point(4, 4);
- this.programtopbar.Name = "programtopbar";
- this.programtopbar.Size = new System.Drawing.Size(413, 18);
- this.programtopbar.TabIndex = 0;
- this.programtopbar.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Programtopbar_drag);
- //
- // Title
- //
- this.Title.AutoSize = true;
- this.Title.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Title.ForeColor = System.Drawing.Color.White;
- this.Title.Location = new System.Drawing.Point(3, 3);
- this.Title.Name = "Title";
- this.Title.Size = new System.Drawing.Size(78, 13);
- this.Title.TabIndex = 3;
- this.Title.Text = "Infobox Title";
- this.Title.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Programtopbar_drag);
- //
- // closebutton
- //
- this.closebutton.Anchor = System.Windows.Forms.AnchorStyles.Right;
- this.closebutton.Image = ((System.Drawing.Image)(resources.GetObject("closebutton.Image")));
- this.closebutton.Location = new System.Drawing.Point(396, 2);
- this.closebutton.Name = "closebutton";
- this.closebutton.Size = new System.Drawing.Size(16, 14);
- this.closebutton.TabIndex = 4;
- this.closebutton.TabStop = false;
- this.closebutton.Click += new System.EventHandler(this.closebutton_Click);
- //
- // toprightcorner
- //
- this.toprightcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.toprightcorner.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("toprightcorner.BackgroundImage")));
- this.toprightcorner.Location = new System.Drawing.Point(417, 0);
- this.toprightcorner.Name = "toprightcorner";
- this.toprightcorner.Size = new System.Drawing.Size(4, 4);
- this.toprightcorner.TabIndex = 6;
- //
- // bottomrightcorner
- //
- this.bottomrightcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.bottomrightcorner.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bottomrightcorner.BackgroundImage")));
- this.bottomrightcorner.Cursor = System.Windows.Forms.Cursors.SizeNWSE;
- this.bottomrightcorner.Location = new System.Drawing.Point(417, 160);
- this.bottomrightcorner.Name = "bottomrightcorner";
- this.bottomrightcorner.Size = new System.Drawing.Size(4, 4);
- this.bottomrightcorner.TabIndex = 4;
- //
- // bottomleftcorner
- //
- this.bottomleftcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.bottomleftcorner.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bottomleftcorner.BackgroundImage")));
- this.bottomleftcorner.Location = new System.Drawing.Point(0, 160);
- this.bottomleftcorner.Name = "bottomleftcorner";
- this.bottomleftcorner.Size = new System.Drawing.Size(4, 4);
- this.bottomleftcorner.TabIndex = 2;
- //
- // topleftcorner
- //
- this.topleftcorner.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("topleftcorner.BackgroundImage")));
- this.topleftcorner.Location = new System.Drawing.Point(0, 0);
- this.topleftcorner.Name = "topleftcorner";
- this.topleftcorner.Size = new System.Drawing.Size(4, 4);
- this.topleftcorner.TabIndex = 1;
- //
- // left
- //
- this.left.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("left.BackgroundImage")));
- this.left.Dock = System.Windows.Forms.DockStyle.Left;
- this.left.Location = new System.Drawing.Point(0, 4);
- this.left.Name = "left";
- this.left.Size = new System.Drawing.Size(4, 156);
- this.left.TabIndex = 3;
- //
- // bottom
- //
- this.bottom.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bottom.BackgroundImage")));
- this.bottom.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.bottom.Cursor = System.Windows.Forms.Cursors.SizeNS;
- this.bottom.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.bottom.Location = new System.Drawing.Point(0, 160);
- this.bottom.Name = "bottom";
- this.bottom.Size = new System.Drawing.Size(417, 4);
- this.bottom.TabIndex = 5;
- //
- // right
- //
- this.right.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("right.BackgroundImage")));
- this.right.Cursor = System.Windows.Forms.Cursors.SizeWE;
- this.right.Dock = System.Windows.Forms.DockStyle.Right;
- this.right.Location = new System.Drawing.Point(417, 4);
- this.right.Name = "right";
- this.right.Size = new System.Drawing.Size(4, 160);
- this.right.TabIndex = 7;
- //
- // top
- //
- this.top.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("top.BackgroundImage")));
- this.top.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
- this.top.Dock = System.Windows.Forms.DockStyle.Top;
- this.top.Location = new System.Drawing.Point(0, 0);
- this.top.Name = "top";
- this.top.Size = new System.Drawing.Size(421, 4);
- this.top.TabIndex = 8;
//
// Infobox95
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(421, 164);
- this.Controls.Add(this.program);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
+ this.Controls.Add(this.programContent);
this.Name = "Infobox95";
- this.Text = "Infobox";
- this.program.ResumeLayout(false);
+ this.Size = new System.Drawing.Size(421, 164);
this.programContent.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
- this.programtopbar.ResumeLayout(false);
- this.programtopbar.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.closebutton)).EndInit();
this.ResumeLayout(false);
}
#endregion
- internal System.Windows.Forms.Panel program;
public System.Windows.Forms.Panel programContent;
- internal System.Windows.Forms.Panel programtopbar;
- internal System.Windows.Forms.Label Title;
- internal System.Windows.Forms.PictureBox closebutton;
- internal System.Windows.Forms.Panel toprightcorner;
- internal System.Windows.Forms.Panel bottomrightcorner;
- internal System.Windows.Forms.Panel bottomleftcorner;
- internal System.Windows.Forms.Panel topleftcorner;
- internal System.Windows.Forms.Panel left;
- internal System.Windows.Forms.Panel bottom;
- internal System.Windows.Forms.Panel right;
- internal System.Windows.Forms.Panel top;
- private System.Windows.Forms.Button ok;
+ private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Panel panel1;
public System.Windows.Forms.Label infoText;
- private System.Windows.Forms.PictureBox pictureBox1;
+ private System.Windows.Forms.Button ok;
}
} \ No newline at end of file
diff --git a/TimeHACK.Engine/Template/Infobox95.cs b/TimeHACK.Engine/Template/Infobox95.cs
index 69bbeda..e764e47 100644
--- a/TimeHACK.Engine/Template/Infobox95.cs
+++ b/TimeHACK.Engine/Template/Infobox95.cs
@@ -5,7 +5,7 @@ using System.Windows.Forms;
namespace TimeHACK.Engine.Template
{
- public partial class Infobox95 : Form
+ public partial class Infobox95 : UserControl
{
public Infobox95()
{
@@ -14,42 +14,7 @@ namespace TimeHACK.Engine.Template
private void ok_Click(object sender, EventArgs e)
{
- Close();
- }
-
- private void closebutton_Paint(object sender, PaintEventArgs e)
- {
- // Paint the StartMenu
- ControlPaint.DrawBorder(e.Graphics, ok.ClientRectangle,
- SystemColors.ControlLightLight, 2, ButtonBorderStyle.Outset,
- SystemColors.ControlLightLight, 2, ButtonBorderStyle.Outset,
- SystemColors.ControlLightLight, 2, ButtonBorderStyle.Outset,
- SystemColors.ControlLightLight, 2, ButtonBorderStyle.Outset);
- }
-
- public bool closeDisabled = false;
-
- public const int WM_NCLBUTTONDOWN = 0xA1;
- public const int HT_CAPTION = 0x2;
-
- [DllImportAttribute("user32.dll")]
- public static extern int SendMessage(IntPtr hWnd,
- int Msg, int wParam, int lParam);
- [DllImportAttribute("user32.dll")]
- public static extern bool ReleaseCapture();
-
- private void Programtopbar_drag(object sender, MouseEventArgs e)
- {
- if (e.Button == MouseButtons.Left)
- {
- ReleaseCapture();
- SendMessage(Handle, WM_NCLBUTTONDOWN, HT_CAPTION, 0);
- }
- }
-
- private void closebutton_Click(object sender, EventArgs e)
- {
- Close();
+ this.ParentForm.Close();
}
}
}
diff --git a/TimeHACK.Engine/Template/Infobox95.resx b/TimeHACK.Engine/Template/Infobox95.resx
index 7635350..1af7de1 100644
--- a/TimeHACK.Engine/Template/Infobox95.resx
+++ b/TimeHACK.Engine/Template/Infobox95.resx
@@ -117,69 +117,4 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
- <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- <data name="closebutton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>
- iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAIAAACpTQvdAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAABcSURBVChTrY/R
- DcAgCERvdEbrJh2lPU+SYkINRt+PSN6J4FkBhMddw8y+wFUgCbQ70OtO7OQTJLgRa/L7JWmOt8RsB8mD
- TQ5NkFbeQcLwauzMdkjZCLAq0gJrAC8niIXaIK89FAAAAABJRU5ErkJggg==
-</value>
- </data>
- <data name="toprightcorner.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>
- iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8
- /DQEMQDBfzBo6+oDcSDCGBwGBgAJoRsoKGRD1QAAAABJRU5ErkJggg==
-</value>
- </data>
- <data name="bottomrightcorner.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>
- iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8
- /DQQtXX1MQABCgdIQRCIgwAMDABm/hFrLt/K7gAAAABJRU5ErkJggg==
-</value>
- </data>
- <data name="bottomleftcorner.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>
- iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8
- /PT///+BJBBhcNq6+iCIAQEYGACcHRsocGQwIQAAAABJRU5ErkJggg==
-</value>
- </data>
- <data name="topleftcorner.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>
- iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAaSURBVBhXYzh8
- /DQcgTj/YQDKQZEBcY6fBgAaSCiZEc9BxAAAAABJRU5ErkJggg==
-</value>
- </data>
- <data name="left.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>
- iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAIAAAB2XpiaAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAUSURBVBhXYzh8
- /PT///+B5OHjpwFB1wn9nx9JYgAAAABJRU5ErkJggg==
-</value>
- </data>
- <data name="bottom.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>
- iVBORw0KGgoAAAANSUhEUgAAAAEAAAAECAIAAADAusJtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAVSURBVBhXYzh8
- /DQYt3X1MTAwMAAAQaQGSbsObiQAAAAASUVORK5CYII=
-</value>
- </data>
- <data name="right.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>
- iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAIAAAB2XpiaAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAUSURBVBhXYzh8
- /DQQtXX1MTAwAAA0WgZJrWm8iAAAAABJRU5ErkJggg==
-</value>
- </data>
- <data name="top.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>
- iVBORw0KGgoAAAANSUhEUgAAAAEAAAAECAIAAADAusJtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAVSURBVBhXYzh8
- /DTD////wfTh46cBUSgJ/bC/izUAAAAASUVORK5CYII=
-</value>
- </data>
</root> \ No newline at end of file
diff --git a/TimeHACK.Engine/TimeHACK.Engine.csproj b/TimeHACK.Engine/TimeHACK.Engine.csproj
index 2ca3c7c..2ec37f8 100644
--- a/TimeHACK.Engine/TimeHACK.Engine.csproj
+++ b/TimeHACK.Engine/TimeHACK.Engine.csproj
@@ -59,7 +59,7 @@
<DependentUpon>AboutBox95.cs</DependentUpon>
</Compile>
<Compile Include="Template\Infobox95.cs">
- <SubType>Form</SubType>
+ <SubType>UserControl</SubType>
</Compile>
<Compile Include="Template\Infobox95.Designer.cs">
<DependentUpon>Infobox95.cs</DependentUpon>
diff --git a/TimeHACK.Engine/WindowManager.cs b/TimeHACK.Engine/WindowManager.cs
index ceca43f..7a45011 100644
--- a/TimeHACK.Engine/WindowManager.cs
+++ b/TimeHACK.Engine/WindowManager.cs
@@ -59,14 +59,11 @@ namespace TimeHACK.Engine
return app;
}
- public Infobox95 startInfobox95(String title, String text, Image erroricon)
+ public WinClassic startInfobox95(String title, String text, Image erroricon)
{
Infobox95 app = new Infobox95();
- app.Title.Text = title;
- app.Text = title;
app.infoText.Text = text;
- app.Show();
- return app;
+ return startWin95(app, title, null, false, false);
}
public WinClassic startAboutBox95(String shortname, String longname, Image appicon)
diff --git a/TimeHACK.Engine/obj/Release/CoreCompileInputs.cache b/TimeHACK.Engine/obj/Release/CoreCompileInputs.cache
index a65a8e8..0fc4a9a 100644
--- a/TimeHACK.Engine/obj/Release/CoreCompileInputs.cache
+++ b/TimeHACK.Engine/obj/Release/CoreCompileInputs.cache
@@ -1 +1 @@
-cd6057942231e39fc4b025e097dd5d054a05c7b2
+c069a0dc9ee2cef4a9280ad4bae0f080a7205bc1
diff --git a/TimeHACK.Engine/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/TimeHACK.Engine/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
index 67f8a94..396008f 100644
--- a/TimeHACK.Engine/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
+++ b/TimeHACK.Engine/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
Binary files differ