Пример #1
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.timerAutoRefresh = new System.Windows.Forms.Timer(this.components);
            this.closeButton = new Terrarium.Glass.GlassButton();
            this.refreshButton = new Terrarium.Glass.GlassButton();
            this.dataGrid1 = new System.Windows.Forms.DataGrid();
            this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle();
            this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
            this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
            this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
            this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn();
            this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn();
            this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn();
            this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn();
            this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn();
            this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn();
            this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
            this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn();
            this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn();
            this.resizeBar1 = new Terrarium.Forms.ResizeBar();
            this.bottomPanel.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
            this.SuspendLayout();
            // 
            // titleBar
            // 
            this.titleBar.Size = new System.Drawing.Size(434, 32);
            this.titleBar.Title = "Local Statistics";
            this.titleBar.CloseClicked += new System.EventHandler(this.CloseForm_Click);
            // 
            // bottomPanel
            // 
            this.bottomPanel.Controls.Add(this.resizeBar1);
            this.bottomPanel.Controls.Add(this.closeButton);
            this.bottomPanel.Controls.Add(this.refreshButton);
            this.bottomPanel.Gradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.bottomPanel.Gradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
            this.bottomPanel.Location = new System.Drawing.Point(0, 328);
            this.bottomPanel.Size = new System.Drawing.Size(434, 40);
            // 
            // timerAutoRefresh
            // 
            this.timerAutoRefresh.Enabled = true;
            this.timerAutoRefresh.Interval = 10000;
            this.timerAutoRefresh.Tick += new System.EventHandler(this.timerAutoRefresh_Tick);
            // 
            // closeButton
            // 
            this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.closeButton.BackColor = System.Drawing.Color.Transparent;
            this.closeButton.BorderColor = System.Drawing.Color.Black;
            this.closeButton.Depth = 4;
            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.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.closeButton.ForeColor = System.Drawing.Color.White;
            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.IsGlass = true;
            this.closeButton.Location = new System.Drawing.Point(338, 2);
            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(75, 36);
            this.closeButton.TabIndex = 11;
            this.closeButton.TabStop = false;
            this.closeButton.Text = "Close";
            this.closeButton.UseStyles = true;
            this.closeButton.UseVisualStyleBackColor = false;
            this.closeButton.Click += new System.EventHandler(this.CloseForm_Click);
            // 
            // refreshButton
            // 
            this.refreshButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.refreshButton.BackColor = System.Drawing.Color.Transparent;
            this.refreshButton.BorderColor = System.Drawing.Color.Black;
            this.refreshButton.Depth = 4;
            this.refreshButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            this.refreshButton.DisabledGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            this.refreshButton.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.refreshButton.ForeColor = System.Drawing.Color.White;
            this.refreshButton.Highlight = false;
            this.refreshButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
            this.refreshButton.HighlightGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
            this.refreshButton.HoverGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
            this.refreshButton.HoverGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
            this.refreshButton.IsGlass = true;
            this.refreshButton.Location = new System.Drawing.Point(257, 2);
            this.refreshButton.Name = "refreshButton";
            this.refreshButton.NormalGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.refreshButton.NormalGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
            this.refreshButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
            this.refreshButton.PressedGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
            this.refreshButton.Size = new System.Drawing.Size(75, 36);
            this.refreshButton.TabIndex = 10;
            this.refreshButton.TabStop = false;
            this.refreshButton.Text = "Refresh";
            this.refreshButton.UseStyles = true;
            this.refreshButton.UseVisualStyleBackColor = false;
            this.refreshButton.Click += new System.EventHandler(this.Refresh_Click);
            // 
            // dataGrid1
            // 
            this.dataGrid1.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
            this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.dataGrid1.BackgroundColor = System.Drawing.Color.Gray;
            this.dataGrid1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.dataGrid1.CaptionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.dataGrid1.CaptionForeColor = System.Drawing.Color.White;
            this.dataGrid1.CaptionVisible = false;
            this.dataGrid1.DataMember = "";
            this.dataGrid1.FlatMode = true;
            this.dataGrid1.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dataGrid1.ForeColor = System.Drawing.Color.Black;
            this.dataGrid1.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            this.dataGrid1.HeaderBackColor = System.Drawing.Color.Gray;
            this.dataGrid1.HeaderForeColor = System.Drawing.Color.White;
            this.dataGrid1.Location = new System.Drawing.Point(12, 81);
            this.dataGrid1.Name = "dataGrid1";
            this.dataGrid1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
            this.dataGrid1.Size = new System.Drawing.Size(410, 232);
            this.dataGrid1.TabIndex = 8;
            this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
            this.dataGridTableStyle1});
            // 
            // dataGridTableStyle1
            // 
            this.dataGridTableStyle1.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(216)))), ((int)(((byte)(216)))));
            this.dataGridTableStyle1.BackColor = System.Drawing.Color.White;
            this.dataGridTableStyle1.DataGrid = this.dataGrid1;
            this.dataGridTableStyle1.ForeColor = System.Drawing.Color.Black;
            this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
            this.dataGridTextBoxColumn2,
            this.dataGridTextBoxColumn3,
            this.dataGridTextBoxColumn4,
            this.dataGridTextBoxColumn5,
            this.dataGridTextBoxColumn10,
            this.dataGridTextBoxColumn6,
            this.dataGridTextBoxColumn9,
            this.dataGridTextBoxColumn7,
            this.dataGridTextBoxColumn8,
            this.dataGridTextBoxColumn1,
            this.dataGridTextBoxColumn12,
            this.dataGridTextBoxColumn11});
            this.dataGridTableStyle1.HeaderBackColor = System.Drawing.Color.Gray;
            this.dataGridTableStyle1.HeaderForeColor = System.Drawing.Color.White;
            this.dataGridTableStyle1.MappingName = "History";
            // 
            // dataGridTextBoxColumn2
            // 
            this.dataGridTextBoxColumn2.Format = "";
            this.dataGridTextBoxColumn2.FormatInfo = null;
            this.dataGridTextBoxColumn2.HeaderText = "Species";
            this.dataGridTextBoxColumn2.MappingName = "SpeciesName";
            this.dataGridTextBoxColumn2.ReadOnly = true;
            this.dataGridTextBoxColumn2.Width = 125;
            // 
            // dataGridTextBoxColumn3
            // 
            this.dataGridTextBoxColumn3.Format = "d";
            this.dataGridTextBoxColumn3.FormatInfo = null;
            this.dataGridTextBoxColumn3.HeaderText = "Population";
            this.dataGridTextBoxColumn3.MappingName = "Population";
            this.dataGridTextBoxColumn3.ReadOnly = true;
            this.dataGridTextBoxColumn3.Width = 75;
            // 
            // dataGridTextBoxColumn4
            // 
            this.dataGridTextBoxColumn4.Format = "d";
            this.dataGridTextBoxColumn4.FormatInfo = null;
            this.dataGridTextBoxColumn4.HeaderText = "Births";
            this.dataGridTextBoxColumn4.MappingName = "BirthCount";
            this.dataGridTextBoxColumn4.ReadOnly = true;
            this.dataGridTextBoxColumn4.Width = 50;
            // 
            // dataGridTextBoxColumn5
            // 
            this.dataGridTextBoxColumn5.Format = "d";
            this.dataGridTextBoxColumn5.FormatInfo = null;
            this.dataGridTextBoxColumn5.HeaderText = "Starved";
            this.dataGridTextBoxColumn5.MappingName = "StarvedCount";
            this.dataGridTextBoxColumn5.ReadOnly = true;
            this.dataGridTextBoxColumn5.Width = 75;
            // 
            // dataGridTextBoxColumn10
            // 
            this.dataGridTextBoxColumn10.Format = "d";
            this.dataGridTextBoxColumn10.FormatInfo = null;
            this.dataGridTextBoxColumn10.HeaderText = "Old Age";
            this.dataGridTextBoxColumn10.MappingName = "OldAgeCount";
            this.dataGridTextBoxColumn10.ReadOnly = true;
            this.dataGridTextBoxColumn10.Width = 75;
            // 
            // dataGridTextBoxColumn6
            // 
            this.dataGridTextBoxColumn6.Format = "d";
            this.dataGridTextBoxColumn6.FormatInfo = null;
            this.dataGridTextBoxColumn6.HeaderText = "Killed";
            this.dataGridTextBoxColumn6.MappingName = "KilledCount";
            this.dataGridTextBoxColumn6.ReadOnly = true;
            this.dataGridTextBoxColumn6.Width = 50;
            // 
            // dataGridTextBoxColumn9
            // 
            this.dataGridTextBoxColumn9.Format = "d";
            this.dataGridTextBoxColumn9.FormatInfo = null;
            this.dataGridTextBoxColumn9.HeaderText = "Sick";
            this.dataGridTextBoxColumn9.MappingName = "SickCount";
            this.dataGridTextBoxColumn9.ReadOnly = true;
            this.dataGridTextBoxColumn9.Width = 50;
            // 
            // dataGridTextBoxColumn7
            // 
            this.dataGridTextBoxColumn7.Format = "d";
            this.dataGridTextBoxColumn7.FormatInfo = null;
            this.dataGridTextBoxColumn7.HeaderText = "Errors";
            this.dataGridTextBoxColumn7.MappingName = "ErrorCount";
            this.dataGridTextBoxColumn7.ReadOnly = true;
            this.dataGridTextBoxColumn7.Width = 50;
            // 
            // dataGridTextBoxColumn8
            // 
            this.dataGridTextBoxColumn8.Format = "d";
            this.dataGridTextBoxColumn8.FormatInfo = null;
            this.dataGridTextBoxColumn8.HeaderText = "Timeouts";
            this.dataGridTextBoxColumn8.MappingName = "TimeoutCount";
            this.dataGridTextBoxColumn8.ReadOnly = true;
            this.dataGridTextBoxColumn8.Width = 50;
            // 
            // dataGridTextBoxColumn1
            // 
            this.dataGridTextBoxColumn1.Format = "d";
            this.dataGridTextBoxColumn1.FormatInfo = null;
            this.dataGridTextBoxColumn1.HeaderText = "Security Violations";
            this.dataGridTextBoxColumn1.MappingName = "SecurityViolationCount";
            this.dataGridTextBoxColumn1.ReadOnly = true;
            this.dataGridTextBoxColumn1.Width = 75;
            // 
            // dataGridTextBoxColumn12
            // 
            this.dataGridTextBoxColumn12.Format = "d";
            this.dataGridTextBoxColumn12.FormatInfo = null;
            this.dataGridTextBoxColumn12.HeaderText = "Teleported Here";
            this.dataGridTextBoxColumn12.MappingName = "TeleportedToCount";
            this.dataGridTextBoxColumn12.ReadOnly = true;
            this.dataGridTextBoxColumn12.Width = 75;
            // 
            // dataGridTextBoxColumn11
            // 
            this.dataGridTextBoxColumn11.Format = "d";
            this.dataGridTextBoxColumn11.FormatInfo = null;
            this.dataGridTextBoxColumn11.HeaderText = "Teleported Away";
            this.dataGridTextBoxColumn11.MappingName = "TeleportedFromCount";
            this.dataGridTextBoxColumn11.ReadOnly = true;
            this.dataGridTextBoxColumn11.Width = 75;
            // 
            // resizeBar1
            // 
            this.resizeBar1.BackColor = System.Drawing.Color.Black;
            this.resizeBar1.Dock = System.Windows.Forms.DockStyle.Right;
            this.resizeBar1.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.resizeBar1.ForeColor = System.Drawing.Color.White;
            this.resizeBar1.Location = new System.Drawing.Point(414, 0);
            this.resizeBar1.Name = "resizeBar1";
            this.resizeBar1.Size = new System.Drawing.Size(20, 40);
            this.resizeBar1.TabIndex = 12;
            // 
            // ReportStats
            // 
            this.BackColor = System.Drawing.Color.Black;
            this.ClientSize = new System.Drawing.Size(434, 368);
            this.Controls.Add(this.dataGrid1);
            this.Description = "Every statistic except population is only counted from the start of this terrariu" +
                "m session.  Population carries over between sessions.";
            this.Name = "ReportStats";
            this.Title = "Population Statistics";
            this.Controls.SetChildIndex(this.dataGrid1, 0);
            this.Controls.SetChildIndex(this.titleBar, 0);
            this.Controls.SetChildIndex(this.bottomPanel, 0);
            this.bottomPanel.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
            this.ResumeLayout(false);

		}
