예제 #1
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TitleBar));
     this.titleBarImage   = new System.Windows.Forms.PictureBox();
     this.titleBarTitle   = new Terrarium.Metal.MetalLabel();
     this.backgroundPanel = new Terrarium.Metal.MetalPanel();
     this.panel1          = new System.Windows.Forms.Panel();
     this.minimizeButton  = new Terrarium.Metal.MetalButton();
     this.maximizeButton  = new Terrarium.Metal.MetalButton();
     this.closeButton     = new Terrarium.Metal.MetalButton();
     ((System.ComponentModel.ISupportInitialize)(this.titleBarImage)).BeginInit();
     this.backgroundPanel.SuspendLayout();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // titleBarImage
     //
     this.titleBarImage.BackColor    = System.Drawing.Color.Transparent;
     this.titleBarImage.Image        = ((System.Drawing.Image)(resources.GetObject("titleBarImage.Image")));
     this.titleBarImage.Location     = new System.Drawing.Point(8, 6);
     this.titleBarImage.Name         = "titleBarImage";
     this.titleBarImage.Size         = new System.Drawing.Size(16, 32);
     this.titleBarImage.TabIndex     = 4;
     this.titleBarImage.TabStop      = false;
     this.titleBarImage.DoubleClick += new System.EventHandler(this.backgroundPanel_DoubleClick);
     this.titleBarImage.MouseMove   += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseMove);
     this.titleBarImage.MouseUp     += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseUp);
     this.titleBarImage.MouseDown   += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseDown);
     //
     // titleBarTitle
     //
     this.titleBarTitle.BackColor    = System.Drawing.Color.Transparent;
     this.titleBarTitle.Font         = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.titleBarTitle.ForeColor    = System.Drawing.Color.White;
     this.titleBarTitle.Location     = new System.Drawing.Point(32, 3);
     this.titleBarTitle.Name         = "titleBarTitle";
     this.titleBarTitle.NoWrap       = false;
     this.titleBarTitle.Size         = new System.Drawing.Size(528, 24);
     this.titleBarTitle.TabIndex     = 3;
     this.titleBarTitle.Text         = "Form Title";
     this.titleBarTitle.TextAlign    = System.Drawing.ContentAlignment.MiddleLeft;
     this.titleBarTitle.DoubleClick += new System.EventHandler(this.backgroundPanel_DoubleClick);
     this.titleBarTitle.MouseMove   += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseMove);
     this.titleBarTitle.MouseUp     += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseUp);
     this.titleBarTitle.MouseDown   += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseDown);
     //
     // backgroundPanel
     //
     this.backgroundPanel.Borders = ((Terrarium.Metal.MetalBorders)((((Terrarium.Metal.MetalBorders.Left | Terrarium.Metal.MetalBorders.Top)
                                                                      | Terrarium.Metal.MetalBorders.Right)
                                                                     | Terrarium.Metal.MetalBorders.Bottom)));
     this.backgroundPanel.Controls.Add(this.panel1);
     this.backgroundPanel.Controls.Add(this.titleBarTitle);
     this.backgroundPanel.Controls.Add(this.titleBarImage);
     this.backgroundPanel.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.backgroundPanel.Gradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.backgroundPanel.Gradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.backgroundPanel.Location        = new System.Drawing.Point(0, 0);
     this.backgroundPanel.Name            = "backgroundPanel";
     this.backgroundPanel.Size            = new System.Drawing.Size(640, 32);
     this.backgroundPanel.Sunk            = false;
     this.backgroundPanel.TabIndex        = 8;
     this.backgroundPanel.UseStyles       = true;
     this.backgroundPanel.DoubleClick    += new System.EventHandler(this.backgroundPanel_DoubleClick);
     this.backgroundPanel.MouseLeave     += new System.EventHandler(this.backgroundPanel_MouseLeave);
     this.backgroundPanel.MouseMove      += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseMove);
     this.backgroundPanel.MouseUp        += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseUp);
     this.backgroundPanel.MouseDown      += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseDown);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Transparent;
     this.panel1.Controls.Add(this.minimizeButton);
     this.panel1.Controls.Add(this.maximizeButton);
     this.panel1.Controls.Add(this.closeButton);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panel1.Location = new System.Drawing.Point(544, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(96, 32);
     this.panel1.TabIndex = 6;
     //
     // minimizeButton
     //
     this.minimizeButton.Borders = ((Terrarium.Metal.MetalBorders)((((Terrarium.Metal.MetalBorders.Left | Terrarium.Metal.MetalBorders.Top)
                                                                     | Terrarium.Metal.MetalBorders.Right)
                                                                    | Terrarium.Metal.MetalBorders.Bottom)));
     this.minimizeButton.Depth = 3;
     this.minimizeButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.minimizeButton.DisabledGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.minimizeButton.Highlight = false;
     this.minimizeButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.minimizeButton.HighlightGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.minimizeButton.HoverGradient.Bottom     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.minimizeButton.HoverGradient.Top        = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.minimizeButton.Image                  = ((System.Drawing.Image)(resources.GetObject("minimizeButton.Image")));
     this.minimizeButton.InnerBorderColor       = System.Drawing.Color.Black;
     this.minimizeButton.IsRounded              = true;
     this.minimizeButton.Location               = new System.Drawing.Point(9, 1);
     this.minimizeButton.Name                   = "minimizeButton";
     this.minimizeButton.NormalGradient.Bottom  = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.minimizeButton.NormalGradient.Top     = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.minimizeButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.minimizeButton.PressedGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.minimizeButton.Size                   = new System.Drawing.Size(28, 28);
     this.minimizeButton.TabIndex               = 8;
     this.minimizeButton.TabStop                = false;
     this.minimizeButton.Click                 += new System.EventHandler(this.minimizeButton_Click);
     //
     // maximizeButton
     //
     this.maximizeButton.Borders = ((Terrarium.Metal.MetalBorders)((((Terrarium.Metal.MetalBorders.Left | Terrarium.Metal.MetalBorders.Top)
                                                                     | Terrarium.Metal.MetalBorders.Right)
                                                                    | Terrarium.Metal.MetalBorders.Bottom)));
     this.maximizeButton.Depth = 3;
     this.maximizeButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.maximizeButton.DisabledGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.maximizeButton.Highlight = false;
     this.maximizeButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.maximizeButton.HighlightGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.maximizeButton.HoverGradient.Bottom     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.maximizeButton.HoverGradient.Top        = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.maximizeButton.Image                  = ((System.Drawing.Image)(resources.GetObject("maximizeButton.Image")));
     this.maximizeButton.InnerBorderColor       = System.Drawing.Color.Black;
     this.maximizeButton.IsRounded              = true;
     this.maximizeButton.Location               = new System.Drawing.Point(35, 1);
     this.maximizeButton.Name                   = "maximizeButton";
     this.maximizeButton.NormalGradient.Bottom  = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.maximizeButton.NormalGradient.Top     = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.maximizeButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.maximizeButton.PressedGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.maximizeButton.Size                   = new System.Drawing.Size(28, 28);
     this.maximizeButton.TabIndex               = 7;
     this.maximizeButton.TabStop                = false;
     this.maximizeButton.Click                 += new System.EventHandler(this.maximizeButton_Click);
     //
     // closeButton
     //
     this.closeButton.Borders = ((Terrarium.Metal.MetalBorders)((((Terrarium.Metal.MetalBorders.Left | Terrarium.Metal.MetalBorders.Top)
                                                                  | Terrarium.Metal.MetalBorders.Right)
                                                                 | Terrarium.Metal.MetalBorders.Bottom)));
     this.closeButton.Depth = 3;
     this.closeButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.closeButton.DisabledGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.closeButton.Highlight = false;
     this.closeButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.closeButton.HighlightGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.closeButton.HoverGradient.Bottom     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.closeButton.HoverGradient.Top        = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.closeButton.Image                  = ((System.Drawing.Image)(resources.GetObject("closeButton.Image")));
     this.closeButton.InnerBorderColor       = System.Drawing.Color.Black;
     this.closeButton.IsRounded              = true;
     this.closeButton.Location               = new System.Drawing.Point(61, 1);
     this.closeButton.Name                   = "closeButton";
     this.closeButton.NormalGradient.Bottom  = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.closeButton.NormalGradient.Top     = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.closeButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.closeButton.PressedGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.closeButton.Size                   = new System.Drawing.Size(28, 28);
     this.closeButton.TabIndex               = 6;
     this.closeButton.TabStop                = false;
     this.closeButton.Click                 += new System.EventHandler(this.closeButton_Click);
     //
     // TitleBar
     //
     this.Controls.Add(this.backgroundPanel);
     this.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ForeColor = System.Drawing.Color.White;
     this.Name      = "TitleBar";
     this.Size      = new System.Drawing.Size(640, 32);
     ((System.ComponentModel.ISupportInitialize)(this.titleBarImage)).EndInit();
     this.backgroundPanel.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #2
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StatusBar));
     this.statusPanel = new Terrarium.Metal.MetalPanel();
     this.statisticsPanel = new Terrarium.Metal.MetalPanel();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.statisticsLabel = new Terrarium.Metal.MetalLabel();
     this.modePanel = new Terrarium.Metal.MetalPanel();
     this.modeLabel = new Terrarium.Metal.MetalLabel();
     this.modeImage = new System.Windows.Forms.PictureBox();
     this.ledPanel = new System.Windows.Forms.Panel();
     this.ledFour = new Terrarium.Forms.TerrariumLed();
     this.ledThree = new Terrarium.Forms.TerrariumLed();
     this.ledTwo = new Terrarium.Forms.TerrariumLed();
     this.ledOne = new Terrarium.Forms.TerrariumLed();
     this.statusPanel.SuspendLayout();
     this.statisticsPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.modePanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.modeImage)).BeginInit();
     this.ledPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // statusPanel
     //
     this.statusPanel.Borders = ((Terrarium.Metal.MetalBorders)(((Terrarium.Metal.MetalBorders.Left | Terrarium.Metal.MetalBorders.Right)
                 | Terrarium.Metal.MetalBorders.Bottom)));
     this.statusPanel.Controls.Add(this.statisticsPanel);
     this.statusPanel.Controls.Add(this.modePanel);
     this.statusPanel.Controls.Add(this.ledPanel);
     this.statusPanel.Dock = System.Windows.Forms.DockStyle.Top;
     this.statusPanel.Gradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.statusPanel.Gradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.statusPanel.Location = new System.Drawing.Point(0, 0);
     this.statusPanel.Name = "statusPanel";
     this.statusPanel.Size = new System.Drawing.Size(800, 16);
     this.statusPanel.Sunk = false;
     this.statusPanel.TabIndex = 5;
     this.statusPanel.UseStyles = true;
     //
     // statisticsPanel
     //
     this.statisticsPanel.Borders = ((Terrarium.Metal.MetalBorders)(((Terrarium.Metal.MetalBorders.Left | Terrarium.Metal.MetalBorders.Right)
                 | Terrarium.Metal.MetalBorders.Bottom)));
     this.statisticsPanel.Controls.Add(this.pictureBox1);
     this.statisticsPanel.Controls.Add(this.statisticsLabel);
     this.statisticsPanel.Gradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.statisticsPanel.Gradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.statisticsPanel.Location = new System.Drawing.Point(480, 0);
     this.statisticsPanel.Name = "statisticsPanel";
     this.statisticsPanel.Size = new System.Drawing.Size(296, 16);
     this.statisticsPanel.Sunk = true;
     this.statisticsPanel.TabIndex = 8;
     this.statisticsPanel.UseStyles = true;
     this.statisticsPanel.Resize += new System.EventHandler(this.statisticsPanel_Resize);
     //
     // pictureBox1
     //
     this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
     this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(4, 2);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(12, 12);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 10;
     this.pictureBox1.TabStop = false;
     //
     // statisticsLabel
     //
     this.statisticsLabel.BackColor = System.Drawing.Color.Transparent;
     this.statisticsLabel.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.statisticsLabel.ForeColor = System.Drawing.Color.White;
     this.statisticsLabel.Location = new System.Drawing.Point(24, 0);
     this.statisticsLabel.Name = "statisticsLabel";
     this.statisticsLabel.NoWrap = true;
     this.statisticsLabel.Size = new System.Drawing.Size(264, 16);
     this.statisticsLabel.TabIndex = 3;
     this.statisticsLabel.Text = "terrarium system statistics text";
     this.statisticsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // modePanel
     //
     this.modePanel.Borders = ((Terrarium.Metal.MetalBorders)(((Terrarium.Metal.MetalBorders.Left | Terrarium.Metal.MetalBorders.Right)
                 | Terrarium.Metal.MetalBorders.Bottom)));
     this.modePanel.Controls.Add(this.modeLabel);
     this.modePanel.Controls.Add(this.modeImage);
     this.modePanel.Gradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.modePanel.Gradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.modePanel.Location = new System.Drawing.Point(24, 0);
     this.modePanel.Name = "modePanel";
     this.modePanel.Size = new System.Drawing.Size(296, 16);
     this.modePanel.Sunk = true;
     this.modePanel.TabIndex = 7;
     this.modePanel.UseStyles = true;
     this.modePanel.Resize += new System.EventHandler(this.modePanel_Resize);
     //
     // modeLabel
     //
     this.modeLabel.BackColor = System.Drawing.Color.Transparent;
     this.modeLabel.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold);
     this.modeLabel.ForeColor = System.Drawing.Color.White;
     this.modeLabel.Location = new System.Drawing.Point(24, 0);
     this.modeLabel.Name = "modeLabel";
     this.modeLabel.NoWrap = true;
     this.modeLabel.Size = new System.Drawing.Size(264, 16);
     this.modeLabel.TabIndex = 10;
     this.modeLabel.Text = "Game Mode Stuff";
     this.modeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // modeImage
     //
     this.modeImage.BackColor = System.Drawing.Color.Transparent;
     this.modeImage.Image = ((System.Drawing.Image)(resources.GetObject("modeImage.Image")));
     this.modeImage.Location = new System.Drawing.Point(4, 2);
     this.modeImage.Name = "modeImage";
     this.modeImage.Size = new System.Drawing.Size(12, 12);
     this.modeImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.modeImage.TabIndex = 9;
     this.modeImage.TabStop = false;
     //
     // ledPanel
     //
     this.ledPanel.BackColor = System.Drawing.Color.Transparent;
     this.ledPanel.Controls.Add(this.ledFour);
     this.ledPanel.Controls.Add(this.ledThree);
     this.ledPanel.Controls.Add(this.ledTwo);
     this.ledPanel.Controls.Add(this.ledOne);
     this.ledPanel.Location = new System.Drawing.Point(360, 0);
     this.ledPanel.Name = "ledPanel";
     this.ledPanel.Size = new System.Drawing.Size(88, 16);
     this.ledPanel.TabIndex = 2;
     //
     // ledFour
     //
     this.ledFour.BackColor = System.Drawing.Color.Transparent;
     this.ledFour.BorderColor = System.Drawing.Color.Black;
     this.ledFour.Depth = 3;
     this.ledFour.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(96)))), ((int)(((byte)(0)))));
     this.ledFour.DisabledGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
     this.ledFour.Highlight = false;
     this.ledFour.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.ledFour.HighlightGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.ledFour.HoverGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.ledFour.HoverGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.ledFour.IsGlass = true;
     this.ledFour.LedName = "Received Peer-to-Peer Request";
     this.ledFour.LedState = Terrarium.Forms.LedStates.Idle;
     this.ledFour.Location = new System.Drawing.Point(72, 0);
     this.ledFour.Name = "ledFour";
     this.ledFour.NormalGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.ledFour.NormalGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.ledFour.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.ledFour.PressedGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.ledFour.Size = new System.Drawing.Size(16, 16);
     this.ledFour.TabIndex = 11;
     this.ledFour.TabStop = false;
     this.ledFour.UseStyles = false;
     this.ledFour.UseVisualStyleBackColor = false;
     //
     // ledThree
     //
     this.ledThree.BackColor = System.Drawing.Color.Transparent;
     this.ledThree.BorderColor = System.Drawing.Color.Black;
     this.ledThree.Depth = 3;
     this.ledThree.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(96)))), ((int)(((byte)(0)))));
     this.ledThree.DisabledGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
     this.ledThree.Highlight = false;
     this.ledThree.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.ledThree.HighlightGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.ledThree.HoverGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.ledThree.HoverGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.ledThree.IsGlass = true;
     this.ledThree.LedName = "Sent Peer-to-Peer Request";
     this.ledThree.LedState = Terrarium.Forms.LedStates.Idle;
     this.ledThree.Location = new System.Drawing.Point(48, 0);
     this.ledThree.Name = "ledThree";
     this.ledThree.NormalGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.ledThree.NormalGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.ledThree.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.ledThree.PressedGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.ledThree.Size = new System.Drawing.Size(16, 16);
     this.ledThree.TabIndex = 10;
     this.ledThree.TabStop = false;
     this.ledThree.UseStyles = false;
     this.ledThree.UseVisualStyleBackColor = false;
     //
     // ledTwo
     //
     this.ledTwo.BackColor = System.Drawing.Color.Transparent;
     this.ledTwo.BorderColor = System.Drawing.Color.Black;
     this.ledTwo.Depth = 3;
     this.ledTwo.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(96)))), ((int)(((byte)(0)))));
     this.ledTwo.DisabledGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
     this.ledTwo.Highlight = false;
     this.ledTwo.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.ledTwo.HighlightGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.ledTwo.HoverGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.ledTwo.HoverGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.ledTwo.IsGlass = true;
     this.ledTwo.LedName = "Peer-to-Peer Discovery Web Service";
     this.ledTwo.LedState = Terrarium.Forms.LedStates.Idle;
     this.ledTwo.Location = new System.Drawing.Point(24, 0);
     this.ledTwo.Name = "ledTwo";
     this.ledTwo.NormalGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.ledTwo.NormalGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.ledTwo.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.ledTwo.PressedGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.ledTwo.Size = new System.Drawing.Size(16, 16);
     this.ledTwo.TabIndex = 9;
     this.ledTwo.TabStop = false;
     this.ledTwo.UseStyles = false;
     this.ledTwo.UseVisualStyleBackColor = false;
     //
     // ledOne
     //
     this.ledOne.BackColor = System.Drawing.Color.Transparent;
     this.ledOne.BorderColor = System.Drawing.Color.Black;
     this.ledOne.Depth = 3;
     this.ledOne.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
     this.ledOne.DisabledGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
     this.ledOne.Highlight = false;
     this.ledOne.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.ledOne.HighlightGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.ledOne.HoverGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.ledOne.HoverGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.ledOne.IsGlass = true;
     this.ledOne.LedName = "Reporting Web Service";
     this.ledOne.LedState = Terrarium.Forms.LedStates.Failed;
     this.ledOne.Location = new System.Drawing.Point(0, 0);
     this.ledOne.Name = "ledOne";
     this.ledOne.NormalGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.ledOne.NormalGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.ledOne.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.ledOne.PressedGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.ledOne.Size = new System.Drawing.Size(16, 16);
     this.ledOne.TabIndex = 8;
     this.ledOne.TabStop = false;
     this.ledOne.UseStyles = false;
     this.ledOne.UseVisualStyleBackColor = false;
     //
     // StatusBar
     //
     this.Controls.Add(this.statusPanel);
     this.Name = "StatusBar";
     this.Size = new System.Drawing.Size(800, 16);
     this.Resize += new System.EventHandler(this.StatusBar_Resize);
     this.statusPanel.ResumeLayout(false);
     this.statisticsPanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.modePanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.modeImage)).EndInit();
     this.ledPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #3
