diff options
Diffstat (limited to 'Histacom2.Engine/Template/WinXP.Designer.cs')
| -rw-r--r-- | Histacom2.Engine/Template/WinXP.Designer.cs | 42 |
1 files changed, 25 insertions, 17 deletions
diff --git a/Histacom2.Engine/Template/WinXP.Designer.cs b/Histacom2.Engine/Template/WinXP.Designer.cs index 0d1e060..3e1da44 100644 --- a/Histacom2.Engine/Template/WinXP.Designer.cs +++ b/Histacom2.Engine/Template/WinXP.Designer.cs @@ -30,8 +30,8 @@ { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WinXP)); this.program = new System.Windows.Forms.Panel(); - this.flowLayoutPanel1 = new System.Windows.Forms.Panel(); this.bottomleftcorner = new System.Windows.Forms.Panel(); + this.flowLayoutPanel1 = new System.Windows.Forms.Panel(); this.toprightcorner = new System.Windows.Forms.Panel(); this.bottomrightcorner = new System.Windows.Forms.Panel(); this.topleftcorner = new System.Windows.Forms.Panel(); @@ -55,8 +55,8 @@ // program // this.program.BackColor = System.Drawing.Color.OldLace; - this.program.Controls.Add(this.flowLayoutPanel1); this.program.Controls.Add(this.bottomleftcorner); + this.program.Controls.Add(this.flowLayoutPanel1); this.program.Controls.Add(this.toprightcorner); this.program.Controls.Add(this.bottomrightcorner); this.program.Controls.Add(this.topleftcorner); @@ -70,23 +70,24 @@ this.program.Size = new System.Drawing.Size(300, 300); this.program.TabIndex = 10; // - // flowLayoutPanel1 - // - this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.flowLayoutPanel1.Location = new System.Drawing.Point(4, 30); - this.flowLayoutPanel1.Name = "flowLayoutPanel1"; - this.flowLayoutPanel1.Size = new System.Drawing.Size(292, 266); - this.flowLayoutPanel1.TabIndex = 11; - // // bottomleftcorner // this.bottomleftcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.bottomleftcorner.BackgroundImage = global::Histacom2.Engine.Properties.Resources.WinXP_BottomLeft; + this.bottomleftcorner.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.bottomleftcorner.Location = new System.Drawing.Point(0, 296); this.bottomleftcorner.Name = "bottomleftcorner"; - this.bottomleftcorner.Size = new System.Drawing.Size(5, 4); + this.bottomleftcorner.Size = new System.Drawing.Size(4, 4); this.bottomleftcorner.TabIndex = 10; // + // flowLayoutPanel1 + // + this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.flowLayoutPanel1.Location = new System.Drawing.Point(4, 30); + this.flowLayoutPanel1.Name = "flowLayoutPanel1"; + this.flowLayoutPanel1.Size = new System.Drawing.Size(292, 266); + this.flowLayoutPanel1.TabIndex = 11; + // // toprightcorner // this.toprightcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); @@ -120,6 +121,7 @@ // bottom // this.bottom.BackgroundImage = global::Histacom2.Engine.Properties.Resources.WinXP_Bottom; + 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(4, 296); @@ -131,6 +133,7 @@ // this.top.BackColor = System.Drawing.Color.Transparent; this.top.BackgroundImage = global::Histacom2.Engine.Properties.Resources.WinXP_TopBar; + this.top.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.top.Controls.Add(this.programIcon); this.top.Controls.Add(this.maximizebutton); this.top.Controls.Add(this.minimizebutton); @@ -178,11 +181,11 @@ // this.programname.AutoSize = true; this.programname.BackColor = System.Drawing.Color.Transparent; - this.programname.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.programname.Font = new System.Drawing.Font("Trebuchet MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.programname.ForeColor = System.Drawing.Color.White; - this.programname.Location = new System.Drawing.Point(25, 8); + this.programname.Location = new System.Drawing.Point(25, 6); this.programname.Name = "programname"; - this.programname.Size = new System.Drawing.Size(99, 13); + this.programname.Size = new System.Drawing.Size(110, 18); this.programname.TabIndex = 3; this.programname.Text = "Application Title"; this.programname.MouseDown += new System.Windows.Forms.MouseEventHandler(this.top_MouseDown); @@ -197,6 +200,9 @@ this.closebutton.TabIndex = 4; this.closebutton.TabStop = false; this.closebutton.Click += new System.EventHandler(this.closebutton_Click); + this.closebutton.MouseDown += new System.Windows.Forms.MouseEventHandler(this.closebutton_MouseDown); + this.closebutton.MouseEnter += new System.EventHandler(this.closebutton_MouseEnter); + this.closebutton.MouseLeave += new System.EventHandler(this.closebutton_MouseLeave); // // right // @@ -221,11 +227,13 @@ // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.Magenta; this.ClientSize = new System.Drawing.Size(300, 300); this.Controls.Add(this.program); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "WinXP"; this.Text = "WinXP"; + this.TransparencyKey = System.Drawing.Color.Magenta; this.Load += new System.EventHandler(this.WinXP_Load); this.program.ResumeLayout(false); this.top.ResumeLayout(false); @@ -247,13 +255,13 @@ internal System.Windows.Forms.Panel topleftcorner; internal System.Windows.Forms.Panel bottom; internal System.Windows.Forms.Panel top; - 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 right; internal System.Windows.Forms.Panel left; public System.Windows.Forms.PictureBox programIcon; public System.Windows.Forms.Panel flowLayoutPanel1; + public System.Windows.Forms.PictureBox maximizebutton; + public System.Windows.Forms.PictureBox minimizebutton; + public System.Windows.Forms.PictureBox closebutton; } }
\ No newline at end of file |