Пример #2
0
 private void InitializeComponent()
 {
     this.comboBox     = new System.Windows.Forms.ComboBox();
     this.propertyGrid = new System.Windows.Forms.PropertyGrid();
     this.closeButton  = new Terrarium.Glass.GlassButton();
     this.glassLabel1  = new Terrarium.Glass.GlassLabel();
     this._bottomPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // titleBar
     //
     this._titleBar.Size          = new System.Drawing.Size(392, 32);
     this._titleBar.Title         = "Creature Details";
     this._titleBar.CloseClicked += new System.EventHandler(this.CloseForm_Click);
     //
     // bottomPanel
     //
     this._bottomPanel.Controls.Add(this.closeButton);
     this._bottomPanel.Gradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this._bottomPanel.Gradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this._bottomPanel.Location        = new System.Drawing.Point(0, 376);
     this._bottomPanel.Size            = new System.Drawing.Size(392, 40);
     //
     // comboBox
     //
     this.comboBox.BackColor         = System.Drawing.SystemColors.Window;
     this.comboBox.DisplayMember     = "Text";
     this.comboBox.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox.Font              = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox.ForeColor         = System.Drawing.Color.Black;
     this.comboBox.FormattingEnabled = true;
     this.comboBox.Location          = new System.Drawing.Point(114, 75);
     this.comboBox.Name              = "comboBox";
     this.comboBox.Size              = new System.Drawing.Size(270, 20);
     this.comboBox.TabIndex          = 3;
     //
     // propertyGrid
     //
     this.propertyGrid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.propertyGrid.BackColor         = System.Drawing.Color.Gray;
     this.propertyGrid.CommandsBackColor = System.Drawing.Color.Gray;
     this.propertyGrid.Font           = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.propertyGrid.HelpBackColor  = System.Drawing.Color.Gray;
     this.propertyGrid.HelpVisible    = false;
     this.propertyGrid.LineColor      = System.Drawing.Color.Silver;
     this.propertyGrid.Location       = new System.Drawing.Point(8, 104);
     this.propertyGrid.Name           = "propertyGrid";
     this.propertyGrid.Size           = new System.Drawing.Size(376, 266);
     this.propertyGrid.TabIndex       = 10;
     this.propertyGrid.ToolbarVisible = false;
     this.propertyGrid.ViewBackColor  = System.Drawing.Color.Black;
     this.propertyGrid.ViewForeColor  = System.Drawing.Color.White;
     //
     // closeButton
     //
     this.closeButton.BackColor                = System.Drawing.Color.Transparent;
     this.closeButton.BorderColor              = System.Drawing.Color.Black;
     this.closeButton.Depth                    = 4;
     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.IsGlass                  = true;
     this.closeButton.Location                 = new System.Drawing.Point(305, 2);
     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(75, 36);
     this.closeButton.TabIndex  = 0;
     this.closeButton.TabStop   = false;
     this.closeButton.Text      = "Close";
     this.closeButton.UseStyles = true;
     this.closeButton.UseVisualStyleBackColor = false;
     this.closeButton.Click += new System.EventHandler(this.CloseForm_Click);
     //
     // glassLabel1
     //
     this.glassLabel1.BackColor = System.Drawing.Color.Transparent;
     this.glassLabel1.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold);
     this.glassLabel1.ForeColor = System.Drawing.Color.White;
     this.glassLabel1.Location  = new System.Drawing.Point(12, 78);
     this.glassLabel1.Name      = "glassLabel1";
     this.glassLabel1.NoWrap    = false;
     this.glassLabel1.Size      = new System.Drawing.Size(93, 17);
     this.glassLabel1.TabIndex  = 15;
     this.glassLabel1.Text      = "Select Organism:";
     //
     // PropertySheet
     //
     this.ClientSize = new System.Drawing.Size(392, 416);
     this.Controls.Add(this.glassLabel1);
     this.Controls.Add(this.propertyGrid);
     this.Controls.Add(this.comboBox);
     this.Description = "View the properties of the selected organisms";
     this.Name        = "PropertySheet";
     this.Title       = "Organism Properties";
     this.Closed     += new System.EventHandler(this.PropertySheet_Closed);
     this.Load       += new System.EventHandler(this.PropertySheet_Load);
     this.Controls.SetChildIndex(this._bottomPanel, 0);
     this.Controls.SetChildIndex(this._titleBar, 0);
     this.Controls.SetChildIndex(this.comboBox, 0);
     this.Controls.SetChildIndex(this.propertyGrid, 0);
     this.Controls.SetChildIndex(this.glassLabel1, 0);
     this._bottomPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #3