0
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(StatusBar));
     this.statusPanel     = new Terrarium.Metal.MetalPanel();
     this.statisticsPanel = new Terrarium.Metal.MetalPanel();
     this.pictureBox1     = new System.Windows.Forms.PictureBox();
     this.statisticsLabel = new Terrarium.Metal.MetalLabel();
     this.modePanel       = new Terrarium.Metal.MetalPanel();
     this.modeLabel       = new Terrarium.Metal.MetalLabel();
     this.modeImage       = new System.Windows.Forms.PictureBox();
     this.ledPanel        = new System.Windows.Forms.Panel();
     this.ledFour         = new Terrarium.Forms.TerrariumLed();
     this.ledThree        = new Terrarium.Forms.TerrariumLed();
     this.ledTwo          = new Terrarium.Forms.TerrariumLed();
     this.ledOne          = new Terrarium.Forms.TerrariumLed();
     this.statusPanel.SuspendLayout();
     this.statisticsPanel.SuspendLayout();
     this.modePanel.SuspendLayout();
     this.ledPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // statusPanel
     //
     this.statusPanel.Borders = ((Terrarium.Metal.MetalBorders)((Terrarium.Metal.MetalBorders.LeftAndRight | Terrarium.Metal.MetalBorders.Bottom)));
     this.statusPanel.Controls.Add(this.statisticsPanel);
     this.statusPanel.Controls.Add(this.modePanel);
     this.statusPanel.Controls.Add(this.ledPanel);
     this.statusPanel.Dock            = System.Windows.Forms.DockStyle.Top;
     this.statusPanel.Gradient.Bottom = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.statusPanel.Gradient.Top    = System.Drawing.Color.FromArgb(((System.Byte)(96)), ((System.Byte)(96)), ((System.Byte)(96)));
     this.statusPanel.Location        = new System.Drawing.Point(0, 0);
     this.statusPanel.Name            = "statusPanel";
     this.statusPanel.Size            = new System.Drawing.Size(800, 16);
     this.statusPanel.Sunk            = false;
     this.statusPanel.TabIndex        = 5;
     this.statusPanel.UseStyles       = true;
     //
     // statisticsPanel
     //
     this.statisticsPanel.Borders = ((Terrarium.Metal.MetalBorders)((Terrarium.Metal.MetalBorders.LeftAndRight | Terrarium.Metal.MetalBorders.Bottom)));
     this.statisticsPanel.Controls.Add(this.pictureBox1);
     this.statisticsPanel.Controls.Add(this.statisticsLabel);
     this.statisticsPanel.Gradient.Bottom = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.statisticsPanel.Gradient.Top    = System.Drawing.Color.FromArgb(((System.Byte)(96)), ((System.Byte)(96)), ((System.Byte)(96)));
     this.statisticsPanel.Location        = new System.Drawing.Point(480, 0);
     this.statisticsPanel.Name            = "statisticsPanel";
     this.statisticsPanel.Size            = new System.Drawing.Size(296, 16);
     this.statisticsPanel.Sunk            = true;
     this.statisticsPanel.TabIndex        = 8;
     this.statisticsPanel.UseStyles       = true;
     this.statisticsPanel.Resize         += new System.EventHandler(this.statisticsPanel_Resize);
     //
     // pictureBox1
     //
     this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
     this.pictureBox1.Image     = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location  = new System.Drawing.Point(4, 2);
     this.pictureBox1.Name      = "pictureBox1";
     this.pictureBox1.Size      = new System.Drawing.Size(12, 12);
     this.pictureBox1.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex  = 10;
     this.pictureBox1.TabStop   = false;
     //
     // statisticsLabel
     //
     this.statisticsLabel.BackColor = System.Drawing.Color.Transparent;
     this.statisticsLabel.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.statisticsLabel.ForeColor = System.Drawing.Color.White;
     this.statisticsLabel.Location  = new System.Drawing.Point(24, 0);
     this.statisticsLabel.Name      = "statisticsLabel";
     this.statisticsLabel.NoWrap    = true;
     this.statisticsLabel.Size      = new System.Drawing.Size(264, 16);
     this.statisticsLabel.TabIndex  = 3;
     this.statisticsLabel.Text      = "terrarium system statistics text";
     this.statisticsLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // modePanel
     //
     this.modePanel.Borders = ((Terrarium.Metal.MetalBorders)((Terrarium.Metal.MetalBorders.LeftAndRight | Terrarium.Metal.MetalBorders.Bottom)));
     this.modePanel.Controls.Add(this.modeLabel);
     this.modePanel.Controls.Add(this.modeImage);
     this.modePanel.Gradient.Bottom = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.modePanel.Gradient.Top    = System.Drawing.Color.FromArgb(((System.Byte)(96)), ((System.Byte)(96)), ((System.Byte)(96)));
     this.modePanel.Location        = new System.Drawing.Point(24, 0);
     this.modePanel.Name            = "modePanel";
     this.modePanel.Size            = new System.Drawing.Size(296, 16);
     this.modePanel.Sunk            = true;
     this.modePanel.TabIndex        = 7;
     this.modePanel.UseStyles       = true;
     this.modePanel.Resize         += new System.EventHandler(this.modePanel_Resize);
     //
     // modeLabel
     //
     this.modeLabel.BackColor = System.Drawing.Color.Transparent;
     this.modeLabel.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold);
     this.modeLabel.ForeColor = System.Drawing.Color.White;
     this.modeLabel.Location  = new System.Drawing.Point(24, 0);
     this.modeLabel.Name      = "modeLabel";
     this.modeLabel.NoWrap    = true;
     this.modeLabel.Size      = new System.Drawing.Size(264, 16);
     this.modeLabel.TabIndex  = 10;
     this.modeLabel.Text      = "Game Mode Stuff";
     this.modeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // modeImage
     //
     this.modeImage.BackColor = System.Drawing.Color.Transparent;
     this.modeImage.Image     = ((System.Drawing.Image)(resources.GetObject("modeImage.Image")));
     this.modeImage.Location  = new System.Drawing.Point(4, 2);
     this.modeImage.Name      = "modeImage";
     this.modeImage.Size      = new System.Drawing.Size(12, 12);
     this.modeImage.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.modeImage.TabIndex  = 9;
     this.modeImage.TabStop   = false;
     //
     // ledPanel
     //
     this.ledPanel.BackColor = System.Drawing.Color.Transparent;
     this.ledPanel.Controls.Add(this.ledFour);
     this.ledPanel.Controls.Add(this.ledThree);
     this.ledPanel.Controls.Add(this.ledTwo);
     this.ledPanel.Controls.Add(this.ledOne);
     this.ledPanel.Location = new System.Drawing.Point(360, 0);
     this.ledPanel.Name     = "ledPanel";
     this.ledPanel.Size     = new System.Drawing.Size(88, 16);
     this.ledPanel.TabIndex = 2;
     //
     // ledFour
     //
     this.ledFour.Borders         = ((Terrarium.Metal.MetalBorders)((Terrarium.Metal.MetalBorders.LeftAndRight | Terrarium.Metal.MetalBorders.Bottom)));
     this.ledFour.Gradient.Bottom = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(96)), ((System.Byte)(0)));
     this.ledFour.Gradient.Top    = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(255)), ((System.Byte)(64)));
     this.ledFour.LedName         = "Received Peer-to-Peer Request";
     this.ledFour.LedState        = Terrarium.Forms.LedStates.Idle;
     this.ledFour.Location        = new System.Drawing.Point(72, 0);
     this.ledFour.Name            = "ledFour";
     this.ledFour.Size            = new System.Drawing.Size(16, 16);
     this.ledFour.Sunk            = false;
     this.ledFour.TabIndex        = 11;
     this.ledFour.UseStyles       = false;
     //
     // ledThree
     //
     this.ledThree.Borders         = ((Terrarium.Metal.MetalBorders)((Terrarium.Metal.MetalBorders.LeftAndRight | Terrarium.Metal.MetalBorders.Bottom)));
     this.ledThree.Gradient.Bottom = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(96)), ((System.Byte)(0)));
     this.ledThree.Gradient.Top    = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(255)), ((System.Byte)(64)));
     this.ledThree.LedName         = "Sent Peer-to-Peer Request";
     this.ledThree.LedState        = Terrarium.Forms.LedStates.Idle;
     this.ledThree.Location        = new System.Drawing.Point(48, 0);
     this.ledThree.Name            = "ledThree";
     this.ledThree.Size            = new System.Drawing.Size(16, 16);
     this.ledThree.Sunk            = false;
     this.ledThree.TabIndex        = 10;
     this.ledThree.UseStyles       = false;
     //
     // ledTwo
     //
     this.ledTwo.Borders         = ((Terrarium.Metal.MetalBorders)((Terrarium.Metal.MetalBorders.LeftAndRight | Terrarium.Metal.MetalBorders.Bottom)));
     this.ledTwo.Gradient.Bottom = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(96)), ((System.Byte)(0)));
     this.ledTwo.Gradient.Top    = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(255)), ((System.Byte)(64)));
     this.ledTwo.LedName         = "Peer-to-Peer Discovery Web Service";
     this.ledTwo.LedState        = Terrarium.Forms.LedStates.Idle;
     this.ledTwo.Location        = new System.Drawing.Point(24, 0);
     this.ledTwo.Name            = "ledTwo";
     this.ledTwo.Size            = new System.Drawing.Size(16, 16);
     this.ledTwo.Sunk            = false;
     this.ledTwo.TabIndex        = 9;
     this.ledTwo.UseStyles       = false;
     //
     // ledOne
     //
     this.ledOne.Borders         = ((Terrarium.Metal.MetalBorders)((Terrarium.Metal.MetalBorders.LeftAndRight | Terrarium.Metal.MetalBorders.Bottom)));
     this.ledOne.Gradient.Bottom = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(96)), ((System.Byte)(0)));
     this.ledOne.Gradient.Top    = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(255)), ((System.Byte)(64)));
     this.ledOne.LedName         = "Reporting Web Service";
     this.ledOne.LedState        = Terrarium.Forms.LedStates.Idle;
     this.ledOne.Location        = new System.Drawing.Point(0, 0);
     this.ledOne.Name            = "ledOne";
     this.ledOne.Size            = new System.Drawing.Size(16, 16);
     this.ledOne.Sunk            = false;
     this.ledOne.TabIndex        = 8;
     this.ledOne.UseStyles       = false;
     //
     // StatusBar
     //
     this.Controls.Add(this.statusPanel);
     this.Name    = "StatusBar";
     this.Size    = new System.Drawing.Size(800, 16);
     this.Resize += new System.EventHandler(this.StatusBar_Resize);
     this.statusPanel.ResumeLayout(false);
     this.statisticsPanel.ResumeLayout(false);
     this.modePanel.ResumeLayout(false);
     this.ledPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #4
