From 049491ca1cf569153eb8a5004a8a657292bf8f39 Mon Sep 17 00:00:00 2001 From: lempamo Date: Mon, 27 Mar 2017 10:53:12 -0400 Subject: added title bar font --- .../WinClassicForms/WinClassicIE4.Designer.cs | 2 +- TimeHACK.Main/WinClassicForms/WinClassicIE4.cs | 2 +- .../WinClassicInstaller.Designer.cs | 2 +- .../WinClassicForms/WinClassicInstaller.cs | 2 +- .../WinClassicForms/WinClassicTemplate.Designer.cs | 235 --------------------- .../WinClassicForms/WinClassicTemplate.cs | 12 -- .../WinClassicForms/WinClassicTemplate.resx | 163 -------------- 7 files changed, 4 insertions(+), 414 deletions(-) delete mode 100644 TimeHACK.Main/WinClassicForms/WinClassicTemplate.Designer.cs delete mode 100644 TimeHACK.Main/WinClassicForms/WinClassicTemplate.cs delete mode 100644 TimeHACK.Main/WinClassicForms/WinClassicTemplate.resx (limited to 'TimeHACK.Main/WinClassicForms') diff --git a/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs b/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs index 288ed7b..9b440f2 100644 --- a/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs +++ b/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs @@ -1,4 +1,4 @@ -namespace TimeHACK +namespace TimeHACK.WinClassicForms { partial class WinClassicIE4 { diff --git a/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs b/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs index e819238..a43bb7b 100644 --- a/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs +++ b/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs @@ -2,7 +2,7 @@ using System.Runtime.InteropServices; using System.Windows.Forms; -namespace TimeHACK +namespace TimeHACK.WinClassicForms { public partial class WinClassicIE4 : UserControl { diff --git a/TimeHACK.Main/WinClassicForms/WinClassicInstaller.Designer.cs b/TimeHACK.Main/WinClassicForms/WinClassicInstaller.Designer.cs index 0afe1c8..7f0fa09 100644 --- a/TimeHACK.Main/WinClassicForms/WinClassicInstaller.Designer.cs +++ b/TimeHACK.Main/WinClassicForms/WinClassicInstaller.Designer.cs @@ -1,4 +1,4 @@ -namespace TimeHACK.Engine +namespace TimeHACK.WinClassicForms { partial class WinClassicInstaller { diff --git a/TimeHACK.Main/WinClassicForms/WinClassicInstaller.cs b/TimeHACK.Main/WinClassicForms/WinClassicInstaller.cs index 11e5ba9..708ec51 100644 --- a/TimeHACK.Main/WinClassicForms/WinClassicInstaller.cs +++ b/TimeHACK.Main/WinClassicForms/WinClassicInstaller.cs @@ -8,7 +8,7 @@ using System.Text; using System.Threading.Tasks; using System.Windows.Forms; -namespace TimeHACK.Engine +namespace TimeHACK.WinClassicForms { public partial class WinClassicInstaller : UserControl { diff --git a/TimeHACK.Main/WinClassicForms/WinClassicTemplate.Designer.cs b/TimeHACK.Main/WinClassicForms/WinClassicTemplate.Designer.cs deleted file mode 100644 index 252c147..0000000 --- a/TimeHACK.Main/WinClassicForms/WinClassicTemplate.Designer.cs +++ /dev/null @@ -1,235 +0,0 @@ -namespace TimeHACK -{ - partial class WinClassicTemplate - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WinClassicTemplate)); - this.program = new System.Windows.Forms.Panel(); - this.programtopbar = new System.Windows.Forms.Panel(); - this.maximizebutton = new System.Windows.Forms.PictureBox(); - this.minimizebutton = new System.Windows.Forms.PictureBox(); - this.programname = 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.programtopbar.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.maximizebutton)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.minimizebutton)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.closebutton)).BeginInit(); - this.SuspendLayout(); - // - // program - // - this.program.BackColor = System.Drawing.Color.Silver; - 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(320, 240); - this.program.TabIndex = 7; - // - // programtopbar - // - this.programtopbar.BackColor = System.Drawing.Color.DarkBlue; - this.programtopbar.Controls.Add(this.maximizebutton); - this.programtopbar.Controls.Add(this.minimizebutton); - this.programtopbar.Controls.Add(this.programname); - 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(312, 18); - this.programtopbar.TabIndex = 0; - // - // maximizebutton - // - this.maximizebutton.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.maximizebutton.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicMax; - this.maximizebutton.Location = new System.Drawing.Point(277, 2); - this.maximizebutton.Name = "maximizebutton"; - this.maximizebutton.Size = new System.Drawing.Size(16, 14); - this.maximizebutton.TabIndex = 6; - this.maximizebutton.TabStop = false; - // - // minimizebutton - // - this.minimizebutton.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.minimizebutton.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicMin; - this.minimizebutton.Location = new System.Drawing.Point(261, 2); - this.minimizebutton.Name = "minimizebutton"; - this.minimizebutton.Size = new System.Drawing.Size(16, 14); - this.minimizebutton.TabIndex = 5; - this.minimizebutton.TabStop = false; - // - // programname - // - this.programname.AutoSize = true; - this.programname.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.programname.ForeColor = System.Drawing.Color.White; - this.programname.Location = new System.Drawing.Point(3, 2); - this.programname.Name = "programname"; - this.programname.Size = new System.Drawing.Size(59, 13); - this.programname.TabIndex = 3; - this.programname.Text = "Template"; - // - // closebutton - // - this.closebutton.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.closebutton.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicClose; - this.closebutton.Location = new System.Drawing.Point(295, 2); - this.closebutton.Name = "closebutton"; - this.closebutton.Size = new System.Drawing.Size(16, 14); - this.closebutton.TabIndex = 4; - this.closebutton.TabStop = false; - // - // 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(316, 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(316, 236); - 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, 236); - 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, 232); - this.left.TabIndex = 3; - // - // bottom - // - this.bottom.BackgroundImage = global::TimeHACK.Properties.Resources.BottomSide; - this.bottom.Cursor = System.Windows.Forms.Cursors.SizeNS; - this.bottom.Dock = System.Windows.Forms.DockStyle.Bottom; - this.bottom.Location = new System.Drawing.Point(0, 236); - this.bottom.Name = "bottom"; - this.bottom.Size = new System.Drawing.Size(316, 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(316, 4); - this.right.Name = "right"; - this.right.Size = new System.Drawing.Size(4, 236); - this.right.TabIndex = 7; - // - // top - // - this.top.BackgroundImage = global::TimeHACK.Properties.Resources.TopSide; - 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(320, 4); - this.top.TabIndex = 8; - // - // WinClassicTemplate - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(320, 240); - this.Controls.Add(this.program); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Name = "WinClassicTemplate"; - this.Text = "WinClassicTemplate"; - this.program.ResumeLayout(false); - this.programtopbar.ResumeLayout(false); - this.programtopbar.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.maximizebutton)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.minimizebutton)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.closebutton)).EndInit(); - this.ResumeLayout(false); - - } - - #endregion - - internal System.Windows.Forms.Panel program; - internal System.Windows.Forms.Panel programtopbar; - internal System.Windows.Forms.PictureBox maximizebutton; - internal System.Windows.Forms.PictureBox minimizebutton; - internal System.Windows.Forms.Label programname; - 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; - } -} \ No newline at end of file diff --git a/TimeHACK.Main/WinClassicForms/WinClassicTemplate.cs b/TimeHACK.Main/WinClassicForms/WinClassicTemplate.cs deleted file mode 100644 index 9152521..0000000 --- a/TimeHACK.Main/WinClassicForms/WinClassicTemplate.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.Windows.Forms; - -namespace TimeHACK -{ - public partial class WinClassicTemplate : Form - { - public WinClassicTemplate() - { - InitializeComponent(); - } - } -} diff --git a/TimeHACK.Main/WinClassicForms/WinClassicTemplate.resx b/TimeHACK.Main/WinClassicForms/WinClassicTemplate.resx deleted file mode 100644 index cd30725..0000000 --- a/TimeHACK.Main/WinClassicForms/WinClassicTemplate.resx +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8 - /DQEMQDBfzBo6+oDcSDCGBwGBgAJoRsoKGRD1QAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8 - /DQQtXX1MQABCgdIQRCIgwAMDABm/hFrLt/K7gAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8 - /PT///+BJBBhcNq6+iCIAQEYGACcHRsocGQwIQAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAaSURBVBhXYzh8 - /DQcgTj/YQDKQZEBcY6fBgAaSCiZEc9BxAAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAIAAAB2XpiaAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAUSURBVBhXYzh8 - /PT///+B5OHjpwFB1wn9nx9JYgAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAIAAAB2XpiaAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAUSURBVBhXYzh8 - /DQQtXX1MTAwAAA0WgZJrWm8iAAAAABJRU5ErkJggg== - - - \ No newline at end of file -- cgit v1.2.3