0
 private void InitializeComponent()
 {
     this.showTimings      = new System.Windows.Forms.CheckBox();
     this.showSystemTraces = new System.Windows.Forms.CheckBox();
     this.traceTextBox     = new System.Windows.Forms.TextBox();
     this.showTraces       = new System.Windows.Forms.CheckBox();
     this.GlassLabel1      = new Terrarium.Glass.GlassLabel();
     this.GlassLabel2      = new Terrarium.Glass.GlassLabel();
     this.GlassLabel3      = new Terrarium.Glass.GlassLabel();
     this.closeButton      = new Terrarium.Glass.GlassButton();
     this.glassLabel4      = new Terrarium.Glass.GlassLabel();
     this.glassLabel5      = new Terrarium.Glass.GlassLabel();
     this.glassLabel6      = new Terrarium.Glass.GlassLabel();
     this.resizeBar1       = new Terrarium.Forms.ResizeBar();
     this.bottomPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // titleBar
     //
     this.titleBar.Size          = new System.Drawing.Size(488, 32);
     this.titleBar.Title         = "Trace Window";
     this.titleBar.CloseClicked += new System.EventHandler(this.CloseForm_Click);
     //
     // bottomPanel
     //
     this.bottomPanel.Controls.Add(this.resizeBar1);
     this.bottomPanel.Controls.Add(this.closeButton);
     this.bottomPanel.Gradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.bottomPanel.Gradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.bottomPanel.Location        = new System.Drawing.Point(0, 352);
     this.bottomPanel.Size            = new System.Drawing.Size(488, 40);
     //
     // showTimings
     //
     this.showTimings.BackColor  = System.Drawing.Color.White;
     this.showTimings.CheckAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.showTimings.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.showTimings.Font       = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.showTimings.Location   = new System.Drawing.Point(136, 80);
     this.showTimings.Name       = "showTimings";
     this.showTimings.Size       = new System.Drawing.Size(13, 13);
     this.showTimings.TabIndex   = 1;
     this.showTimings.UseVisualStyleBackColor = false;
     //
     // showSystemTraces
     //
     this.showSystemTraces.BackColor  = System.Drawing.Color.White;
     this.showSystemTraces.CheckAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.showSystemTraces.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.showSystemTraces.Font       = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.showSystemTraces.Location   = new System.Drawing.Point(16, 80);
     this.showSystemTraces.Name       = "showSystemTraces";
     this.showSystemTraces.Size       = new System.Drawing.Size(13, 13);
     this.showSystemTraces.TabIndex   = 1;
     this.showSystemTraces.UseVisualStyleBackColor = false;
     //
     // traceTextBox
     //
     this.traceTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.traceTextBox.BackColor   = System.Drawing.Color.Black;
     this.traceTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.traceTextBox.Font        = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.traceTextBox.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.traceTextBox.Location    = new System.Drawing.Point(11, 104);
     this.traceTextBox.Multiline   = true;
     this.traceTextBox.Name        = "traceTextBox";
     this.traceTextBox.ReadOnly    = true;
     this.traceTextBox.ScrollBars  = System.Windows.Forms.ScrollBars.Both;
     this.traceTextBox.Size        = new System.Drawing.Size(469, 242);
     this.traceTextBox.TabIndex    = 0;
     this.traceTextBox.WordWrap    = false;
     //
     // showTraces
     //
     this.showTraces.BackColor  = System.Drawing.Color.White;
     this.showTraces.CheckAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.showTraces.Checked    = true;
     this.showTraces.CheckState = System.Windows.Forms.CheckState.Checked;
     this.showTraces.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.showTraces.Font       = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.showTraces.Location   = new System.Drawing.Point(256, 80);
     this.showTraces.Name       = "showTraces";
     this.showTraces.Size       = new System.Drawing.Size(13, 13);
     this.showTraces.TabIndex   = 2;
     this.showTraces.UseVisualStyleBackColor = false;
     this.showTraces.CheckedChanged         += new System.EventHandler(this.showTraces_CheckedChanged);
     //
     // GlassLabel1
     //
     this.GlassLabel1.AutoSize  = true;
     this.GlassLabel1.BackColor = System.Drawing.Color.Transparent;
     this.GlassLabel1.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold);
     this.GlassLabel1.ForeColor = System.Drawing.Color.White;
     this.GlassLabel1.Location  = new System.Drawing.Point(32, 56);
     this.GlassLabel1.Name      = "GlassLabel1";
     this.GlassLabel1.NoWrap    = false;
     this.GlassLabel1.Size      = new System.Drawing.Size(80, 14);
     this.GlassLabel1.TabIndex  = 2;
     this.GlassLabel1.Text      = "System Events";
     //
     // GlassLabel2
     //
     this.GlassLabel2.AutoSize  = true;
     this.GlassLabel2.BackColor = System.Drawing.Color.Transparent;
     this.GlassLabel2.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold);
     this.GlassLabel2.ForeColor = System.Drawing.Color.White;
     this.GlassLabel2.Location  = new System.Drawing.Point(152, 56);
     this.GlassLabel2.Name      = "GlassLabel2";
     this.GlassLabel2.NoWrap    = false;
     this.GlassLabel2.Size      = new System.Drawing.Size(83, 14);
     this.GlassLabel2.TabIndex  = 3;
     this.GlassLabel2.Text      = "Engine Timings";
     //
     // GlassLabel3
     //
     this.GlassLabel3.AutoSize  = true;
     this.GlassLabel3.BackColor = System.Drawing.Color.Transparent;
     this.GlassLabel3.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold);
     this.GlassLabel3.ForeColor = System.Drawing.Color.White;
     this.GlassLabel3.Location  = new System.Drawing.Point(272, 56);
     this.GlassLabel3.Name      = "GlassLabel3";
     this.GlassLabel3.NoWrap    = false;
     this.GlassLabel3.Size      = new System.Drawing.Size(86, 14);
     this.GlassLabel3.TabIndex  = 4;
     this.GlassLabel3.Text      = "Creature Traces";
     //
     // closeButton
     //
     this.closeButton.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.closeButton.BackColor               = System.Drawing.Color.Transparent;
     this.closeButton.BorderColor             = System.Drawing.Color.Black;
     this.closeButton.Depth                   = 4;
     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.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.closeButton.ForeColor = System.Drawing.Color.White;
     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.IsGlass  = true;
     this.closeButton.Location = new System.Drawing.Point(387, 2);
     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(75, 36);
     this.closeButton.TabIndex  = 16;
     this.closeButton.TabStop   = false;
     this.closeButton.Text      = "Close";
     this.closeButton.UseStyles = true;
     this.closeButton.UseVisualStyleBackColor = false;
     this.closeButton.Click += new System.EventHandler(this.CloseForm_Click);
     //
     // glassLabel4
     //
     this.glassLabel4.BackColor = System.Drawing.Color.Transparent;
     this.glassLabel4.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold);
     this.glassLabel4.ForeColor = System.Drawing.Color.White;
     this.glassLabel4.Location  = new System.Drawing.Point(35, 80);
     this.glassLabel4.Name      = "glassLabel4";
     this.glassLabel4.NoWrap    = false;
     this.glassLabel4.Size      = new System.Drawing.Size(83, 17);
     this.glassLabel4.TabIndex  = 15;
     this.glassLabel4.Text      = "System Events";
     //
     // glassLabel5
     //
     this.glassLabel5.BackColor = System.Drawing.Color.Transparent;
     this.glassLabel5.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold);
     this.glassLabel5.ForeColor = System.Drawing.Color.White;
     this.glassLabel5.Location  = new System.Drawing.Point(155, 80);
     this.glassLabel5.Name      = "glassLabel5";
     this.glassLabel5.NoWrap    = false;
     this.glassLabel5.Size      = new System.Drawing.Size(83, 17);
     this.glassLabel5.TabIndex  = 16;
     this.glassLabel5.Text      = "Engine Timings";
     //
     // glassLabel6
     //
     this.glassLabel6.BackColor = System.Drawing.Color.Transparent;
     this.glassLabel6.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold);
     this.glassLabel6.ForeColor = System.Drawing.Color.White;
     this.glassLabel6.Location  = new System.Drawing.Point(275, 80);
     this.glassLabel6.Name      = "glassLabel6";
     this.glassLabel6.NoWrap    = false;
     this.glassLabel6.Size      = new System.Drawing.Size(108, 17);
     this.glassLabel6.TabIndex  = 17;
     this.glassLabel6.Text      = "Creature Traces";
     //
     // resizeBar1
     //
     this.resizeBar1.BackColor = System.Drawing.Color.Black;
     this.resizeBar1.Dock      = System.Windows.Forms.DockStyle.Right;
     this.resizeBar1.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.resizeBar1.ForeColor = System.Drawing.Color.White;
     this.resizeBar1.Location  = new System.Drawing.Point(468, 0);
     this.resizeBar1.Name      = "resizeBar1";
     this.resizeBar1.Size      = new System.Drawing.Size(20, 40);
     this.resizeBar1.TabIndex  = 17;
     //
     // TraceWindow
     //
     this.BackColor  = System.Drawing.Color.Peru;
     this.ClientSize = new System.Drawing.Size(488, 392);
     this.Controls.Add(this.glassLabel6);
     this.Controls.Add(this.glassLabel5);
     this.Controls.Add(this.glassLabel4);
     this.Controls.Add(this.traceTextBox);
     this.Controls.Add(this.showTraces);
     this.Controls.Add(this.showTimings);
     this.Controls.Add(this.showSystemTraces);
     this.Description = "Use this to view organism trace messages and various engine trace messages";
     this.Name        = "TraceWindow";
     this.Title       = "Trace Window";
     this.Closing    += new System.ComponentModel.CancelEventHandler(this.Form_Closing);
     this.Load       += new System.EventHandler(this.Form_Load);
     this.Controls.SetChildIndex(this.bottomPanel, 0);
     this.Controls.SetChildIndex(this.titleBar, 0);
     this.Controls.SetChildIndex(this.showSystemTraces, 0);
     this.Controls.SetChildIndex(this.showTimings, 0);
     this.Controls.SetChildIndex(this.showTraces, 0);
     this.Controls.SetChildIndex(this.traceTextBox, 0);
     this.Controls.SetChildIndex(this.glassLabel4, 0);
     this.Controls.SetChildIndex(this.glassLabel5, 0);
     this.Controls.SetChildIndex(this.glassLabel6, 0);
     this.bottomPanel.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components              = new System.ComponentModel.Container();
     this.timerAutoRefresh        = new System.Windows.Forms.Timer(this.components);
     this.closeButton             = new Terrarium.Glass.GlassButton();
     this.refreshButton           = new Terrarium.Glass.GlassButton();
     this.dataGrid1               = new System.Windows.Forms.DataGrid();
     this.dataGridTableStyle1     = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn2  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn3  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn4  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn5  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn6  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn9  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn7  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn8  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn1  = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.resizeBar1              = new Terrarium.Forms.ResizeBar();
     this.bottomPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // titleBar
     //
     this.titleBar.Size          = new System.Drawing.Size(434, 32);
     this.titleBar.Title         = "Local Statistics";
     this.titleBar.CloseClicked += new System.EventHandler(this.CloseForm_Click);
     //
     // bottomPanel
     //
     this.bottomPanel.Controls.Add(this.resizeBar1);
     this.bottomPanel.Controls.Add(this.closeButton);
     this.bottomPanel.Controls.Add(this.refreshButton);
     this.bottomPanel.Gradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.bottomPanel.Gradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.bottomPanel.Location        = new System.Drawing.Point(0, 328);
     this.bottomPanel.Size            = new System.Drawing.Size(434, 40);
     //
     // timerAutoRefresh
     //
     this.timerAutoRefresh.Enabled  = true;
     this.timerAutoRefresh.Interval = 10000;
     this.timerAutoRefresh.Tick    += new System.EventHandler(this.timerAutoRefresh_Tick);
     //
     // closeButton
     //
     this.closeButton.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.closeButton.BackColor               = System.Drawing.Color.Transparent;
     this.closeButton.BorderColor             = System.Drawing.Color.Black;
     this.closeButton.Depth                   = 4;
     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.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.closeButton.ForeColor = System.Drawing.Color.White;
     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.IsGlass  = true;
     this.closeButton.Location = new System.Drawing.Point(338, 2);
     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(75, 36);
     this.closeButton.TabIndex  = 11;
     this.closeButton.TabStop   = false;
     this.closeButton.Text      = "Close";
     this.closeButton.UseStyles = true;
     this.closeButton.UseVisualStyleBackColor = false;
     this.closeButton.Click += new System.EventHandler(this.CloseForm_Click);
     //
     // refreshButton
     //
     this.refreshButton.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.refreshButton.BackColor               = System.Drawing.Color.Transparent;
     this.refreshButton.BorderColor             = System.Drawing.Color.Black;
     this.refreshButton.Depth                   = 4;
     this.refreshButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.refreshButton.DisabledGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.refreshButton.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.refreshButton.ForeColor = System.Drawing.Color.White;
     this.refreshButton.Highlight = false;
     this.refreshButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.refreshButton.HighlightGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.refreshButton.HoverGradient.Bottom     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.refreshButton.HoverGradient.Top        = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.refreshButton.IsGlass  = true;
     this.refreshButton.Location = new System.Drawing.Point(257, 2);
     this.refreshButton.Name     = "refreshButton";
     this.refreshButton.NormalGradient.Bottom  = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.refreshButton.NormalGradient.Top     = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.refreshButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.refreshButton.PressedGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.refreshButton.Size      = new System.Drawing.Size(75, 36);
     this.refreshButton.TabIndex  = 10;
     this.refreshButton.TabStop   = false;
     this.refreshButton.Text      = "Refresh";
     this.refreshButton.UseStyles = true;
     this.refreshButton.UseVisualStyleBackColor = false;
     this.refreshButton.Click += new System.EventHandler(this.Refresh_Click);
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGrid1.BackgroundColor    = System.Drawing.Color.Gray;
     this.dataGrid1.BorderStyle        = System.Windows.Forms.BorderStyle.FixedSingle;
     this.dataGrid1.CaptionBackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.dataGrid1.CaptionForeColor   = System.Drawing.Color.White;
     this.dataGrid1.CaptionVisible     = false;
     this.dataGrid1.DataMember         = "";
     this.dataGrid1.FlatMode           = true;
     this.dataGrid1.Font               = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor          = System.Drawing.Color.Black;
     this.dataGrid1.GridLineColor      = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.dataGrid1.HeaderBackColor    = System.Drawing.Color.Gray;
     this.dataGrid1.HeaderForeColor    = System.Drawing.Color.White;
     this.dataGrid1.Location           = new System.Drawing.Point(12, 81);
     this.dataGrid1.Name               = "dataGrid1";
     this.dataGrid1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.dataGrid1.Size               = new System.Drawing.Size(410, 232);
     this.dataGrid1.TabIndex           = 8;
     this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(216)))), ((int)(((byte)(216)))));
     this.dataGridTableStyle1.BackColor            = System.Drawing.Color.White;
     this.dataGridTableStyle1.DataGrid             = this.dataGrid1;
     this.dataGridTableStyle1.ForeColor            = System.Drawing.Color.Black;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn2,
         this.dataGridTextBoxColumn3,
         this.dataGridTextBoxColumn4,
         this.dataGridTextBoxColumn5,
         this.dataGridTextBoxColumn10,
         this.dataGridTextBoxColumn6,
         this.dataGridTextBoxColumn9,
         this.dataGridTextBoxColumn7,
         this.dataGridTextBoxColumn8,
         this.dataGridTextBoxColumn1,
         this.dataGridTextBoxColumn12,
         this.dataGridTextBoxColumn11
     });
     this.dataGridTableStyle1.HeaderBackColor = System.Drawing.Color.Gray;
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.Color.White;
     this.dataGridTableStyle1.MappingName     = "History";
     //
     // dataGridTextBoxColumn2
     //
     this.dataGridTextBoxColumn2.Format      = "";
     this.dataGridTextBoxColumn2.FormatInfo  = null;
     this.dataGridTextBoxColumn2.HeaderText  = "Species";
     this.dataGridTextBoxColumn2.MappingName = "SpeciesName";
     this.dataGridTextBoxColumn2.ReadOnly    = true;
     this.dataGridTextBoxColumn2.Width       = 125;
     //
     // dataGridTextBoxColumn3
     //
     this.dataGridTextBoxColumn3.Format      = "d";
     this.dataGridTextBoxColumn3.FormatInfo  = null;
     this.dataGridTextBoxColumn3.HeaderText  = "Population";
     this.dataGridTextBoxColumn3.MappingName = "Population";
     this.dataGridTextBoxColumn3.ReadOnly    = true;
     this.dataGridTextBoxColumn3.Width       = 75;
     //
     // dataGridTextBoxColumn4
     //
     this.dataGridTextBoxColumn4.Format      = "d";
     this.dataGridTextBoxColumn4.FormatInfo  = null;
     this.dataGridTextBoxColumn4.HeaderText  = "Births";
     this.dataGridTextBoxColumn4.MappingName = "BirthCount";
     this.dataGridTextBoxColumn4.ReadOnly    = true;
     this.dataGridTextBoxColumn4.Width       = 50;
     //
     // dataGridTextBoxColumn5
     //
     this.dataGridTextBoxColumn5.Format      = "d";
     this.dataGridTextBoxColumn5.FormatInfo  = null;
     this.dataGridTextBoxColumn5.HeaderText  = "Starved";
     this.dataGridTextBoxColumn5.MappingName = "StarvedCount";
     this.dataGridTextBoxColumn5.ReadOnly    = true;
     this.dataGridTextBoxColumn5.Width       = 75;
     //
     // dataGridTextBoxColumn10
     //
     this.dataGridTextBoxColumn10.Format      = "d";
     this.dataGridTextBoxColumn10.FormatInfo  = null;
     this.dataGridTextBoxColumn10.HeaderText  = "Old Age";
     this.dataGridTextBoxColumn10.MappingName = "OldAgeCount";
     this.dataGridTextBoxColumn10.ReadOnly    = true;
     this.dataGridTextBoxColumn10.Width       = 75;
     //
     // dataGridTextBoxColumn6
     //
     this.dataGridTextBoxColumn6.Format      = "d";
     this.dataGridTextBoxColumn6.FormatInfo  = null;
     this.dataGridTextBoxColumn6.HeaderText  = "Killed";
     this.dataGridTextBoxColumn6.MappingName = "KilledCount";
     this.dataGridTextBoxColumn6.ReadOnly    = true;
     this.dataGridTextBoxColumn6.Width       = 50;
     //
     // dataGridTextBoxColumn9
     //
     this.dataGridTextBoxColumn9.Format      = "d";
     this.dataGridTextBoxColumn9.FormatInfo  = null;
     this.dataGridTextBoxColumn9.HeaderText  = "Sick";
     this.dataGridTextBoxColumn9.MappingName = "SickCount";
     this.dataGridTextBoxColumn9.ReadOnly    = true;
     this.dataGridTextBoxColumn9.Width       = 50;
     //
     // dataGridTextBoxColumn7
     //
     this.dataGridTextBoxColumn7.Format      = "d";
     this.dataGridTextBoxColumn7.FormatInfo  = null;
     this.dataGridTextBoxColumn7.HeaderText  = "Errors";
     this.dataGridTextBoxColumn7.MappingName = "ErrorCount";
     this.dataGridTextBoxColumn7.ReadOnly    = true;
     this.dataGridTextBoxColumn7.Width       = 50;
     //
     // dataGridTextBoxColumn8
     //
     this.dataGridTextBoxColumn8.Format      = "d";
     this.dataGridTextBoxColumn8.FormatInfo  = null;
     this.dataGridTextBoxColumn8.HeaderText  = "Timeouts";
     this.dataGridTextBoxColumn8.MappingName = "TimeoutCount";
     this.dataGridTextBoxColumn8.ReadOnly    = true;
     this.dataGridTextBoxColumn8.Width       = 50;
     //
     // dataGridTextBoxColumn1
     //
     this.dataGridTextBoxColumn1.Format      = "d";
     this.dataGridTextBoxColumn1.FormatInfo  = null;
     this.dataGridTextBoxColumn1.HeaderText  = "Security Violations";
     this.dataGridTextBoxColumn1.MappingName = "SecurityViolationCount";
     this.dataGridTextBoxColumn1.ReadOnly    = true;
     this.dataGridTextBoxColumn1.Width       = 75;
     //
     // dataGridTextBoxColumn12
     //
     this.dataGridTextBoxColumn12.Format      = "d";
     this.dataGridTextBoxColumn12.FormatInfo  = null;
     this.dataGridTextBoxColumn12.HeaderText  = "Teleported Here";
     this.dataGridTextBoxColumn12.MappingName = "TeleportedToCount";
     this.dataGridTextBoxColumn12.ReadOnly    = true;
     this.dataGridTextBoxColumn12.Width       = 75;
     //
     // dataGridTextBoxColumn11
     //
     this.dataGridTextBoxColumn11.Format      = "d";
     this.dataGridTextBoxColumn11.FormatInfo  = null;
     this.dataGridTextBoxColumn11.HeaderText  = "Teleported Away";
     this.dataGridTextBoxColumn11.MappingName = "TeleportedFromCount";
     this.dataGridTextBoxColumn11.ReadOnly    = true;
     this.dataGridTextBoxColumn11.Width       = 75;
     //
     // resizeBar1
     //
     this.resizeBar1.BackColor = System.Drawing.Color.Black;
     this.resizeBar1.Dock      = System.Windows.Forms.DockStyle.Right;
     this.resizeBar1.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.resizeBar1.ForeColor = System.Drawing.Color.White;
     this.resizeBar1.Location  = new System.Drawing.Point(414, 0);
     this.resizeBar1.Name      = "resizeBar1";
     this.resizeBar1.Size      = new System.Drawing.Size(20, 40);
     this.resizeBar1.TabIndex  = 12;
     //
     // ReportStats
     //
     this.BackColor  = System.Drawing.Color.Black;
     this.ClientSize = new System.Drawing.Size(434, 368);
     this.Controls.Add(this.dataGrid1);
     this.Description = "Every statistic except population is only counted from the start of this terrariu" +
                        "m session.  Population carries over between sessions.";
     this.Name  = "ReportStats";
     this.Title = "Population Statistics";
     this.Controls.SetChildIndex(this.dataGrid1, 0);
     this.Controls.SetChildIndex(this.titleBar, 0);
     this.Controls.SetChildIndex(this.bottomPanel, 0);
     this.bottomPanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
 }
