--- trunk/NexusPowerControl/Form1.Designer.cs 2011/10/22 22:14:15 11 +++ trunk/NexusPowerControl/MainUI.Designer.cs 2011/10/22 23:15:43 13 @@ -1,6 +1,6 @@ namespace NexusPowerControl { - partial class Form1 + partial class MainUI { /// /// Required designer variable. @@ -28,7 +28,7 @@ /// private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainUI)); this.pic_main = new System.Windows.Forms.PictureBox(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.btnShutdown = new NexusPowerControl.ThemeButton(); @@ -46,6 +46,7 @@ this.pic_main.Dock = System.Windows.Forms.DockStyle.Fill; this.pic_main.Image = ((System.Drawing.Image)(resources.GetObject("pic_main.Image"))); this.pic_main.Location = new System.Drawing.Point(0, 0); + this.pic_main.Margin = new System.Windows.Forms.Padding(0); this.pic_main.Name = "pic_main"; this.pic_main.Size = new System.Drawing.Size(800, 223); this.pic_main.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; @@ -146,16 +147,25 @@ this.btnClose.ToolTipText = ""; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // - // Form1 + // MainUI // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 223); + this.ControlBox = false; this.Controls.Add(this.flowLayoutPanel1); this.Controls.Add(this.pic_main); - this.Name = "Form1"; + this.DoubleBuffered = true; + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.MaximizeBox = false; + this.Name = "MainUI"; this.Opacity = 0.98D; + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Form1"; + this.TopMost = true; this.TransparencyKey = System.Drawing.Color.Red; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.pic_main)).EndInit();