mirror of
https://github.com/HistacomUnity/Histacom2-old.git
synced 2025-01-22 09:02:01 -05:00
commit
79370328c5
5 changed files with 48 additions and 33 deletions
5
Histacom2.Engine/Template/AboutBox95.Designer.cs
generated
5
Histacom2.Engine/Template/AboutBox95.Designer.cs
generated
|
@ -100,7 +100,12 @@ private void InitializeComponent()
|
|||
//
|
||||
// classicButton1
|
||||
//
|
||||
this.classicButton1.AdaptBackColorWithTheme = true;
|
||||
this.classicButton1.AdaptFontWithTheme = true;
|
||||
this.classicButton1.AdaptForeColorWithTheme = true;
|
||||
this.classicButton1.BackColor = System.Drawing.Color.Silver;
|
||||
this.classicButton1.DialogResult = System.Windows.Forms.DialogResult.None;
|
||||
this.classicButton1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
||||
this.classicButton1.ForeColor = System.Drawing.Color.Black;
|
||||
this.classicButton1.Location = new System.Drawing.Point(251, 223);
|
||||
this.classicButton1.Name = "classicButton1";
|
||||
|
|
|
@ -9,6 +9,10 @@ public AboutBox95()
|
|||
{
|
||||
InitializeComponent();
|
||||
this.textBox2.Text = "This product is licensed to:\r\n" + Environment.UserName + "\r\n";
|
||||
textBox1.BackColor = SaveSystem.currentTheme.threeDObjectsColor;
|
||||
textBox2.BackColor = SaveSystem.currentTheme.threeDObjectsColor;
|
||||
textBox3.BackColor = SaveSystem.currentTheme.threeDObjectsColor;
|
||||
textBox4.BackColor = SaveSystem.currentTheme.threeDObjectsColor;
|
||||
}
|
||||
|
||||
private void classicButton1_Click(object sender, EventArgs e)
|
||||
|
|
19
Histacom2.Engine/Template/WinClassic.Designer.cs
generated
19
Histacom2.Engine/Template/WinClassic.Designer.cs
generated
|
@ -31,6 +31,7 @@ private void InitializeComponent()
|
|||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WinClassic));
|
||||
this.program = new System.Windows.Forms.Panel();
|
||||
this.programContent = new System.Windows.Forms.Panel();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.programtopbar = new System.Windows.Forms.Panel();
|
||||
this.programIcon = new System.Windows.Forms.PictureBox();
|
||||
this.maximizebutton = new System.Windows.Forms.PictureBox();
|
||||
|
@ -45,7 +46,6 @@ private void InitializeComponent()
|
|||
this.bottom = new System.Windows.Forms.Panel();
|
||||
this.right = new System.Windows.Forms.Panel();
|
||||
this.top = new System.Windows.Forms.Panel();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.program.SuspendLayout();
|
||||
this.programtopbar.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.programIcon)).BeginInit();
|
||||
|
@ -83,6 +83,14 @@ private void InitializeComponent()
|
|||
this.programContent.TabIndex = 9;
|
||||
this.programContent.ControlAdded += new System.Windows.Forms.ControlEventHandler(this.programContent_ControlAdded);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(4, 22);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(292, 1);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// programtopbar
|
||||
//
|
||||
this.programtopbar.BackColor = System.Drawing.Color.Navy;
|
||||
|
@ -130,6 +138,7 @@ private void InitializeComponent()
|
|||
this.minimizebutton.Size = new System.Drawing.Size(16, 14);
|
||||
this.minimizebutton.TabIndex = 5;
|
||||
this.minimizebutton.TabStop = false;
|
||||
this.minimizebutton.Click += new System.EventHandler(this.minimizebutton_Click);
|
||||
//
|
||||
// Title
|
||||
//
|
||||
|
@ -267,14 +276,6 @@ private void InitializeComponent()
|
|||
this.top.MouseMove += new System.Windows.Forms.MouseEventHandler(this.top_MouseMove);
|
||||
this.top.MouseUp += new System.Windows.Forms.MouseEventHandler(this.border_MouseUp);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(4, 22);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(292, 1);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// WinClassic
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
|
|
|
@ -339,6 +339,11 @@ private void bottomrightcorner_Paint(object sender, PaintEventArgs e)
|
|||
gfx.DrawLine(new Pen(_darkBack), 0, 2, 2, 2);
|
||||
}
|
||||
|
||||
private void minimizebutton_Click(object sender, EventArgs e)
|
||||
{
|
||||
Hide();
|
||||
}
|
||||
|
||||
public Size prevSize;
|
||||
public Point prevPoint;
|
||||
private void maximizebutton_Click(object sender, EventArgs e)
|
||||
|
|
|
@ -118,6 +118,30 @@
|
|||
<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="maximizebutton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAIAAACpTQvdAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAA+SURBVChTY/hP
|
||||
CmAAAiB1nzjQ0NCA0HDgwAEQBwcAygIBNTRAJNDAqAY0DbgAdg0EAUIDkEUkAGkgDTAwAACYPGiagsMD
|
||||
PwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="minimizebutton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAIAAACpTQvdAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAA5SURBVChTY/hP
|
||||
CmAAAiB1nzjQ0NCA0HCACDCqASqGF2DRAOKjAog4BFBDA36A0ABkEQlAGkgDDAwAKPmlWmNluNoAAAAA
|
||||
SUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="closebutton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAIAAACpTQvdAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAABcSURBVChTrY/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
|
||||
|
@ -172,30 +196,6 @@
|
|||
iVBORw0KGgoAAAANSUhEUgAAAAEAAAAECAIAAADAusJtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAVSURBVBhXYzh8
|
||||
/DTD////wfTh46cBUSgJ/bC/izUAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="maximizebutton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAIAAACpTQvdAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAA+SURBVChTY/hP
|
||||
CmAAAiB1nzjQ0NCA0HDgwAEQBwcAygIBNTRAJNDAqAY0DbgAdg0EAUIDkEUkAGkgDTAwAACYPGiagsMD
|
||||
PwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="minimizebutton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAIAAACpTQvdAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAA5SURBVChTY/hP
|
||||
CmAAAiB1nzjQ0NCA0HCACDCqASqGF2DRAOKjAog4BFBDA36A0ABkEQlAGkgDDAwAKPmlWmNluNoAAAAA
|
||||
SUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="closebutton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAIAAACpTQvdAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wgAADsIBFShKgAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAABcSURBVChTrY/R
|
||||
DcAgCERvdEbrJh2lPU+SYkINRt+PSN6J4FkBhMddw8y+wFUgCbQ70OtO7OQTJLgRa/L7JWmOt8RsB8mD
|
||||
TQ5NkFbeQcLwauzMdkjZCLAq0gJrAC8niIXaIK89FAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
Loading…
Reference in a new issue