Пример #5
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GlassTitleBar));
     this.backgroundPanel = new Terrarium.Glass.GlassPanel();
     this.titleBarTitle   = new Terrarium.Glass.GlassLabel();
     this.imagePanel      = new System.Windows.Forms.Panel();
     this.titleBarImage   = new System.Windows.Forms.PictureBox();
     this.panel1          = new System.Windows.Forms.Panel();
     this.bugButton       = new Terrarium.Glass.GlassButton();
     this.minimizeButton  = new Terrarium.Glass.GlassButton();
     this.maximizeButton  = new Terrarium.Glass.GlassButton();
     this.closeButton     = new Terrarium.Glass.GlassButton();
     this.backgroundPanel.SuspendLayout();
     this.imagePanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.titleBarImage)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // backgroundPanel
     //
     this.backgroundPanel.Borders = ((Terrarium.Glass.GlassBorders)((((Terrarium.Glass.GlassBorders.Left | Terrarium.Glass.GlassBorders.Top)
                                                                      | Terrarium.Glass.GlassBorders.Right)
                                                                     | Terrarium.Glass.GlassBorders.Bottom)));
     this.backgroundPanel.Controls.Add(this.titleBarTitle);
     this.backgroundPanel.Controls.Add(this.imagePanel);
     this.backgroundPanel.Controls.Add(this.panel1);
     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.IsGlass         = true;
     this.backgroundPanel.IsSunk          = false;
     this.backgroundPanel.Location        = new System.Drawing.Point(0, 0);
     this.backgroundPanel.Name            = "backgroundPanel";
     this.backgroundPanel.Size            = new System.Drawing.Size(640, 32);
     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);
     //
     // titleBarTitle
     //
     this.titleBarTitle.BackColor    = System.Drawing.Color.Transparent;
     this.titleBarTitle.Dock         = System.Windows.Forms.DockStyle.Fill;
     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, 0);
     this.titleBarTitle.Name         = "titleBarTitle";
     this.titleBarTitle.NoWrap       = false;
     this.titleBarTitle.Size         = new System.Drawing.Size(442, 32);
     this.titleBarTitle.TabIndex     = 8;
     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);
     //
     // imagePanel
     //
     this.imagePanel.BackColor = System.Drawing.Color.Transparent;
     this.imagePanel.Controls.Add(this.titleBarImage);
     this.imagePanel.Dock     = System.Windows.Forms.DockStyle.Left;
     this.imagePanel.Location = new System.Drawing.Point(0, 0);
     this.imagePanel.Name     = "imagePanel";
     this.imagePanel.Size     = new System.Drawing.Size(32, 32);
     this.imagePanel.TabIndex = 7;
     //
     // titleBarImage
     //
     this.titleBarImage.BackColor    = System.Drawing.Color.Transparent;
     this.titleBarImage.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.titleBarImage.Image        = ((System.Drawing.Image)(resources.GetObject("titleBarImage.Image")));
     this.titleBarImage.Location     = new System.Drawing.Point(0, 0);
     this.titleBarImage.Name         = "titleBarImage";
     this.titleBarImage.Size         = new System.Drawing.Size(32, 32);
     this.titleBarImage.SizeMode     = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.titleBarImage.TabIndex     = 5;
     this.titleBarImage.TabStop      = false;
     this.titleBarImage.DoubleClick += new System.EventHandler(this.closeButton_Click);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Transparent;
     this.panel1.Controls.Add(this.bugButton);
     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(474, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(166, 32);
     this.panel1.TabIndex = 6;
     //
     // bugButton
     //
     this.bugButton.Anchor                   = System.Windows.Forms.AnchorStyles.Right;
     this.bugButton.BackColor                = System.Drawing.Color.Transparent;
     this.bugButton.BorderColor              = System.Drawing.Color.Black;
     this.bugButton.Depth                    = 3;
     this.bugButton.DisabledGradient.Bottom  = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.bugButton.DisabledGradient.Top     = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.bugButton.Highlight                = false;
     this.bugButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.bugButton.HighlightGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.bugButton.HoverGradient.Bottom     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.bugButton.HoverGradient.Top        = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.bugButton.IsGlass                  = true;
     this.bugButton.Location                 = new System.Drawing.Point(4, 2);
     this.bugButton.Name = "bugButton";
     this.bugButton.NormalGradient.Bottom  = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.bugButton.NormalGradient.Top     = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.bugButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.bugButton.PressedGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.bugButton.Size      = new System.Drawing.Size(75, 28);
     this.bugButton.TabIndex  = 9;
     this.bugButton.TabStop   = false;
     this.bugButton.Text      = "File a Bug";
     this.bugButton.UseStyles = true;
     this.bugButton.UseVisualStyleBackColor = false;
     this.bugButton.Visible = false;
     this.bugButton.Click  += new System.EventHandler(this.glassButton1_Click);
     //
     // minimizeButton
     //
     this.minimizeButton.Anchor                   = System.Windows.Forms.AnchorStyles.Right;
     this.minimizeButton.BackColor                = System.Drawing.Color.Transparent;
     this.minimizeButton.BorderColor              = System.Drawing.Color.Black;
     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.IsGlass                  = true;
     this.minimizeButton.Location                 = new System.Drawing.Point(79, 2);
     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.UseStyles = true;
     this.minimizeButton.UseVisualStyleBackColor = false;
     this.minimizeButton.Click += new System.EventHandler(this.minimizeButton_Click);
     //
     // maximizeButton
     //
     this.maximizeButton.Anchor                   = System.Windows.Forms.AnchorStyles.Right;
     this.maximizeButton.BackColor                = System.Drawing.Color.Transparent;
     this.maximizeButton.BorderColor              = System.Drawing.Color.Black;
     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.IsGlass                  = true;
     this.maximizeButton.Location                 = new System.Drawing.Point(107, 2);
     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.UseStyles = true;
     this.maximizeButton.UseVisualStyleBackColor = false;
     this.maximizeButton.Click += new System.EventHandler(this.maximizeButton_Click);
     //
     // closeButton
     //
     this.closeButton.Anchor                   = System.Windows.Forms.AnchorStyles.Right;
     this.closeButton.BackColor                = System.Drawing.Color.Transparent;
     this.closeButton.BorderColor              = System.Drawing.Color.Black;
     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.IsGlass                  = true;
     this.closeButton.Location                 = new System.Drawing.Point(135, 2);
     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.UseStyles = true;
     this.closeButton.UseVisualStyleBackColor = false;
     this.closeButton.Click += new System.EventHandler(this.closeButton_Click);
     //
     // GlassTitleBar
     //
     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      = "GlassTitleBar";
     this.Size      = new System.Drawing.Size(640, 32);
     this.backgroundPanel.ResumeLayout(false);
     this.imagePanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.titleBarImage)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #6
