mirror of
https://github.com/HistacomUnity/Histacom2-old.git
synced 2025-01-22 09:02:01 -05:00
Make Infobox95 use WinClassic Template
saving energy etc
This commit is contained in:
parent
51177cd4c2
commit
e0b4f16b01
11 changed files with 17 additions and 292 deletions
Binary file not shown.
|
@ -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
|
||||
{
|
||||
|
|
186
TimeHACK.Engine/Template/Infobox95.Designer.cs
generated
186
TimeHACK.Engine/Template/Infobox95.Designer.cs
generated
|
@ -28,61 +28,27 @@ protected override void Dispose(bool disposing)
|
|||
/// </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 @@ private void InitializeComponent()
|
|||
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 @@ private void InitializeComponent()
|
|||
| 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;
|
||||
}
|
||||
}
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
namespace TimeHACK.Engine.Template
|
||||
{
|
||||
public partial class Infobox95 : Form
|
||||
public partial class Infobox95 : UserControl
|
||||
{
|
||||
public Infobox95()
|
||||
{
|
||||
|
@ -14,42 +14,7 @@ public Infobox95()
|
|||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
|
@ -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>
|
||||
|
|
|
@ -59,14 +59,11 @@ public WinClassic startWin95(UserControl content, String title, Image icon, Bool
|
|||
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)
|
||||
|
|
|
@ -1 +1 @@
|
|||
cd6057942231e39fc4b025e097dd5d054a05c7b2
|
||||
c069a0dc9ee2cef4a9280ad4bae0f080a7205bc1
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue