Esempio n. 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);
 }
Esempio n. 2
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);

        }