0
 private void InitializeComponent()
 {
     this.comboBox = new System.Windows.Forms.ComboBox();
     this.propertyGrid = new System.Windows.Forms.PropertyGrid();
     this.closeButton = new Terrarium.Glass.GlassButton();
     this.glassLabel1 = new Terrarium.Glass.GlassLabel();
     this.bottomPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // titleBar
     //
     this.titleBar.Size = new System.Drawing.Size(392, 32);
     this.titleBar.Title = "Creature Details";
     this.titleBar.CloseClicked += new System.EventHandler(this.CloseForm_Click);
     //
     // bottomPanel
     //
     this.bottomPanel.Controls.Add(this.closeButton);
     this.bottomPanel.Gradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.bottomPanel.Gradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.bottomPanel.Location = new System.Drawing.Point(0, 376);
     this.bottomPanel.Size = new System.Drawing.Size(392, 40);
     //
     // comboBox
     //
     this.comboBox.BackColor = System.Drawing.SystemColors.Window;
     this.comboBox.DisplayMember = "Text";
     this.comboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox.ForeColor = System.Drawing.Color.Black;
     this.comboBox.FormattingEnabled = true;
     this.comboBox.Location = new System.Drawing.Point(114, 75);
     this.comboBox.Name = "comboBox";
     this.comboBox.Size = new System.Drawing.Size(270, 20);
     this.comboBox.TabIndex = 3;
     //
     // propertyGrid
     //
     this.propertyGrid.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.propertyGrid.BackColor = System.Drawing.Color.Gray;
     this.propertyGrid.CommandsBackColor = System.Drawing.Color.Gray;
     this.propertyGrid.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.propertyGrid.HelpBackColor = System.Drawing.Color.Gray;
     this.propertyGrid.HelpVisible = false;
     this.propertyGrid.LineColor = System.Drawing.Color.Silver;
     this.propertyGrid.Location = new System.Drawing.Point(8, 104);
     this.propertyGrid.Name = "propertyGrid";
     this.propertyGrid.Size = new System.Drawing.Size(376, 266);
     this.propertyGrid.TabIndex = 10;
     this.propertyGrid.ToolbarVisible = false;
     this.propertyGrid.ViewBackColor = System.Drawing.Color.Black;
     this.propertyGrid.ViewForeColor = System.Drawing.Color.White;
     //
     // closeButton
     //
     this.closeButton.BackColor = System.Drawing.Color.Transparent;
     this.closeButton.BorderColor = System.Drawing.Color.Black;
     this.closeButton.Depth = 4;
     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.IsGlass = true;
     this.closeButton.Location = new System.Drawing.Point(305, 2);
     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(75, 36);
     this.closeButton.TabIndex = 0;
     this.closeButton.TabStop = false;
     this.closeButton.Text = "Close";
     this.closeButton.UseStyles = true;
     this.closeButton.UseVisualStyleBackColor = false;
     this.closeButton.Click += new System.EventHandler(this.CloseForm_Click);
     //
     // glassLabel1
     //
     this.glassLabel1.BackColor = System.Drawing.Color.Transparent;
     this.glassLabel1.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold);
     this.glassLabel1.ForeColor = System.Drawing.Color.White;
     this.glassLabel1.Location = new System.Drawing.Point(12, 78);
     this.glassLabel1.Name = "glassLabel1";
     this.glassLabel1.NoWrap = false;
     this.glassLabel1.Size = new System.Drawing.Size(93, 17);
     this.glassLabel1.TabIndex = 15;
     this.glassLabel1.Text = "Select Organism:";
     //
     // PropertySheet
     //
     this.ClientSize = new System.Drawing.Size(392, 416);
     this.Controls.Add(this.glassLabel1);
     this.Controls.Add(this.propertyGrid);
     this.Controls.Add(this.comboBox);
     this.Description = "View the properties of the selected organisms";
     this.Name = "PropertySheet";
     this.Title = "Organism Properties";
     this.Closed += new System.EventHandler(this.PropertySheet_Closed);
     this.Load += new System.EventHandler(this.PropertySheet_Load);
     this.Controls.SetChildIndex(this.bottomPanel, 0);
     this.Controls.SetChildIndex(this.titleBar, 0);
     this.Controls.SetChildIndex(this.comboBox, 0);
     this.Controls.SetChildIndex(this.propertyGrid, 0);
     this.Controls.SetChildIndex(this.glassLabel1, 0);
     this.bottomPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #7
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GlassTitleBar));
     this.backgroundPanel = new Terrarium.Glass.GlassPanel();
     this.titleBarTitle = new Terrarium.Glass.GlassLabel();
     this.imagePanel = new System.Windows.Forms.Panel();
     this.titleBarImage = new System.Windows.Forms.PictureBox();
     this.panel1 = new System.Windows.Forms.Panel();
     this.bugButton = new Terrarium.Glass.GlassButton();
     this.minimizeButton = new Terrarium.Glass.GlassButton();
     this.maximizeButton = new Terrarium.Glass.GlassButton();
     this.closeButton = new Terrarium.Glass.GlassButton();
     this.backgroundPanel.SuspendLayout();
     this.imagePanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.titleBarImage)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // backgroundPanel
     //
     this.backgroundPanel.Borders = ((Terrarium.Glass.GlassBorders)((((Terrarium.Glass.GlassBorders.Left | Terrarium.Glass.GlassBorders.Top)
                 | Terrarium.Glass.GlassBorders.Right)
                 | Terrarium.Glass.GlassBorders.Bottom)));
     this.backgroundPanel.Controls.Add(this.titleBarTitle);
     this.backgroundPanel.Controls.Add(this.imagePanel);
     this.backgroundPanel.Controls.Add(this.panel1);
     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.IsGlass = true;
     this.backgroundPanel.IsSunk = false;
     this.backgroundPanel.Location = new System.Drawing.Point(0, 0);
     this.backgroundPanel.Name = "backgroundPanel";
     this.backgroundPanel.Size = new System.Drawing.Size(640, 32);
     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);
     //
     // titleBarTitle
     //
     this.titleBarTitle.BackColor = System.Drawing.Color.Transparent;
     this.titleBarTitle.Dock = System.Windows.Forms.DockStyle.Fill;
     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, 0);
     this.titleBarTitle.Name = "titleBarTitle";
     this.titleBarTitle.NoWrap = false;
     this.titleBarTitle.Size = new System.Drawing.Size(442, 32);
     this.titleBarTitle.TabIndex = 8;
     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);
     //
     // imagePanel
     //
     this.imagePanel.BackColor = System.Drawing.Color.Transparent;
     this.imagePanel.Controls.Add(this.titleBarImage);
     this.imagePanel.Dock = System.Windows.Forms.DockStyle.Left;
     this.imagePanel.Location = new System.Drawing.Point(0, 0);
     this.imagePanel.Name = "imagePanel";
     this.imagePanel.Size = new System.Drawing.Size(32, 32);
     this.imagePanel.TabIndex = 7;
     //
     // titleBarImage
     //
     this.titleBarImage.BackColor = System.Drawing.Color.Transparent;
     this.titleBarImage.Dock = System.Windows.Forms.DockStyle.Fill;
     this.titleBarImage.Image = ((System.Drawing.Image)(resources.GetObject("titleBarImage.Image")));
     this.titleBarImage.Location = new System.Drawing.Point(0, 0);
     this.titleBarImage.Name = "titleBarImage";
     this.titleBarImage.Size = new System.Drawing.Size(32, 32);
     this.titleBarImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.titleBarImage.TabIndex = 5;
     this.titleBarImage.TabStop = false;
     this.titleBarImage.DoubleClick += new System.EventHandler(this.closeButton_Click);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Transparent;
     this.panel1.Controls.Add(this.bugButton);
     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(474, 0);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(166, 32);
     this.panel1.TabIndex = 6;
     //
     // bugButton
     //
     this.bugButton.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.bugButton.BackColor = System.Drawing.Color.Transparent;
     this.bugButton.BorderColor = System.Drawing.Color.Black;
     this.bugButton.Depth = 3;
     this.bugButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.bugButton.DisabledGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.bugButton.Highlight = false;
     this.bugButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.bugButton.HighlightGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.bugButton.HoverGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.bugButton.HoverGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.bugButton.IsGlass = true;
     this.bugButton.Location = new System.Drawing.Point(4, 2);
     this.bugButton.Name = "bugButton";
     this.bugButton.NormalGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.bugButton.NormalGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.bugButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.bugButton.PressedGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.bugButton.Size = new System.Drawing.Size(75, 28);
     this.bugButton.TabIndex = 9;
     this.bugButton.TabStop = false;
     this.bugButton.Text = "File a Bug";
     this.bugButton.UseStyles = true;
     this.bugButton.UseVisualStyleBackColor = false;
     this.bugButton.Visible = false;
     this.bugButton.Click += new System.EventHandler(this.glassButton1_Click);
     //
     // minimizeButton
     //
     this.minimizeButton.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.minimizeButton.BackColor = System.Drawing.Color.Transparent;
     this.minimizeButton.BorderColor = System.Drawing.Color.Black;
     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.IsGlass = true;
     this.minimizeButton.Location = new System.Drawing.Point(79, 2);
     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.UseStyles = true;
     this.minimizeButton.UseVisualStyleBackColor = false;
     this.minimizeButton.Click += new System.EventHandler(this.minimizeButton_Click);
     //
     // maximizeButton
     //
     this.maximizeButton.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.maximizeButton.BackColor = System.Drawing.Color.Transparent;
     this.maximizeButton.BorderColor = System.Drawing.Color.Black;
     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.IsGlass = true;
     this.maximizeButton.Location = new System.Drawing.Point(107, 2);
     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.UseStyles = true;
     this.maximizeButton.UseVisualStyleBackColor = false;
     this.maximizeButton.Click += new System.EventHandler(this.maximizeButton_Click);
     //
     // closeButton
     //
     this.closeButton.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.closeButton.BackColor = System.Drawing.Color.Transparent;
     this.closeButton.BorderColor = System.Drawing.Color.Black;
     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.IsGlass = true;
     this.closeButton.Location = new System.Drawing.Point(135, 2);
     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.UseStyles = true;
     this.closeButton.UseVisualStyleBackColor = false;
     this.closeButton.Click += new System.EventHandler(this.closeButton_Click);
     //
     // GlassTitleBar
     //
     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 = "GlassTitleBar";
     this.Size = new System.Drawing.Size(640, 32);
     this.backgroundPanel.ResumeLayout(false);
     this.imagePanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.titleBarImage)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #8