0
		private void InitializeComponent()
		{
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TitleBar));
			this.titleBarImage = new System.Windows.Forms.PictureBox();
			this.titleBarTitle = new Terrarium.Metal.MetalLabel();
			this.backgroundPanel = new Terrarium.Metal.MetalPanel();
			this.panel1 = new System.Windows.Forms.Panel();
			this.minimizeButton = new Terrarium.Metal.MetalButton();
			this.maximizeButton = new Terrarium.Metal.MetalButton();
			this.closeButton = new Terrarium.Metal.MetalButton();
			((System.ComponentModel.ISupportInitialize)(this.titleBarImage)).BeginInit();
			this.backgroundPanel.SuspendLayout();
			this.panel1.SuspendLayout();
			this.SuspendLayout();
			// 
			// titleBarImage
			// 
			this.titleBarImage.BackColor = System.Drawing.Color.Transparent;
			this.titleBarImage.Image = ((System.Drawing.Image)(resources.GetObject("titleBarImage.Image")));
			this.titleBarImage.Location = new System.Drawing.Point(8, 6);
			this.titleBarImage.Name = "titleBarImage";
			this.titleBarImage.Size = new System.Drawing.Size(16, 32);
			this.titleBarImage.TabIndex = 4;
			this.titleBarImage.TabStop = false;
			this.titleBarImage.DoubleClick += new System.EventHandler(this.backgroundPanel_DoubleClick);
			this.titleBarImage.MouseMove += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseMove);
			this.titleBarImage.MouseUp += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseUp);
			this.titleBarImage.MouseDown += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseDown);
			// 
			// titleBarTitle
			// 
			this.titleBarTitle.BackColor = System.Drawing.Color.Transparent;
			this.titleBarTitle.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.titleBarTitle.ForeColor = System.Drawing.Color.White;
			this.titleBarTitle.Location = new System.Drawing.Point(32, 3);
			this.titleBarTitle.Name = "titleBarTitle";
			this.titleBarTitle.NoWrap = false;
			this.titleBarTitle.Size = new System.Drawing.Size(528, 24);
			this.titleBarTitle.TabIndex = 3;
			this.titleBarTitle.Text = "Form Title";
			this.titleBarTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			this.titleBarTitle.DoubleClick += new System.EventHandler(this.backgroundPanel_DoubleClick);
			this.titleBarTitle.MouseMove += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseMove);
			this.titleBarTitle.MouseUp += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseUp);
			this.titleBarTitle.MouseDown += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseDown);
			// 
			// backgroundPanel
			// 
			this.backgroundPanel.Borders = ((Terrarium.Metal.MetalBorders)((((Terrarium.Metal.MetalBorders.Left | Terrarium.Metal.MetalBorders.Top)
						| Terrarium.Metal.MetalBorders.Right)
						| Terrarium.Metal.MetalBorders.Bottom)));
			this.backgroundPanel.Controls.Add(this.panel1);
			this.backgroundPanel.Controls.Add(this.titleBarTitle);
			this.backgroundPanel.Controls.Add(this.titleBarImage);
			this.backgroundPanel.Dock = System.Windows.Forms.DockStyle.Fill;
			this.backgroundPanel.Gradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
			this.backgroundPanel.Gradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
			this.backgroundPanel.Location = new System.Drawing.Point(0, 0);
			this.backgroundPanel.Name = "backgroundPanel";
			this.backgroundPanel.Size = new System.Drawing.Size(640, 32);
			this.backgroundPanel.Sunk = false;
			this.backgroundPanel.TabIndex = 8;
			this.backgroundPanel.UseStyles = true;
			this.backgroundPanel.DoubleClick += new System.EventHandler(this.backgroundPanel_DoubleClick);
			this.backgroundPanel.MouseLeave += new System.EventHandler(this.backgroundPanel_MouseLeave);
			this.backgroundPanel.MouseMove += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseMove);
			this.backgroundPanel.MouseUp += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseUp);
			this.backgroundPanel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.backgroundPanel_MouseDown);
			// 
			// panel1
			// 
			this.panel1.BackColor = System.Drawing.Color.Transparent;
			this.panel1.Controls.Add(this.minimizeButton);
			this.panel1.Controls.Add(this.maximizeButton);
			this.panel1.Controls.Add(this.closeButton);
			this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
			this.panel1.Location = new System.Drawing.Point(544, 0);
			this.panel1.Name = "panel1";
			this.panel1.Size = new System.Drawing.Size(96, 32);
			this.panel1.TabIndex = 6;
			// 
			// minimizeButton
			// 
			this.minimizeButton.Borders = ((Terrarium.Metal.MetalBorders)((((Terrarium.Metal.MetalBorders.Left | Terrarium.Metal.MetalBorders.Top)
						| Terrarium.Metal.MetalBorders.Right)
						| Terrarium.Metal.MetalBorders.Bottom)));
			this.minimizeButton.Depth = 3;
			this.minimizeButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
			this.minimizeButton.DisabledGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
			this.minimizeButton.Highlight = false;
			this.minimizeButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
			this.minimizeButton.HighlightGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
			this.minimizeButton.HoverGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
			this.minimizeButton.HoverGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
			this.minimizeButton.Image = ((System.Drawing.Image)(resources.GetObject("minimizeButton.Image")));
			this.minimizeButton.InnerBorderColor = System.Drawing.Color.Black;
			this.minimizeButton.IsRounded = true;
			this.minimizeButton.Location = new System.Drawing.Point(9, 1);
			this.minimizeButton.Name = "minimizeButton";
			this.minimizeButton.NormalGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
			this.minimizeButton.NormalGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
			this.minimizeButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
			this.minimizeButton.PressedGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
			this.minimizeButton.Size = new System.Drawing.Size(28, 28);
			this.minimizeButton.TabIndex = 8;
			this.minimizeButton.TabStop = false;
			this.minimizeButton.Click += new System.EventHandler(this.minimizeButton_Click);
			// 
			// maximizeButton
			// 
			this.maximizeButton.Borders = ((Terrarium.Metal.MetalBorders)((((Terrarium.Metal.MetalBorders.Left | Terrarium.Metal.MetalBorders.Top)
						| Terrarium.Metal.MetalBorders.Right)
						| Terrarium.Metal.MetalBorders.Bottom)));
			this.maximizeButton.Depth = 3;
			this.maximizeButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
			this.maximizeButton.DisabledGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
			this.maximizeButton.Highlight = false;
			this.maximizeButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
			this.maximizeButton.HighlightGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
			this.maximizeButton.HoverGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
			this.maximizeButton.HoverGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
			this.maximizeButton.Image = ((System.Drawing.Image)(resources.GetObject("maximizeButton.Image")));
			this.maximizeButton.InnerBorderColor = System.Drawing.Color.Black;
			this.maximizeButton.IsRounded = true;
			this.maximizeButton.Location = new System.Drawing.Point(35, 1);
			this.maximizeButton.Name = "maximizeButton";
			this.maximizeButton.NormalGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
			this.maximizeButton.NormalGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
			this.maximizeButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
			this.maximizeButton.PressedGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
			this.maximizeButton.Size = new System.Drawing.Size(28, 28);
			this.maximizeButton.TabIndex = 7;
			this.maximizeButton.TabStop = false;
			this.maximizeButton.Click += new System.EventHandler(this.maximizeButton_Click);
			// 
			// closeButton
			// 
			this.closeButton.Borders = ((Terrarium.Metal.MetalBorders)((((Terrarium.Metal.MetalBorders.Left | Terrarium.Metal.MetalBorders.Top)
						| Terrarium.Metal.MetalBorders.Right)
						| Terrarium.Metal.MetalBorders.Bottom)));
			this.closeButton.Depth = 3;
			this.closeButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
			this.closeButton.DisabledGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
			this.closeButton.Highlight = false;
			this.closeButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
			this.closeButton.HighlightGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
			this.closeButton.HoverGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
			this.closeButton.HoverGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
			this.closeButton.Image = ((System.Drawing.Image)(resources.GetObject("closeButton.Image")));
			this.closeButton.InnerBorderColor = System.Drawing.Color.Black;
			this.closeButton.IsRounded = true;
			this.closeButton.Location = new System.Drawing.Point(61, 1);
			this.closeButton.Name = "closeButton";
			this.closeButton.NormalGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
			this.closeButton.NormalGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
			this.closeButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
			this.closeButton.PressedGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
			this.closeButton.Size = new System.Drawing.Size(28, 28);
			this.closeButton.TabIndex = 6;
			this.closeButton.TabStop = false;
			this.closeButton.Click += new System.EventHandler(this.closeButton_Click);
			// 
			// TitleBar
			// 
			this.Controls.Add(this.backgroundPanel);
			this.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.ForeColor = System.Drawing.Color.White;
			this.Name = "TitleBar";
			this.Size = new System.Drawing.Size(640, 32);
			((System.ComponentModel.ISupportInitialize)(this.titleBarImage)).EndInit();
			this.backgroundPanel.ResumeLayout(false);
			this.panel1.ResumeLayout(false);
			this.ResumeLayout(false);

        }