0
 private void InitializeComponent()
 {
     this.showTimings = new System.Windows.Forms.CheckBox();
     this.showSystemTraces = new System.Windows.Forms.CheckBox();
     this.traceTextBox = new System.Windows.Forms.TextBox();
     this.showTraces = new System.Windows.Forms.CheckBox();
     this.GlassLabel1 = new Terrarium.Glass.GlassLabel();
     this.GlassLabel2 = new Terrarium.Glass.GlassLabel();
     this.GlassLabel3 = new Terrarium.Glass.GlassLabel();
     this.closeButton = new Terrarium.Glass.GlassButton();
     this.glassLabel4 = new Terrarium.Glass.GlassLabel();
     this.glassLabel5 = new Terrarium.Glass.GlassLabel();
     this.glassLabel6 = new Terrarium.Glass.GlassLabel();
     this.resizeBar1 = new Terrarium.Forms.ResizeBar();
     this._bottomPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // titleBar
     //
     this._titleBar.Size = new System.Drawing.Size(488, 32);
     this._titleBar.Title = "Trace Window";
     this._titleBar.CloseClicked += new System.EventHandler(this.CloseForm_Click);
     //
     // bottomPanel
     //
     this._bottomPanel.Controls.Add(this.resizeBar1);
     this._bottomPanel.Controls.Add(this.closeButton);
     this._bottomPanel.Gradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this._bottomPanel.Gradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this._bottomPanel.Location = new System.Drawing.Point(0, 352);
     this._bottomPanel.Size = new System.Drawing.Size(488, 40);
     //
     // showTimings
     //
     this.showTimings.BackColor = System.Drawing.Color.White;
     this.showTimings.CheckAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.showTimings.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.showTimings.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.showTimings.Location = new System.Drawing.Point(136, 80);
     this.showTimings.Name = "showTimings";
     this.showTimings.Size = new System.Drawing.Size(13, 13);
     this.showTimings.TabIndex = 1;
     this.showTimings.UseVisualStyleBackColor = false;
     //
     // showSystemTraces
     //
     this.showSystemTraces.BackColor = System.Drawing.Color.White;
     this.showSystemTraces.CheckAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.showSystemTraces.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.showSystemTraces.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.showSystemTraces.Location = new System.Drawing.Point(16, 80);
     this.showSystemTraces.Name = "showSystemTraces";
     this.showSystemTraces.Size = new System.Drawing.Size(13, 13);
     this.showSystemTraces.TabIndex = 1;
     this.showSystemTraces.UseVisualStyleBackColor = false;
     //
     // traceTextBox
     //
     this.traceTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.traceTextBox.BackColor = System.Drawing.Color.Black;
     this.traceTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.traceTextBox.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.traceTextBox.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.traceTextBox.Location = new System.Drawing.Point(11, 104);
     this.traceTextBox.Multiline = true;
     this.traceTextBox.Name = "traceTextBox";
     this.traceTextBox.ReadOnly = true;
     this.traceTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.traceTextBox.Size = new System.Drawing.Size(469, 242);
     this.traceTextBox.TabIndex = 0;
     this.traceTextBox.WordWrap = false;
     //
     // showTraces
     //
     this.showTraces.BackColor = System.Drawing.Color.White;
     this.showTraces.CheckAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.showTraces.Checked = true;
     this.showTraces.CheckState = System.Windows.Forms.CheckState.Checked;
     this.showTraces.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.showTraces.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.showTraces.Location = new System.Drawing.Point(256, 80);
     this.showTraces.Name = "showTraces";
     this.showTraces.Size = new System.Drawing.Size(13, 13);
     this.showTraces.TabIndex = 2;
     this.showTraces.UseVisualStyleBackColor = false;
     this.showTraces.CheckedChanged += new System.EventHandler(this.showTraces_CheckedChanged);
     //
     // GlassLabel1
     //
     this.GlassLabel1.AutoSize = true;
     this.GlassLabel1.BackColor = System.Drawing.Color.Transparent;
     this.GlassLabel1.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold);
     this.GlassLabel1.ForeColor = System.Drawing.Color.White;
     this.GlassLabel1.Location = new System.Drawing.Point(32, 56);
     this.GlassLabel1.Name = "GlassLabel1";
     this.GlassLabel1.NoWrap = false;
     this.GlassLabel1.Size = new System.Drawing.Size(80, 14);
     this.GlassLabel1.TabIndex = 2;
     this.GlassLabel1.Text = "System Events";
     //
     // GlassLabel2
     //
     this.GlassLabel2.AutoSize = true;
     this.GlassLabel2.BackColor = System.Drawing.Color.Transparent;
     this.GlassLabel2.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold);
     this.GlassLabel2.ForeColor = System.Drawing.Color.White;
     this.GlassLabel2.Location = new System.Drawing.Point(152, 56);
     this.GlassLabel2.Name = "GlassLabel2";
     this.GlassLabel2.NoWrap = false;
     this.GlassLabel2.Size = new System.Drawing.Size(83, 14);
     this.GlassLabel2.TabIndex = 3;
     this.GlassLabel2.Text = "Engine Timings";
     //
     // GlassLabel3
     //
     this.GlassLabel3.AutoSize = true;
     this.GlassLabel3.BackColor = System.Drawing.Color.Transparent;
     this.GlassLabel3.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold);
     this.GlassLabel3.ForeColor = System.Drawing.Color.White;
     this.GlassLabel3.Location = new System.Drawing.Point(272, 56);
     this.GlassLabel3.Name = "GlassLabel3";
     this.GlassLabel3.NoWrap = false;
     this.GlassLabel3.Size = new System.Drawing.Size(86, 14);
     this.GlassLabel3.TabIndex = 4;
     this.GlassLabel3.Text = "Creature Traces";
     //
     // closeButton
     //
     this.closeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.closeButton.BackColor = System.Drawing.Color.Transparent;
     this.closeButton.BorderColor = System.Drawing.Color.Black;
     this.closeButton.Depth = 4;
     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.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.closeButton.ForeColor = System.Drawing.Color.White;
     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.IsGlass = true;
     this.closeButton.Location = new System.Drawing.Point(387, 2);
     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(75, 36);
     this.closeButton.TabIndex = 16;
     this.closeButton.TabStop = false;
     this.closeButton.Text = "Close";
     this.closeButton.UseStyles = true;
     this.closeButton.UseVisualStyleBackColor = false;
     this.closeButton.Click += new System.EventHandler(this.CloseForm_Click);
     //
     // glassLabel4
     //
     this.glassLabel4.BackColor = System.Drawing.Color.Transparent;
     this.glassLabel4.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold);
     this.glassLabel4.ForeColor = System.Drawing.Color.White;
     this.glassLabel4.Location = new System.Drawing.Point(35, 80);
     this.glassLabel4.Name = "glassLabel4";
     this.glassLabel4.NoWrap = false;
     this.glassLabel4.Size = new System.Drawing.Size(83, 17);
     this.glassLabel4.TabIndex = 15;
     this.glassLabel4.Text = "System Events";
     //
     // glassLabel5
     //
     this.glassLabel5.BackColor = System.Drawing.Color.Transparent;
     this.glassLabel5.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold);
     this.glassLabel5.ForeColor = System.Drawing.Color.White;
     this.glassLabel5.Location = new System.Drawing.Point(155, 80);
     this.glassLabel5.Name = "glassLabel5";
     this.glassLabel5.NoWrap = false;
     this.glassLabel5.Size = new System.Drawing.Size(83, 17);
     this.glassLabel5.TabIndex = 16;
     this.glassLabel5.Text = "Engine Timings";
     //
     // glassLabel6
     //
     this.glassLabel6.BackColor = System.Drawing.Color.Transparent;
     this.glassLabel6.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold);
     this.glassLabel6.ForeColor = System.Drawing.Color.White;
     this.glassLabel6.Location = new System.Drawing.Point(275, 80);
     this.glassLabel6.Name = "glassLabel6";
     this.glassLabel6.NoWrap = false;
     this.glassLabel6.Size = new System.Drawing.Size(108, 17);
     this.glassLabel6.TabIndex = 17;
     this.glassLabel6.Text = "Creature Traces";
     //
     // resizeBar1
     //
     this.resizeBar1.BackColor = System.Drawing.Color.Black;
     this.resizeBar1.Dock = System.Windows.Forms.DockStyle.Right;
     this.resizeBar1.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.resizeBar1.ForeColor = System.Drawing.Color.White;
     this.resizeBar1.Location = new System.Drawing.Point(468, 0);
     this.resizeBar1.Name = "resizeBar1";
     this.resizeBar1.Size = new System.Drawing.Size(20, 40);
     this.resizeBar1.TabIndex = 17;
     //
     // TraceWindow
     //
     this.BackColor = System.Drawing.Color.Peru;
     this.ClientSize = new System.Drawing.Size(488, 392);
     this.Controls.Add(this.glassLabel6);
     this.Controls.Add(this.glassLabel5);
     this.Controls.Add(this.glassLabel4);
     this.Controls.Add(this.traceTextBox);
     this.Controls.Add(this.showTraces);
     this.Controls.Add(this.showTimings);
     this.Controls.Add(this.showSystemTraces);
     this.Description = "Use this to view organism trace messages and various engine trace messages";
     this.Name = "TraceWindow";
     this.Title = "Trace Window";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.Form_Closing);
     this.Load += new System.EventHandler(this.Form_Load);
     this.Controls.SetChildIndex(this._bottomPanel, 0);
     this.Controls.SetChildIndex(this._titleBar, 0);
     this.Controls.SetChildIndex(this.showSystemTraces, 0);
     this.Controls.SetChildIndex(this.showTimings, 0);
     this.Controls.SetChildIndex(this.showTraces, 0);
     this.Controls.SetChildIndex(this.traceTextBox, 0);
     this.Controls.SetChildIndex(this.glassLabel4, 0);
     this.Controls.SetChildIndex(this.glassLabel5, 0);
     this.Controls.SetChildIndex(this.glassLabel6, 0);
     this._bottomPanel.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 private void InitializeComponent()
 {
     this.dataGrid1 = new System.Windows.Forms.DataGrid();
     this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.retrievingData = new Terrarium.Glass.GlassLabel();
     this.RefreshTime = new Terrarium.Glass.GlassLabel();
     this.okButton = new Terrarium.Glass.GlassButton();
     this.cancelButton = new Terrarium.Glass.GlassButton();
     this.serverListButton = new Terrarium.Glass.GlassButton();
     this.browseButton = new Terrarium.Glass.GlassButton();
     this.bottomPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // titleBar
     //
     this.titleBar.Size = new System.Drawing.Size(456, 32);
     this.titleBar.Title = "Introduce Creature";
     this.titleBar.CloseClicked += new System.EventHandler(this.Cancel_Click);
     //
     // bottomPanel
     //
     this.bottomPanel.Controls.Add(this.browseButton);
     this.bottomPanel.Controls.Add(this.serverListButton);
     this.bottomPanel.Controls.Add(this.cancelButton);
     this.bottomPanel.Controls.Add(this.okButton);
     this.bottomPanel.Gradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.bottomPanel.Gradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.bottomPanel.Location = new System.Drawing.Point(0, 352);
     this.bottomPanel.Size = new System.Drawing.Size(456, 40);
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGrid1.BackgroundColor = System.Drawing.Color.Gray;
     this.dataGrid1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.dataGrid1.CaptionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.dataGrid1.CaptionForeColor = System.Drawing.Color.White;
     this.dataGrid1.CaptionVisible = false;
     this.dataGrid1.DataMember = "";
     this.dataGrid1.FlatMode = true;
     this.dataGrid1.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor = System.Drawing.Color.Black;
     this.dataGrid1.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.dataGrid1.HeaderBackColor = System.Drawing.Color.Gray;
     this.dataGrid1.HeaderForeColor = System.Drawing.Color.White;
     this.dataGrid1.Location = new System.Drawing.Point(8, 71);
     this.dataGrid1.Name = "dataGrid1";
     this.dataGrid1.ReadOnly = true;
     this.dataGrid1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.dataGrid1.Size = new System.Drawing.Size(440, 272);
     this.dataGrid1.TabIndex = 8;
     this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
     this.dataGridTableStyle1});
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(216)))), ((int)(((byte)(216)))));
     this.dataGridTableStyle1.BackColor = System.Drawing.Color.White;
     this.dataGridTableStyle1.DataGrid = this.dataGrid1;
     this.dataGridTableStyle1.ForeColor = System.Drawing.Color.Black;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
     this.dataGridTextBoxColumn1,
     this.dataGridTextBoxColumn2,
     this.dataGridTextBoxColumn3,
     this.dataGridTextBoxColumn4,
     this.dataGridTextBoxColumn5});
     this.dataGridTableStyle1.HeaderBackColor = System.Drawing.Color.Gray;
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.Color.White;
     this.dataGridTableStyle1.MappingName = "Table";
     //
     // dataGridTextBoxColumn1
     //
     this.dataGridTextBoxColumn1.Format = "";
     this.dataGridTextBoxColumn1.FormatInfo = null;
     this.dataGridTextBoxColumn1.HeaderText = "Species Name";
     this.dataGridTextBoxColumn1.MappingName = "Name";
     this.dataGridTextBoxColumn1.ReadOnly = true;
     this.dataGridTextBoxColumn1.Width = 150;
     //
     // dataGridTextBoxColumn2
     //
     this.dataGridTextBoxColumn2.Format = "";
     this.dataGridTextBoxColumn2.FormatInfo = null;
     this.dataGridTextBoxColumn2.HeaderText = "Type";
     this.dataGridTextBoxColumn2.MappingName = "Type";
     this.dataGridTextBoxColumn2.ReadOnly = true;
     this.dataGridTextBoxColumn2.Width = 75;
     //
     // dataGridTextBoxColumn3
     //
     this.dataGridTextBoxColumn3.Format = "";
     this.dataGridTextBoxColumn3.FormatInfo = null;
     this.dataGridTextBoxColumn3.HeaderText = "Author";
     this.dataGridTextBoxColumn3.MappingName = "Author";
     this.dataGridTextBoxColumn3.ReadOnly = true;
     this.dataGridTextBoxColumn3.Width = 75;
     //
     // dataGridTextBoxColumn4
     //
     this.dataGridTextBoxColumn4.Format = "d";
     this.dataGridTextBoxColumn4.FormatInfo = null;
     this.dataGridTextBoxColumn4.HeaderText = "Date Introduced";
     this.dataGridTextBoxColumn4.MappingName = "DateAdded";
     this.dataGridTextBoxColumn4.ReadOnly = true;
     this.dataGridTextBoxColumn4.Width = 90;
     //
     // dataGridTextBoxColumn5
     //
     this.dataGridTextBoxColumn5.Format = "d";
     this.dataGridTextBoxColumn5.FormatInfo = null;
     this.dataGridTextBoxColumn5.HeaderText = "Last Reintroduction";
     this.dataGridTextBoxColumn5.MappingName = "LastReintroduction";
     this.dataGridTextBoxColumn5.ReadOnly = true;
     this.dataGridTextBoxColumn5.Width = 125;
     //
     // retrievingData
     //
     this.retrievingData.BackColor = System.Drawing.Color.Transparent;
     this.retrievingData.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.retrievingData.ForeColor = System.Drawing.Color.White;
     this.retrievingData.Location = new System.Drawing.Point(72, 195);
     this.retrievingData.Name = "retrievingData";
     this.retrievingData.NoWrap = false;
     this.retrievingData.Size = new System.Drawing.Size(321, 19);
     this.retrievingData.TabIndex = 5;
     this.retrievingData.Text = "retrieving Species List From Server...";
     this.retrievingData.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.retrievingData.Visible = false;
     //
     // RefreshTime
     //
     this.RefreshTime.BackColor = System.Drawing.Color.Transparent;
     this.RefreshTime.Font = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.RefreshTime.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.RefreshTime.Location = new System.Drawing.Point(456, 152);
     this.RefreshTime.Name = "RefreshTime";
     this.RefreshTime.NoWrap = false;
     this.RefreshTime.Size = new System.Drawing.Size(88, 32);
     this.RefreshTime.TabIndex = 10;
     this.RefreshTime.Text = "label1";
     this.RefreshTime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // okButton
     //
     this.okButton.BackColor = System.Drawing.Color.Transparent;
     this.okButton.BorderColor = System.Drawing.Color.Black;
     this.okButton.Depth = 3;
     this.okButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.okButton.DisabledGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.okButton.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.okButton.ForeColor = System.Drawing.Color.White;
     this.okButton.Highlight = false;
     this.okButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.okButton.HighlightGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.okButton.HoverGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.okButton.HoverGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.okButton.IsGlass = true;
     this.okButton.Location = new System.Drawing.Point(288, 2);
     this.okButton.Name = "okButton";
     this.okButton.NormalGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.okButton.NormalGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.okButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.okButton.PressedGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.okButton.Size = new System.Drawing.Size(75, 36);
     this.okButton.TabIndex = 16;
     this.okButton.TabStop = false;
     this.okButton.Text = "OK";
     this.okButton.UseStyles = true;
     this.okButton.UseVisualStyleBackColor = false;
     this.okButton.Click += new System.EventHandler(this.OK_Click);
     //
     // cancelButton
     //
     this.cancelButton.BackColor = System.Drawing.Color.Transparent;
     this.cancelButton.BorderColor = System.Drawing.Color.Black;
     this.cancelButton.Depth = 3;
     this.cancelButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.cancelButton.DisabledGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.cancelButton.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cancelButton.ForeColor = System.Drawing.Color.White;
     this.cancelButton.Highlight = false;
     this.cancelButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.cancelButton.HighlightGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.cancelButton.HoverGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.cancelButton.HoverGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.cancelButton.IsGlass = true;
     this.cancelButton.Location = new System.Drawing.Point(369, 2);
     this.cancelButton.Name = "cancelButton";
     this.cancelButton.NormalGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.cancelButton.NormalGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.cancelButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.cancelButton.PressedGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.cancelButton.Size = new System.Drawing.Size(75, 36);
     this.cancelButton.TabIndex = 17;
     this.cancelButton.TabStop = false;
     this.cancelButton.Text = "Cancel";
     this.cancelButton.UseStyles = true;
     this.cancelButton.UseVisualStyleBackColor = false;
     this.cancelButton.Click += new System.EventHandler(this.Cancel_Click);
     //
     // serverListButton
     //
     this.serverListButton.BackColor = System.Drawing.Color.Transparent;
     this.serverListButton.BorderColor = System.Drawing.Color.Black;
     this.serverListButton.Depth = 3;
     this.serverListButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.serverListButton.DisabledGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.serverListButton.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.serverListButton.ForeColor = System.Drawing.Color.White;
     this.serverListButton.Highlight = false;
     this.serverListButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.serverListButton.HighlightGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.serverListButton.HoverGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.serverListButton.HoverGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.serverListButton.IsGlass = true;
     this.serverListButton.Location = new System.Drawing.Point(12, 2);
     this.serverListButton.Name = "serverListButton";
     this.serverListButton.NormalGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.serverListButton.NormalGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.serverListButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.serverListButton.PressedGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.serverListButton.Size = new System.Drawing.Size(100, 36);
     this.serverListButton.TabIndex = 18;
     this.serverListButton.TabStop = false;
     this.serverListButton.Text = "Server List";
     this.serverListButton.UseStyles = true;
     this.serverListButton.UseVisualStyleBackColor = false;
     this.serverListButton.Click += new System.EventHandler(this.ServerList_Click);
     //
     // browseButton
     //
     this.browseButton.BackColor = System.Drawing.Color.Transparent;
     this.browseButton.BorderColor = System.Drawing.Color.Black;
     this.browseButton.Depth = 3;
     this.browseButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.browseButton.DisabledGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.browseButton.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.browseButton.ForeColor = System.Drawing.Color.White;
     this.browseButton.Highlight = false;
     this.browseButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.browseButton.HighlightGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.browseButton.HoverGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.browseButton.HoverGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.browseButton.IsGlass = true;
     this.browseButton.Location = new System.Drawing.Point(118, 2);
     this.browseButton.Name = "browseButton";
     this.browseButton.NormalGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.browseButton.NormalGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.browseButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.browseButton.PressedGradient.Top = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.browseButton.Size = new System.Drawing.Size(80, 36);
     this.browseButton.TabIndex = 0;
     this.browseButton.TabStop = false;
     this.browseButton.Text = "Browse...";
     this.browseButton.UseStyles = true;
     this.browseButton.UseVisualStyleBackColor = false;
     this.browseButton.Click += new System.EventHandler(this.Browse_Click);
     //
     // ReintroduceSpecies
     //
     this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.ClientSize = new System.Drawing.Size(456, 392);
     this.Controls.Add(this.RefreshTime);
     this.Controls.Add(this.retrievingData);
     this.Controls.Add(this.dataGrid1);
     this.Name = "ReintroduceSpecies";
     this.Title = "Reintroduce Species";
     this.Paint += new System.Windows.Forms.PaintEventHandler(this.ReintroduceSpecies_Paint);
     this.Controls.SetChildIndex(this.bottomPanel, 0);
     this.Controls.SetChildIndex(this.titleBar, 0);
     this.Controls.SetChildIndex(this.dataGrid1, 0);
     this.Controls.SetChildIndex(this.retrievingData, 0);
     this.Controls.SetChildIndex(this.RefreshTime, 0);
     this.bottomPanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
 }
Пример #10
0
 private void InitializeComponent()
 {
     this.dataGrid1              = new System.Windows.Forms.DataGrid();
     this.dataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.retrievingData         = new Terrarium.Glass.GlassLabel();
     this.RefreshTime            = new Terrarium.Glass.GlassLabel();
     this.okButton         = new Terrarium.Glass.GlassButton();
     this.cancelButton     = new Terrarium.Glass.GlassButton();
     this.serverListButton = new Terrarium.Glass.GlassButton();
     this.browseButton     = new Terrarium.Glass.GlassButton();
     this.bottomPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // titleBar
     //
     this.titleBar.Size          = new System.Drawing.Size(456, 32);
     this.titleBar.Title         = "Introduce Creature";
     this.titleBar.CloseClicked += new System.EventHandler(this.Cancel_Click);
     //
     // bottomPanel
     //
     this.bottomPanel.Controls.Add(this.browseButton);
     this.bottomPanel.Controls.Add(this.serverListButton);
     this.bottomPanel.Controls.Add(this.cancelButton);
     this.bottomPanel.Controls.Add(this.okButton);
     this.bottomPanel.Gradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.bottomPanel.Gradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.bottomPanel.Location        = new System.Drawing.Point(0, 352);
     this.bottomPanel.Size            = new System.Drawing.Size(456, 40);
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGrid1.BackgroundColor    = System.Drawing.Color.Gray;
     this.dataGrid1.BorderStyle        = System.Windows.Forms.BorderStyle.FixedSingle;
     this.dataGrid1.CaptionBackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.dataGrid1.CaptionForeColor   = System.Drawing.Color.White;
     this.dataGrid1.CaptionVisible     = false;
     this.dataGrid1.DataMember         = "";
     this.dataGrid1.FlatMode           = true;
     this.dataGrid1.Font               = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor          = System.Drawing.Color.Black;
     this.dataGrid1.GridLineColor      = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.dataGrid1.HeaderBackColor    = System.Drawing.Color.Gray;
     this.dataGrid1.HeaderForeColor    = System.Drawing.Color.White;
     this.dataGrid1.Location           = new System.Drawing.Point(8, 71);
     this.dataGrid1.Name               = "dataGrid1";
     this.dataGrid1.ReadOnly           = true;
     this.dataGrid1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.dataGrid1.Size               = new System.Drawing.Size(440, 272);
     this.dataGrid1.TabIndex           = 8;
     this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.AlternatingBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(216)))), ((int)(((byte)(216)))));
     this.dataGridTableStyle1.BackColor            = System.Drawing.Color.White;
     this.dataGridTableStyle1.DataGrid             = this.dataGrid1;
     this.dataGridTableStyle1.ForeColor            = System.Drawing.Color.Black;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn1,
         this.dataGridTextBoxColumn2,
         this.dataGridTextBoxColumn3,
         this.dataGridTextBoxColumn4,
         this.dataGridTextBoxColumn5
     });
     this.dataGridTableStyle1.HeaderBackColor = System.Drawing.Color.Gray;
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.Color.White;
     this.dataGridTableStyle1.MappingName     = "Table";
     //
     // dataGridTextBoxColumn1
     //
     this.dataGridTextBoxColumn1.Format      = "";
     this.dataGridTextBoxColumn1.FormatInfo  = null;
     this.dataGridTextBoxColumn1.HeaderText  = "Species Name";
     this.dataGridTextBoxColumn1.MappingName = "Name";
     this.dataGridTextBoxColumn1.ReadOnly    = true;
     this.dataGridTextBoxColumn1.Width       = 150;
     //
     // dataGridTextBoxColumn2
     //
     this.dataGridTextBoxColumn2.Format      = "";
     this.dataGridTextBoxColumn2.FormatInfo  = null;
     this.dataGridTextBoxColumn2.HeaderText  = "Type";
     this.dataGridTextBoxColumn2.MappingName = "Type";
     this.dataGridTextBoxColumn2.ReadOnly    = true;
     this.dataGridTextBoxColumn2.Width       = 75;
     //
     // dataGridTextBoxColumn3
     //
     this.dataGridTextBoxColumn3.Format      = "";
     this.dataGridTextBoxColumn3.FormatInfo  = null;
     this.dataGridTextBoxColumn3.HeaderText  = "Author";
     this.dataGridTextBoxColumn3.MappingName = "Author";
     this.dataGridTextBoxColumn3.ReadOnly    = true;
     this.dataGridTextBoxColumn3.Width       = 75;
     //
     // dataGridTextBoxColumn4
     //
     this.dataGridTextBoxColumn4.Format      = "d";
     this.dataGridTextBoxColumn4.FormatInfo  = null;
     this.dataGridTextBoxColumn4.HeaderText  = "Date Introduced";
     this.dataGridTextBoxColumn4.MappingName = "DateAdded";
     this.dataGridTextBoxColumn4.ReadOnly    = true;
     this.dataGridTextBoxColumn4.Width       = 90;
     //
     // dataGridTextBoxColumn5
     //
     this.dataGridTextBoxColumn5.Format      = "d";
     this.dataGridTextBoxColumn5.FormatInfo  = null;
     this.dataGridTextBoxColumn5.HeaderText  = "Last Reintroduction";
     this.dataGridTextBoxColumn5.MappingName = "LastReintroduction";
     this.dataGridTextBoxColumn5.ReadOnly    = true;
     this.dataGridTextBoxColumn5.Width       = 125;
     //
     // retrievingData
     //
     this.retrievingData.BackColor = System.Drawing.Color.Transparent;
     this.retrievingData.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.retrievingData.ForeColor = System.Drawing.Color.White;
     this.retrievingData.Location  = new System.Drawing.Point(72, 195);
     this.retrievingData.Name      = "retrievingData";
     this.retrievingData.NoWrap    = false;
     this.retrievingData.Size      = new System.Drawing.Size(321, 19);
     this.retrievingData.TabIndex  = 5;
     this.retrievingData.Text      = "retrieving Species List From Server...";
     this.retrievingData.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.retrievingData.Visible   = false;
     //
     // RefreshTime
     //
     this.RefreshTime.BackColor = System.Drawing.Color.Transparent;
     this.RefreshTime.Font      = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.RefreshTime.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.RefreshTime.Location  = new System.Drawing.Point(456, 152);
     this.RefreshTime.Name      = "RefreshTime";
     this.RefreshTime.NoWrap    = false;
     this.RefreshTime.Size      = new System.Drawing.Size(88, 32);
     this.RefreshTime.TabIndex  = 10;
     this.RefreshTime.Text      = "label1";
     this.RefreshTime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // okButton
     //
     this.okButton.BackColor               = System.Drawing.Color.Transparent;
     this.okButton.BorderColor             = System.Drawing.Color.Black;
     this.okButton.Depth                   = 3;
     this.okButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.okButton.DisabledGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.okButton.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.okButton.ForeColor = System.Drawing.Color.White;
     this.okButton.Highlight = false;
     this.okButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.okButton.HighlightGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.okButton.HoverGradient.Bottom     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.okButton.HoverGradient.Top        = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.okButton.IsGlass  = true;
     this.okButton.Location = new System.Drawing.Point(288, 2);
     this.okButton.Name     = "okButton";
     this.okButton.NormalGradient.Bottom  = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.okButton.NormalGradient.Top     = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.okButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.okButton.PressedGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.okButton.Size      = new System.Drawing.Size(75, 36);
     this.okButton.TabIndex  = 16;
     this.okButton.TabStop   = false;
     this.okButton.Text      = "OK";
     this.okButton.UseStyles = true;
     this.okButton.UseVisualStyleBackColor = false;
     this.okButton.Click += new System.EventHandler(this.OK_Click);
     //
     // cancelButton
     //
     this.cancelButton.BackColor               = System.Drawing.Color.Transparent;
     this.cancelButton.BorderColor             = System.Drawing.Color.Black;
     this.cancelButton.Depth                   = 3;
     this.cancelButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.cancelButton.DisabledGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.cancelButton.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cancelButton.ForeColor = System.Drawing.Color.White;
     this.cancelButton.Highlight = false;
     this.cancelButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.cancelButton.HighlightGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.cancelButton.HoverGradient.Bottom     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.cancelButton.HoverGradient.Top        = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.cancelButton.IsGlass  = true;
     this.cancelButton.Location = new System.Drawing.Point(369, 2);
     this.cancelButton.Name     = "cancelButton";
     this.cancelButton.NormalGradient.Bottom  = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.cancelButton.NormalGradient.Top     = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.cancelButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.cancelButton.PressedGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.cancelButton.Size      = new System.Drawing.Size(75, 36);
     this.cancelButton.TabIndex  = 17;
     this.cancelButton.TabStop   = false;
     this.cancelButton.Text      = "Cancel";
     this.cancelButton.UseStyles = true;
     this.cancelButton.UseVisualStyleBackColor = false;
     this.cancelButton.Click += new System.EventHandler(this.Cancel_Click);
     //
     // serverListButton
     //
     this.serverListButton.BackColor               = System.Drawing.Color.Transparent;
     this.serverListButton.BorderColor             = System.Drawing.Color.Black;
     this.serverListButton.Depth                   = 3;
     this.serverListButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.serverListButton.DisabledGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.serverListButton.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.serverListButton.ForeColor = System.Drawing.Color.White;
     this.serverListButton.Highlight = false;
     this.serverListButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.serverListButton.HighlightGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.serverListButton.HoverGradient.Bottom     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.serverListButton.HoverGradient.Top        = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.serverListButton.IsGlass  = true;
     this.serverListButton.Location = new System.Drawing.Point(12, 2);
     this.serverListButton.Name     = "serverListButton";
     this.serverListButton.NormalGradient.Bottom  = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.serverListButton.NormalGradient.Top     = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.serverListButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.serverListButton.PressedGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.serverListButton.Size      = new System.Drawing.Size(100, 36);
     this.serverListButton.TabIndex  = 18;
     this.serverListButton.TabStop   = false;
     this.serverListButton.Text      = "Server List";
     this.serverListButton.UseStyles = true;
     this.serverListButton.UseVisualStyleBackColor = false;
     this.serverListButton.Click += new System.EventHandler(this.ServerList_Click);
     //
     // browseButton
     //
     this.browseButton.BackColor               = System.Drawing.Color.Transparent;
     this.browseButton.BorderColor             = System.Drawing.Color.Black;
     this.browseButton.Depth                   = 3;
     this.browseButton.DisabledGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.browseButton.DisabledGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.browseButton.Font      = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.browseButton.ForeColor = System.Drawing.Color.White;
     this.browseButton.Highlight = false;
     this.browseButton.HighlightGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.browseButton.HighlightGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     this.browseButton.HoverGradient.Bottom     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.browseButton.HoverGradient.Top        = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.browseButton.IsGlass  = true;
     this.browseButton.Location = new System.Drawing.Point(118, 2);
     this.browseButton.Name     = "browseButton";
     this.browseButton.NormalGradient.Bottom  = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.browseButton.NormalGradient.Top     = System.Drawing.Color.FromArgb(((int)(((byte)(96)))), ((int)(((byte)(96)))), ((int)(((byte)(96)))));
     this.browseButton.PressedGradient.Bottom = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(216)))), ((int)(((byte)(0)))));
     this.browseButton.PressedGradient.Top    = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.browseButton.Size      = new System.Drawing.Size(80, 36);
     this.browseButton.TabIndex  = 0;
     this.browseButton.TabStop   = false;
     this.browseButton.Text      = "Browse...";
     this.browseButton.UseStyles = true;
     this.browseButton.UseVisualStyleBackColor = false;
     this.browseButton.Click += new System.EventHandler(this.Browse_Click);
     //
     // ReintroduceSpecies
     //
     this.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.ClientSize = new System.Drawing.Size(456, 392);
     this.Controls.Add(this.RefreshTime);
     this.Controls.Add(this.retrievingData);
     this.Controls.Add(this.dataGrid1);
     this.Name   = "ReintroduceSpecies";
     this.Title  = "Reintroduce Species";
     this.Paint += new System.Windows.Forms.PaintEventHandler(this.ReintroduceSpecies_Paint);
     this.Controls.SetChildIndex(this.bottomPanel, 0);
     this.Controls.SetChildIndex(this.titleBar, 0);
     this.Controls.SetChildIndex(this.dataGrid1, 0);
     this.Controls.SetChildIndex(this.retrievingData, 0);
     this.Controls.SetChildIndex(this.RefreshTime, 0);
     this.bottomPanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
 }