From 2111224f82499fb715e9fbad182376ad3af7e611 Mon Sep 17 00:00:00 2001
From: unknown555 <43687875+unknown555@users.noreply.github.com>
Date: Sat, 28 Sep 2024 10:24:38 -0500
Subject: [PATCH] Removed Load/Save Race buttons from empire setup form. (#321)
* Removed Load/Save Race buttons from empire setup form.
Resolved vehicle designer warnings from being cut off by changing associated control from ListBox to TextBox, which allows multiline word wrapping.
* Fixed the trait names missing in the empire creation form by adding AutoSize = true to each checkbox
* Removed commented out Load/Save Race functions.
---
.../Controls/TraitPicker.Designer.cs | 77 +-
FrEee.UI.WinForms/Controls/TraitPicker.cs | 1 +
FrEee.UI.WinForms/Controls/TraitPicker.resx | 54 +-
.../Forms/EmpireSetupForm.Designer.cs | 1472 +++++++-------
FrEee.UI.WinForms/Forms/EmpireSetupForm.cs | 24 -
FrEee.UI.WinForms/Forms/EmpireSetupForm.resx | 85 +-
.../Forms/VehicleDesignForm.Designer.cs | 1760 +++++++++--------
FrEee.UI.WinForms/Forms/VehicleDesignForm.cs | 8 +-
.../Forms/VehicleDesignForm.resx | 67 +-
9 files changed, 1790 insertions(+), 1758 deletions(-)
diff --git a/FrEee.UI.WinForms/Controls/TraitPicker.Designer.cs b/FrEee.UI.WinForms/Controls/TraitPicker.Designer.cs
index 4960ce234..29f0688b8 100644
--- a/FrEee.UI.WinForms/Controls/TraitPicker.Designer.cs
+++ b/FrEee.UI.WinForms/Controls/TraitPicker.Designer.cs
@@ -20,46 +20,47 @@ protected override void Dispose(bool disposing)
base.Dispose(disposing);
}
- #region Component Designer generated code
+ #region Component Designer generated code
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- this.pnlTraits = new System.Windows.Forms.FlowLayoutPanel();
- this.toolTip = new System.Windows.Forms.ToolTip(this.components);
- this.SuspendLayout();
- //
- // pnlTraits
- //
- this.pnlTraits.AutoScroll = true;
- this.pnlTraits.Dock = System.Windows.Forms.DockStyle.Fill;
- this.pnlTraits.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
- this.pnlTraits.Location = new System.Drawing.Point(0, 0);
- this.pnlTraits.Name = "pnlTraits";
- this.pnlTraits.Size = new System.Drawing.Size(361, 473);
- this.pnlTraits.TabIndex = 0;
- this.pnlTraits.WrapContents = false;
- this.pnlTraits.SizeChanged += new System.EventHandler(this.pnlTraits_SizeChanged);
- //
- // TraitPicker
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.BackColor = System.Drawing.Color.Black;
- this.Controls.Add(this.pnlTraits);
- this.ForeColor = System.Drawing.Color.White;
- this.Name = "TraitPicker";
- this.Size = new System.Drawing.Size(361, 473);
- this.ResumeLayout(false);
-
- }
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ components = new System.ComponentModel.Container();
+ pnlTraits = new System.Windows.Forms.FlowLayoutPanel();
+ toolTip = new System.Windows.Forms.ToolTip(components);
+ SuspendLayout();
+ //
+ // pnlTraits
+ //
+ pnlTraits.AutoScroll = true;
+ pnlTraits.Dock = System.Windows.Forms.DockStyle.Fill;
+ pnlTraits.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
+ pnlTraits.Location = new System.Drawing.Point(0, 0);
+ pnlTraits.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ pnlTraits.Name = "pnlTraits";
+ pnlTraits.Size = new System.Drawing.Size(421, 546);
+ pnlTraits.TabIndex = 0;
+ pnlTraits.WrapContents = false;
+ pnlTraits.SizeChanged += pnlTraits_SizeChanged;
+ //
+ // TraitPicker
+ //
+ AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
+ AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ BackColor = System.Drawing.Color.Black;
+ Controls.Add(pnlTraits);
+ ForeColor = System.Drawing.Color.White;
+ Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ Name = "TraitPicker";
+ Size = new System.Drawing.Size(421, 546);
+ ResumeLayout(false);
+ }
- #endregion
+ #endregion
- private System.Windows.Forms.FlowLayoutPanel pnlTraits;
+ private System.Windows.Forms.FlowLayoutPanel pnlTraits;
private System.Windows.Forms.ToolTip toolTip;
}
diff --git a/FrEee.UI.WinForms/Controls/TraitPicker.cs b/FrEee.UI.WinForms/Controls/TraitPicker.cs
index b5abac6d0..8993a1787 100644
--- a/FrEee.UI.WinForms/Controls/TraitPicker.cs
+++ b/FrEee.UI.WinForms/Controls/TraitPicker.cs
@@ -42,6 +42,7 @@ public void Bind()
foreach (var trait in Traits)
{
var chk = new CheckBox();
+ chk.AutoSize = true;
chk.Text = "(" + trait.Cost + " pts) " + trait.Name;
chk.Tag = trait;
chk.CheckedChanged += chk_CheckedChanged;
diff --git a/FrEee.UI.WinForms/Controls/TraitPicker.resx b/FrEee.UI.WinForms/Controls/TraitPicker.resx
index 1ca1e9b0b..7b97417ea 100644
--- a/FrEee.UI.WinForms/Controls/TraitPicker.resx
+++ b/FrEee.UI.WinForms/Controls/TraitPicker.resx
@@ -1,17 +1,17 @@
-
diff --git a/FrEee.UI.WinForms/Forms/EmpireSetupForm.Designer.cs b/FrEee.UI.WinForms/Forms/EmpireSetupForm.Designer.cs
index 04edd52d0..7c2f0656f 100644
--- a/FrEee.UI.WinForms/Forms/EmpireSetupForm.Designer.cs
+++ b/FrEee.UI.WinForms/Forms/EmpireSetupForm.Designer.cs
@@ -20,773 +20,719 @@ protected override void Dispose(bool disposing)
base.Dispose(disposing);
}
- #region Windows Form Designer generated code
+ #region Windows Form Designer generated code
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.txtPointsAvailable = new System.Windows.Forms.Label();
- this.btnSaveRace = new FrEee.UI.WinForms.Controls.GameButton();
- this.btnLoadRace = new FrEee.UI.WinForms.Controls.GameButton();
- this.btnCancel = new FrEee.UI.WinForms.Controls.GameButton();
- this.btnOK = new FrEee.UI.WinForms.Controls.GameButton();
- this.tabGeneral = new System.Windows.Forms.TabPage();
- this.label2 = new System.Windows.Forms.Label();
- this.gamePanel1 = new FrEee.UI.WinForms.Controls.GamePanel();
- this.txtRaceHappiness = new System.Windows.Forms.Label();
- this.ddlRaceHappiness = new System.Windows.Forms.ComboBox();
- this.label19 = new System.Windows.Forms.Label();
- this.picRacePopulationIcon = new FrEee.UI.WinForms.Controls.Blazor.GamePictureBox();
- this.label18 = new System.Windows.Forms.Label();
- this.ddlRacePopulationIcon = new System.Windows.Forms.ComboBox();
- this.ddlRaceNativeAtmosphere = new System.Windows.Forms.ComboBox();
- this.label17 = new System.Windows.Forms.Label();
- this.txtRaceName = new System.Windows.Forms.TextBox();
- this.ddlRaceNativeSurface = new System.Windows.Forms.ComboBox();
- this.label13 = new System.Windows.Forms.Label();
- this.label15 = new System.Windows.Forms.Label();
- this.chkAIsCanUse = new System.Windows.Forms.CheckBox();
- this.label23 = new System.Windows.Forms.Label();
- this.btnCompareCultures = new FrEee.UI.WinForms.Controls.GameButton();
- this.txtCulture = new System.Windows.Forms.Label();
- this.label22 = new System.Windows.Forms.Label();
- this.ddlCulture = new System.Windows.Forms.ComboBox();
- this.ddlAI = new System.Windows.Forms.ComboBox();
- this.picShipset = new FrEee.UI.WinForms.Controls.Blazor.GamePictureBox();
- this.ddlShipset = new System.Windows.Forms.ComboBox();
- this.picInsignia = new FrEee.UI.WinForms.Controls.Blazor.GamePictureBox();
- this.ddlInsignia = new System.Windows.Forms.ComboBox();
- this.picColor = new FrEee.UI.WinForms.Controls.Blazor.GamePictureBox();
- this.spnColorBlue = new System.Windows.Forms.NumericUpDown();
- this.spnColorGreen = new System.Windows.Forms.NumericUpDown();
- this.spnColorRed = new System.Windows.Forms.NumericUpDown();
- this.picLeaderPortrait = new FrEee.UI.WinForms.Controls.Blazor.GamePictureBox();
- this.ddlLeaderPortrait = new System.Windows.Forms.ComboBox();
- this.txtLeaderName = new System.Windows.Forms.TextBox();
- this.txtName = new System.Windows.Forms.TextBox();
- this.label7 = new System.Windows.Forms.Label();
- this.label6 = new System.Windows.Forms.Label();
- this.label5 = new System.Windows.Forms.Label();
- this.label4 = new System.Windows.Forms.Label();
- this.label3 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
- this.label32 = new System.Windows.Forms.Label();
- this.tabAptitudes = new System.Windows.Forms.TabPage();
- this.aptitudePicker = new FrEee.UI.WinForms.Controls.AptitudePicker();
- this.tabTraits = new System.Windows.Forms.TabPage();
- this.raceTraitPicker = new FrEee.UI.WinForms.Controls.TraitPicker();
- this.tabs = new FrEee.UI.WinForms.Controls.GameTabControl();
- this.label8 = new System.Windows.Forms.Label();
- this.ddlDesignNames = new System.Windows.Forms.ComboBox();
- this.tabGeneral.SuspendLayout();
- this.gamePanel1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.picRacePopulationIcon)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.picShipset)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.picInsignia)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.picColor)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.spnColorBlue)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.spnColorGreen)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.spnColorRed)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.picLeaderPortrait)).BeginInit();
- this.tabAptitudes.SuspendLayout();
- this.tabTraits.SuspendLayout();
- this.tabs.SuspendLayout();
- this.SuspendLayout();
- //
- // txtPointsAvailable
- //
- this.txtPointsAvailable.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.txtPointsAvailable.Location = new System.Drawing.Point(183, 770);
- this.txtPointsAvailable.Name = "txtPointsAvailable";
- this.txtPointsAvailable.Size = new System.Drawing.Size(172, 17);
- this.txtPointsAvailable.TabIndex = 5;
- this.txtPointsAvailable.Text = "Points Available: 0 / 0";
- this.txtPointsAvailable.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // btnSaveRace
- //
- this.btnSaveRace.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.btnSaveRace.BackColor = System.Drawing.Color.Black;
- this.btnSaveRace.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.btnSaveRace.Location = new System.Drawing.Point(96, 767);
- this.btnSaveRace.Name = "btnSaveRace";
- this.btnSaveRace.Size = new System.Drawing.Size(80, 22);
- this.btnSaveRace.TabIndex = 2;
- this.btnSaveRace.Text = "Save Race";
- this.btnSaveRace.UseVisualStyleBackColor = false;
- this.btnSaveRace.Click += new System.EventHandler(this.btnSaveRace_Click);
- //
- // btnLoadRace
- //
- this.btnLoadRace.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.btnLoadRace.BackColor = System.Drawing.Color.Black;
- this.btnLoadRace.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.btnLoadRace.Location = new System.Drawing.Point(10, 767);
- this.btnLoadRace.Name = "btnLoadRace";
- this.btnLoadRace.Size = new System.Drawing.Size(80, 22);
- this.btnLoadRace.TabIndex = 1;
- this.btnLoadRace.Text = "Load Race";
- this.btnLoadRace.UseVisualStyleBackColor = false;
- this.btnLoadRace.Click += new System.EventHandler(this.btnLoadRace_Click);
- //
- // btnCancel
- //
- this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnCancel.BackColor = System.Drawing.Color.Black;
- this.btnCancel.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.btnCancel.Location = new System.Drawing.Point(362, 767);
- this.btnCancel.Name = "btnCancel";
- this.btnCancel.Size = new System.Drawing.Size(80, 22);
- this.btnCancel.TabIndex = 3;
- this.btnCancel.Text = "Cancel";
- this.btnCancel.UseVisualStyleBackColor = false;
- this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
- //
- // btnOK
- //
- this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnOK.BackColor = System.Drawing.Color.Black;
- this.btnOK.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.btnOK.Location = new System.Drawing.Point(448, 767);
- this.btnOK.Name = "btnOK";
- this.btnOK.Size = new System.Drawing.Size(80, 22);
- this.btnOK.TabIndex = 4;
- this.btnOK.Text = "OK";
- this.btnOK.UseVisualStyleBackColor = false;
- this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
- //
- // tabGeneral
- //
- this.tabGeneral.BackColor = System.Drawing.Color.Black;
- this.tabGeneral.Controls.Add(this.label8);
- this.tabGeneral.Controls.Add(this.ddlDesignNames);
- this.tabGeneral.Controls.Add(this.label2);
- this.tabGeneral.Controls.Add(this.gamePanel1);
- this.tabGeneral.Controls.Add(this.chkAIsCanUse);
- this.tabGeneral.Controls.Add(this.label23);
- this.tabGeneral.Controls.Add(this.btnCompareCultures);
- this.tabGeneral.Controls.Add(this.txtCulture);
- this.tabGeneral.Controls.Add(this.label22);
- this.tabGeneral.Controls.Add(this.ddlCulture);
- this.tabGeneral.Controls.Add(this.ddlAI);
- this.tabGeneral.Controls.Add(this.picShipset);
- this.tabGeneral.Controls.Add(this.ddlShipset);
- this.tabGeneral.Controls.Add(this.picInsignia);
- this.tabGeneral.Controls.Add(this.ddlInsignia);
- this.tabGeneral.Controls.Add(this.picColor);
- this.tabGeneral.Controls.Add(this.spnColorBlue);
- this.tabGeneral.Controls.Add(this.spnColorGreen);
- this.tabGeneral.Controls.Add(this.spnColorRed);
- this.tabGeneral.Controls.Add(this.picLeaderPortrait);
- this.tabGeneral.Controls.Add(this.ddlLeaderPortrait);
- this.tabGeneral.Controls.Add(this.txtLeaderName);
- this.tabGeneral.Controls.Add(this.txtName);
- this.tabGeneral.Controls.Add(this.label7);
- this.tabGeneral.Controls.Add(this.label6);
- this.tabGeneral.Controls.Add(this.label5);
- this.tabGeneral.Controls.Add(this.label4);
- this.tabGeneral.Controls.Add(this.label3);
- this.tabGeneral.Controls.Add(this.label1);
- this.tabGeneral.Controls.Add(this.label32);
- this.tabGeneral.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.tabGeneral.Location = new System.Drawing.Point(4, 29);
- this.tabGeneral.Name = "tabGeneral";
- this.tabGeneral.Padding = new System.Windows.Forms.Padding(3);
- this.tabGeneral.Size = new System.Drawing.Size(519, 722);
- this.tabGeneral.TabIndex = 0;
- this.tabGeneral.Text = "General";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label2.Location = new System.Drawing.Point(9, 463);
- this.label2.Margin = new System.Windows.Forms.Padding(3);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(81, 15);
- this.label2.TabIndex = 15;
- this.label2.Text = "Primary Race";
- //
- // gamePanel1
- //
- this.gamePanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.gamePanel1.BackColor = System.Drawing.Color.Black;
- this.gamePanel1.BorderColor = System.Drawing.Color.CornflowerBlue;
- this.gamePanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.gamePanel1.Controls.Add(this.txtRaceHappiness);
- this.gamePanel1.Controls.Add(this.ddlRaceHappiness);
- this.gamePanel1.Controls.Add(this.label19);
- this.gamePanel1.Controls.Add(this.picRacePopulationIcon);
- this.gamePanel1.Controls.Add(this.label18);
- this.gamePanel1.Controls.Add(this.ddlRacePopulationIcon);
- this.gamePanel1.Controls.Add(this.ddlRaceNativeAtmosphere);
- this.gamePanel1.Controls.Add(this.label17);
- this.gamePanel1.Controls.Add(this.txtRaceName);
- this.gamePanel1.Controls.Add(this.ddlRaceNativeSurface);
- this.gamePanel1.Controls.Add(this.label13);
- this.gamePanel1.Controls.Add(this.label15);
- this.gamePanel1.ForeColor = System.Drawing.Color.White;
- this.gamePanel1.Location = new System.Drawing.Point(9, 484);
- this.gamePanel1.Name = "gamePanel1";
- this.gamePanel1.Padding = new System.Windows.Forms.Padding(3);
- this.gamePanel1.Size = new System.Drawing.Size(494, 232);
- this.gamePanel1.TabIndex = 98;
- //
- // txtRaceHappiness
- //
- this.txtRaceHappiness.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)));
- this.txtRaceHappiness.Location = new System.Drawing.Point(25, 143);
- this.txtRaceHappiness.Name = "txtRaceHappiness";
- this.txtRaceHappiness.Size = new System.Drawing.Size(297, 84);
- this.txtRaceHappiness.TabIndex = 99;
- this.txtRaceHappiness.Text = "Please choose a happiness model.";
- //
- // ddlRaceHappiness
- //
- this.ddlRaceHappiness.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.ddlRaceHappiness.FormattingEnabled = true;
- this.ddlRaceHappiness.Location = new System.Drawing.Point(141, 119);
- this.ddlRaceHappiness.Name = "ddlRaceHappiness";
- this.ddlRaceHappiness.Size = new System.Drawing.Size(180, 23);
- this.ddlRaceHappiness.TabIndex = 92;
- //
- // label19
- //
- this.label19.AutoSize = true;
- this.label19.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label19.Location = new System.Drawing.Point(9, 122);
- this.label19.Margin = new System.Windows.Forms.Padding(3);
- this.label19.Name = "label19";
- this.label19.Size = new System.Drawing.Size(66, 15);
- this.label19.TabIndex = 98;
- this.label19.Text = "Happiness";
- //
- // picRacePopulationIcon
- //
- this.picRacePopulationIcon.Location = new System.Drawing.Point(328, 33);
- this.picRacePopulationIcon.Name = "picRacePopulationIcon";
- this.picRacePopulationIcon.Size = new System.Drawing.Size(22, 20);
- this.picRacePopulationIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
- this.picRacePopulationIcon.TabIndex = 97;
- this.picRacePopulationIcon.TabStop = false;
- //
- // label18
- //
- this.label18.AutoSize = true;
- this.label18.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label18.Location = new System.Drawing.Point(10, 36);
- this.label18.Margin = new System.Windows.Forms.Padding(3);
- this.label18.Name = "label18";
- this.label18.Size = new System.Drawing.Size(92, 15);
- this.label18.TabIndex = 96;
- this.label18.Text = "Population Icon";
- //
- // ddlRacePopulationIcon
- //
- this.ddlRacePopulationIcon.FormattingEnabled = true;
- this.ddlRacePopulationIcon.Location = new System.Drawing.Point(142, 33);
- this.ddlRacePopulationIcon.Name = "ddlRacePopulationIcon";
- this.ddlRacePopulationIcon.Size = new System.Drawing.Size(180, 23);
- this.ddlRacePopulationIcon.TabIndex = 89;
- this.ddlRacePopulationIcon.TextChanged += new System.EventHandler(this.ddlRacePopulationIcon_TextChanged);
- this.ddlRacePopulationIcon.Leave += new System.EventHandler(this.ddlPic_Leave);
- //
- // ddlRaceNativeAtmosphere
- //
- this.ddlRaceNativeAtmosphere.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.ddlRaceNativeAtmosphere.FormattingEnabled = true;
- this.ddlRaceNativeAtmosphere.Location = new System.Drawing.Point(142, 90);
- this.ddlRaceNativeAtmosphere.Name = "ddlRaceNativeAtmosphere";
- this.ddlRaceNativeAtmosphere.Size = new System.Drawing.Size(180, 23);
- this.ddlRaceNativeAtmosphere.TabIndex = 91;
- //
- // label17
- //
- this.label17.AutoSize = true;
- this.label17.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label17.Location = new System.Drawing.Point(10, 93);
- this.label17.Margin = new System.Windows.Forms.Padding(3);
- this.label17.Name = "label17";
- this.label17.Size = new System.Drawing.Size(110, 15);
- this.label17.TabIndex = 95;
- this.label17.Text = "Native Atmosphere";
- //
- // txtRaceName
- //
- this.txtRaceName.Location = new System.Drawing.Point(141, 6);
- this.txtRaceName.Name = "txtRaceName";
- this.txtRaceName.Size = new System.Drawing.Size(180, 21);
- this.txtRaceName.TabIndex = 88;
- //
- // ddlRaceNativeSurface
- //
- this.ddlRaceNativeSurface.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.ddlRaceNativeSurface.FormattingEnabled = true;
- this.ddlRaceNativeSurface.Location = new System.Drawing.Point(142, 61);
- this.ddlRaceNativeSurface.Name = "ddlRaceNativeSurface";
- this.ddlRaceNativeSurface.Size = new System.Drawing.Size(180, 23);
- this.ddlRaceNativeSurface.TabIndex = 90;
- //
- // label13
- //
- this.label13.AutoSize = true;
- this.label13.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label13.Location = new System.Drawing.Point(10, 64);
- this.label13.Margin = new System.Windows.Forms.Padding(3);
- this.label13.Name = "label13";
- this.label13.Size = new System.Drawing.Size(86, 15);
- this.label13.TabIndex = 94;
- this.label13.Text = "Native Surface";
- //
- // label15
- //
- this.label15.AutoSize = true;
- this.label15.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label15.Location = new System.Drawing.Point(9, 9);
- this.label15.Margin = new System.Windows.Forms.Padding(3);
- this.label15.Name = "label15";
- this.label15.Size = new System.Drawing.Size(41, 15);
- this.label15.TabIndex = 93;
- this.label15.Text = "Name";
- //
- // chkAIsCanUse
- //
- this.chkAIsCanUse.AutoSize = true;
- this.chkAIsCanUse.Location = new System.Drawing.Point(138, 30);
- this.chkAIsCanUse.Name = "chkAIsCanUse";
- this.chkAIsCanUse.Size = new System.Drawing.Size(55, 19);
- this.chkAIsCanUse.TabIndex = 2;
- this.chkAIsCanUse.Text = "Allow";
- this.chkAIsCanUse.UseVisualStyleBackColor = true;
- //
- // label23
- //
- this.label23.AutoSize = true;
- this.label23.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label23.Location = new System.Drawing.Point(9, 30);
- this.label23.Margin = new System.Windows.Forms.Padding(3);
- this.label23.Name = "label23";
- this.label23.Size = new System.Drawing.Size(116, 15);
- this.label23.TabIndex = 97;
- this.label23.Text = "AI Empires Can Use";
- //
- // btnCompareCultures
- //
- this.btnCompareCultures.BackColor = System.Drawing.Color.Black;
- this.btnCompareCultures.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.btnCompareCultures.Location = new System.Drawing.Point(238, 293);
- this.btnCompareCultures.Name = "btnCompareCultures";
- this.btnCompareCultures.Size = new System.Drawing.Size(80, 22);
- this.btnCompareCultures.TabIndex = 21;
- this.btnCompareCultures.Text = "Compare";
- this.btnCompareCultures.UseVisualStyleBackColor = false;
- this.btnCompareCultures.Click += new System.EventHandler(this.btnCompareCultures_Click);
- //
- // txtCulture
- //
- this.txtCulture.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)));
- this.txtCulture.Location = new System.Drawing.Point(22, 291);
- this.txtCulture.Name = "txtCulture";
- this.txtCulture.Size = new System.Drawing.Size(210, 140);
- this.txtCulture.TabIndex = 94;
- this.txtCulture.Text = "Please choose a culture.";
- //
- // label22
- //
- this.label22.AutoSize = true;
- this.label22.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label22.Location = new System.Drawing.Point(9, 267);
- this.label22.Margin = new System.Windows.Forms.Padding(3);
- this.label22.Name = "label22";
- this.label22.Size = new System.Drawing.Size(46, 15);
- this.label22.TabIndex = 93;
- this.label22.Text = "Culture";
- //
- // ddlCulture
- //
- this.ddlCulture.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.ddlCulture.FormattingEnabled = true;
- this.ddlCulture.Location = new System.Drawing.Point(138, 264);
- this.ddlCulture.Name = "ddlCulture";
- this.ddlCulture.Size = new System.Drawing.Size(180, 23);
- this.ddlCulture.TabIndex = 19;
- this.ddlCulture.SelectedIndexChanged += new System.EventHandler(this.ddlCulture_SelectedIndexChanged);
- //
- // ddlAI
- //
- this.ddlAI.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.ddlAI.FormattingEnabled = true;
- this.ddlAI.Location = new System.Drawing.Point(138, 235);
- this.ddlAI.Name = "ddlAI";
- this.ddlAI.Size = new System.Drawing.Size(180, 23);
- this.ddlAI.TabIndex = 15;
- //
- // picShipset
- //
- this.picShipset.Location = new System.Drawing.Point(324, 206);
- this.picShipset.Name = "picShipset";
- this.picShipset.Size = new System.Drawing.Size(137, 126);
- this.picShipset.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
- this.picShipset.TabIndex = 41;
- this.picShipset.TabStop = false;
- //
- // ddlShipset
- //
- this.ddlShipset.FormattingEnabled = true;
- this.ddlShipset.Location = new System.Drawing.Point(138, 206);
- this.ddlShipset.Name = "ddlShipset";
- this.ddlShipset.Size = new System.Drawing.Size(180, 23);
- this.ddlShipset.TabIndex = 13;
- this.ddlShipset.TextChanged += new System.EventHandler(this.ddlShipset_TextChanged);
- this.ddlShipset.Leave += new System.EventHandler(this.ddlPic_Leave);
- //
- // picInsignia
- //
- this.picInsignia.Location = new System.Drawing.Point(322, 178);
- this.picInsignia.Name = "picInsignia";
- this.picInsignia.Size = new System.Drawing.Size(22, 20);
- this.picInsignia.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
- this.picInsignia.TabIndex = 38;
- this.picInsignia.TabStop = false;
- //
- // ddlInsignia
- //
- this.ddlInsignia.FormattingEnabled = true;
- this.ddlInsignia.Location = new System.Drawing.Point(138, 178);
- this.ddlInsignia.Name = "ddlInsignia";
- this.ddlInsignia.Size = new System.Drawing.Size(180, 23);
- this.ddlInsignia.TabIndex = 11;
- this.ddlInsignia.TextChanged += new System.EventHandler(this.ddlInsignia_TextChanged);
- this.ddlInsignia.Leave += new System.EventHandler(this.ddlPic_Leave);
- //
- // picColor
- //
- this.picColor.Location = new System.Drawing.Point(324, 152);
- this.picColor.Name = "picColor";
- this.picColor.Size = new System.Drawing.Size(22, 20);
- this.picColor.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
- this.picColor.TabIndex = 35;
- this.picColor.TabStop = false;
- //
- // spnColorBlue
- //
- this.spnColorBlue.Increment = new decimal(new int[] {
- 85,
- 0,
- 0,
- 0});
- this.spnColorBlue.Location = new System.Drawing.Point(253, 152);
- this.spnColorBlue.Maximum = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.spnColorBlue.Name = "spnColorBlue";
- this.spnColorBlue.Size = new System.Drawing.Size(51, 21);
- this.spnColorBlue.TabIndex = 9;
- this.spnColorBlue.Value = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.spnColorBlue.ValueChanged += new System.EventHandler(this.spnColor_ValueChanged);
- this.spnColorBlue.Leave += new System.EventHandler(this.spnColor_Leave);
- //
- // spnColorGreen
- //
- this.spnColorGreen.Increment = new decimal(new int[] {
- 85,
- 0,
- 0,
- 0});
- this.spnColorGreen.Location = new System.Drawing.Point(195, 152);
- this.spnColorGreen.Maximum = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.spnColorGreen.Name = "spnColorGreen";
- this.spnColorGreen.Size = new System.Drawing.Size(51, 21);
- this.spnColorGreen.TabIndex = 8;
- this.spnColorGreen.Value = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.spnColorGreen.ValueChanged += new System.EventHandler(this.spnColor_ValueChanged);
- this.spnColorGreen.Leave += new System.EventHandler(this.spnColor_Leave);
- //
- // spnColorRed
- //
- this.spnColorRed.Increment = new decimal(new int[] {
- 85,
- 0,
- 0,
- 0});
- this.spnColorRed.Location = new System.Drawing.Point(138, 152);
- this.spnColorRed.Maximum = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.spnColorRed.Name = "spnColorRed";
- this.spnColorRed.Size = new System.Drawing.Size(51, 21);
- this.spnColorRed.TabIndex = 7;
- this.spnColorRed.Value = new decimal(new int[] {
- 255,
- 0,
- 0,
- 0});
- this.spnColorRed.ValueChanged += new System.EventHandler(this.spnColor_ValueChanged);
- this.spnColorRed.Leave += new System.EventHandler(this.spnColor_Leave);
- //
- // picLeaderPortrait
- //
- this.picLeaderPortrait.Location = new System.Drawing.Point(324, 82);
- this.picLeaderPortrait.Name = "picLeaderPortrait";
- this.picLeaderPortrait.Size = new System.Drawing.Size(68, 63);
- this.picLeaderPortrait.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
- this.picLeaderPortrait.TabIndex = 25;
- this.picLeaderPortrait.TabStop = false;
- //
- // ddlLeaderPortrait
- //
- this.ddlLeaderPortrait.FormattingEnabled = true;
- this.ddlLeaderPortrait.Location = new System.Drawing.Point(138, 82);
- this.ddlLeaderPortrait.Name = "ddlLeaderPortrait";
- this.ddlLeaderPortrait.Size = new System.Drawing.Size(180, 23);
- this.ddlLeaderPortrait.TabIndex = 5;
- this.ddlLeaderPortrait.TextChanged += new System.EventHandler(this.ddlLeaderPortrait_TextChanged);
- this.ddlLeaderPortrait.Leave += new System.EventHandler(this.ddlPic_Leave);
- //
- // txtLeaderName
- //
- this.txtLeaderName.Location = new System.Drawing.Point(138, 54);
- this.txtLeaderName.Name = "txtLeaderName";
- this.txtLeaderName.Size = new System.Drawing.Size(180, 21);
- this.txtLeaderName.TabIndex = 3;
- //
- // txtName
- //
- this.txtName.Location = new System.Drawing.Point(138, 3);
- this.txtName.Name = "txtName";
- this.txtName.Size = new System.Drawing.Size(180, 21);
- this.txtName.TabIndex = 0;
- //
- // label7
- //
- this.label7.AutoSize = true;
- this.label7.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label7.Location = new System.Drawing.Point(9, 238);
- this.label7.Margin = new System.Windows.Forms.Padding(3);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(17, 15);
- this.label7.TabIndex = 21;
- this.label7.Text = "AI";
- //
- // label6
- //
- this.label6.AutoSize = true;
- this.label6.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label6.Location = new System.Drawing.Point(6, 85);
- this.label6.Margin = new System.Windows.Forms.Padding(3);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(88, 15);
- this.label6.TabIndex = 20;
- this.label6.Text = "Leader Portrait";
- //
- // label5
- //
- this.label5.AutoSize = true;
- this.label5.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label5.Location = new System.Drawing.Point(9, 210);
- this.label5.Margin = new System.Windows.Forms.Padding(3);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(48, 15);
- this.label5.TabIndex = 19;
- this.label5.Text = "Shipset";
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label4.Location = new System.Drawing.Point(6, 181);
- this.label4.Margin = new System.Windows.Forms.Padding(3);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(50, 15);
- this.label4.TabIndex = 18;
- this.label4.Text = "Insignia";
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label3.Location = new System.Drawing.Point(6, 154);
- this.label3.Margin = new System.Windows.Forms.Padding(3);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(65, 15);
- this.label3.TabIndex = 17;
- this.label3.Text = "Color RGB";
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label1.Location = new System.Drawing.Point(6, 57);
- this.label1.Margin = new System.Windows.Forms.Padding(3);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(83, 15);
- this.label1.TabIndex = 15;
- this.label1.Text = "Leader Name";
- //
- // label32
- //
- this.label32.AutoSize = true;
- this.label32.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label32.Location = new System.Drawing.Point(6, 6);
- this.label32.Margin = new System.Windows.Forms.Padding(3);
- this.label32.Name = "label32";
- this.label32.Size = new System.Drawing.Size(41, 15);
- this.label32.TabIndex = 14;
- this.label32.Text = "Name";
- //
- // tabAptitudes
- //
- this.tabAptitudes.BackColor = System.Drawing.Color.Black;
- this.tabAptitudes.Controls.Add(this.aptitudePicker);
- this.tabAptitudes.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.tabAptitudes.Location = new System.Drawing.Point(4, 29);
- this.tabAptitudes.Name = "tabAptitudes";
- this.tabAptitudes.Padding = new System.Windows.Forms.Padding(3);
- this.tabAptitudes.Size = new System.Drawing.Size(519, 642);
- this.tabAptitudes.TabIndex = 4;
- this.tabAptitudes.Text = "Aptitudes";
- //
- // aptitudePicker
- //
- this.aptitudePicker.BackColor = System.Drawing.Color.Black;
- this.aptitudePicker.Dock = System.Windows.Forms.DockStyle.Fill;
- this.aptitudePicker.ForeColor = System.Drawing.Color.White;
- this.aptitudePicker.Location = new System.Drawing.Point(3, 3);
- this.aptitudePicker.Margin = new System.Windows.Forms.Padding(4);
- this.aptitudePicker.Name = "aptitudePicker";
- this.aptitudePicker.Size = new System.Drawing.Size(513, 636);
- this.aptitudePicker.TabIndex = 0;
- this.aptitudePicker.Values = null;
- this.aptitudePicker.AptitudeValueChanged += new FrEee.UI.WinForms.Controls.AptitudePicker.AptitudeValueChangedDelegate(this.aptitudePicker_AptitudeValueChanged);
- //
- // tabTraits
- //
- this.tabTraits.BackColor = System.Drawing.Color.Black;
- this.tabTraits.Controls.Add(this.raceTraitPicker);
- this.tabTraits.Location = new System.Drawing.Point(4, 29);
- this.tabTraits.Name = "tabTraits";
- this.tabTraits.Size = new System.Drawing.Size(519, 722);
- this.tabTraits.TabIndex = 5;
- this.tabTraits.Text = "Traits";
- //
- // raceTraitPicker
- //
- this.raceTraitPicker.BackColor = System.Drawing.Color.Black;
- this.raceTraitPicker.Dock = System.Windows.Forms.DockStyle.Fill;
- this.raceTraitPicker.ForeColor = System.Drawing.Color.White;
- this.raceTraitPicker.Location = new System.Drawing.Point(0, 0);
- this.raceTraitPicker.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.raceTraitPicker.Name = "raceTraitPicker";
- this.raceTraitPicker.Size = new System.Drawing.Size(519, 722);
- this.raceTraitPicker.TabIndex = 0;
- this.raceTraitPicker.Traits = null;
- this.raceTraitPicker.TraitToggled += new FrEee.UI.WinForms.Controls.TraitPicker.TraitToggledDelegate(this.raceTraitPicker_TraitToggled);
- //
- // tabs
- //
- this.tabs.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.tabs.Controls.Add(this.tabGeneral);
- this.tabs.Controls.Add(this.tabTraits);
- this.tabs.Controls.Add(this.tabAptitudes);
- this.tabs.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
- this.tabs.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.tabs.Location = new System.Drawing.Point(10, 9);
- this.tabs.Margin = new System.Windows.Forms.Padding(0);
- this.tabs.Name = "tabs";
- this.tabs.SelectedIndex = 0;
- this.tabs.SelectedTabBackColor = System.Drawing.Color.CornflowerBlue;
- this.tabs.SelectedTabForeColor = System.Drawing.Color.Black;
- this.tabs.Size = new System.Drawing.Size(527, 755);
- this.tabs.TabBackColor = System.Drawing.Color.Black;
- this.tabs.TabBorderColor = System.Drawing.Color.CornflowerBlue;
- this.tabs.TabForeColor = System.Drawing.Color.CornflowerBlue;
- this.tabs.TabIndex = 0;
- //
- // label8
- //
- this.label8.AutoSize = true;
- this.label8.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label8.Location = new System.Drawing.Point(9, 437);
- this.label8.Margin = new System.Windows.Forms.Padding(3);
- this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(89, 15);
- this.label8.TabIndex = 100;
- this.label8.Text = "Design Names";
- //
- // ddlDesignNames
- //
- this.ddlDesignNames.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.ddlDesignNames.FormattingEnabled = true;
- this.ddlDesignNames.Location = new System.Drawing.Point(138, 434);
- this.ddlDesignNames.Name = "ddlDesignNames";
- this.ddlDesignNames.Size = new System.Drawing.Size(180, 23);
- this.ddlDesignNames.TabIndex = 99;
- //
- // EmpireSetupForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
- this.BackColor = System.Drawing.Color.Black;
- this.ClientSize = new System.Drawing.Size(546, 802);
- this.Controls.Add(this.txtPointsAvailable);
- this.Controls.Add(this.btnSaveRace);
- this.Controls.Add(this.btnLoadRace);
- this.Controls.Add(this.btnCancel);
- this.Controls.Add(this.btnOK);
- this.Controls.Add(this.tabs);
- this.Name = "EmpireSetupForm";
- this.ShowInTaskbar = false;
- this.Text = "Empire Setup";
- this.tabGeneral.ResumeLayout(false);
- this.tabGeneral.PerformLayout();
- this.gamePanel1.ResumeLayout(false);
- this.gamePanel1.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.picRacePopulationIcon)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.picShipset)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.picInsignia)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.picColor)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.spnColorBlue)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.spnColorGreen)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.spnColorRed)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.picLeaderPortrait)).EndInit();
- this.tabAptitudes.ResumeLayout(false);
- this.tabTraits.ResumeLayout(false);
- this.tabs.ResumeLayout(false);
- this.ResumeLayout(false);
-
- }
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EmpireSetupForm));
+ txtPointsAvailable = new System.Windows.Forms.Label();
+ btnCancel = new Controls.GameButton();
+ btnOK = new Controls.GameButton();
+ tabGeneral = new System.Windows.Forms.TabPage();
+ label8 = new System.Windows.Forms.Label();
+ ddlDesignNames = new System.Windows.Forms.ComboBox();
+ label2 = new System.Windows.Forms.Label();
+ gamePanel1 = new Controls.GamePanel();
+ txtRaceHappiness = new System.Windows.Forms.Label();
+ ddlRaceHappiness = new System.Windows.Forms.ComboBox();
+ label19 = new System.Windows.Forms.Label();
+ picRacePopulationIcon = new Controls.Blazor.GamePictureBox();
+ label18 = new System.Windows.Forms.Label();
+ ddlRacePopulationIcon = new System.Windows.Forms.ComboBox();
+ ddlRaceNativeAtmosphere = new System.Windows.Forms.ComboBox();
+ label17 = new System.Windows.Forms.Label();
+ txtRaceName = new System.Windows.Forms.TextBox();
+ ddlRaceNativeSurface = new System.Windows.Forms.ComboBox();
+ label13 = new System.Windows.Forms.Label();
+ label15 = new System.Windows.Forms.Label();
+ chkAIsCanUse = new System.Windows.Forms.CheckBox();
+ label23 = new System.Windows.Forms.Label();
+ btnCompareCultures = new Controls.GameButton();
+ txtCulture = new System.Windows.Forms.Label();
+ label22 = new System.Windows.Forms.Label();
+ ddlCulture = new System.Windows.Forms.ComboBox();
+ ddlAI = new System.Windows.Forms.ComboBox();
+ picShipset = new Controls.Blazor.GamePictureBox();
+ ddlShipset = new System.Windows.Forms.ComboBox();
+ picInsignia = new Controls.Blazor.GamePictureBox();
+ ddlInsignia = new System.Windows.Forms.ComboBox();
+ picColor = new Controls.Blazor.GamePictureBox();
+ spnColorBlue = new System.Windows.Forms.NumericUpDown();
+ spnColorGreen = new System.Windows.Forms.NumericUpDown();
+ spnColorRed = new System.Windows.Forms.NumericUpDown();
+ picLeaderPortrait = new Controls.Blazor.GamePictureBox();
+ ddlLeaderPortrait = new System.Windows.Forms.ComboBox();
+ txtLeaderName = new System.Windows.Forms.TextBox();
+ txtName = new System.Windows.Forms.TextBox();
+ label7 = new System.Windows.Forms.Label();
+ label6 = new System.Windows.Forms.Label();
+ label5 = new System.Windows.Forms.Label();
+ label4 = new System.Windows.Forms.Label();
+ label3 = new System.Windows.Forms.Label();
+ label1 = new System.Windows.Forms.Label();
+ label32 = new System.Windows.Forms.Label();
+ tabAptitudes = new System.Windows.Forms.TabPage();
+ aptitudePicker = new Controls.AptitudePicker();
+ tabTraits = new System.Windows.Forms.TabPage();
+ raceTraitPicker = new Controls.TraitPicker();
+ tabs = new Controls.GameTabControl();
+ tabGeneral.SuspendLayout();
+ gamePanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)picRacePopulationIcon).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)picShipset).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)picInsignia).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)picColor).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)spnColorBlue).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)spnColorGreen).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)spnColorRed).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)picLeaderPortrait).BeginInit();
+ tabAptitudes.SuspendLayout();
+ tabTraits.SuspendLayout();
+ tabs.SuspendLayout();
+ SuspendLayout();
+ //
+ // txtPointsAvailable
+ //
+ txtPointsAvailable.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
+ txtPointsAvailable.Location = new System.Drawing.Point(183, 770);
+ txtPointsAvailable.Name = "txtPointsAvailable";
+ txtPointsAvailable.Size = new System.Drawing.Size(172, 17);
+ txtPointsAvailable.TabIndex = 5;
+ txtPointsAvailable.Text = "Points Available: 0 / 0";
+ txtPointsAvailable.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // btnCancel
+ //
+ btnCancel.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
+ btnCancel.BackColor = System.Drawing.Color.Black;
+ btnCancel.ForeColor = System.Drawing.Color.CornflowerBlue;
+ btnCancel.Location = new System.Drawing.Point(362, 767);
+ btnCancel.Name = "btnCancel";
+ btnCancel.Size = new System.Drawing.Size(80, 22);
+ btnCancel.TabIndex = 3;
+ btnCancel.Text = "Cancel";
+ btnCancel.UseVisualStyleBackColor = false;
+ btnCancel.Click += btnCancel_Click;
+ //
+ // btnOK
+ //
+ btnOK.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
+ btnOK.BackColor = System.Drawing.Color.Black;
+ btnOK.ForeColor = System.Drawing.Color.CornflowerBlue;
+ btnOK.Location = new System.Drawing.Point(448, 767);
+ btnOK.Name = "btnOK";
+ btnOK.Size = new System.Drawing.Size(80, 22);
+ btnOK.TabIndex = 4;
+ btnOK.Text = "OK";
+ btnOK.UseVisualStyleBackColor = false;
+ btnOK.Click += btnOK_Click;
+ //
+ // tabGeneral
+ //
+ tabGeneral.BackColor = System.Drawing.Color.Black;
+ tabGeneral.Controls.Add(label8);
+ tabGeneral.Controls.Add(ddlDesignNames);
+ tabGeneral.Controls.Add(label2);
+ tabGeneral.Controls.Add(gamePanel1);
+ tabGeneral.Controls.Add(chkAIsCanUse);
+ tabGeneral.Controls.Add(label23);
+ tabGeneral.Controls.Add(btnCompareCultures);
+ tabGeneral.Controls.Add(txtCulture);
+ tabGeneral.Controls.Add(label22);
+ tabGeneral.Controls.Add(ddlCulture);
+ tabGeneral.Controls.Add(ddlAI);
+ tabGeneral.Controls.Add(picShipset);
+ tabGeneral.Controls.Add(ddlShipset);
+ tabGeneral.Controls.Add(picInsignia);
+ tabGeneral.Controls.Add(ddlInsignia);
+ tabGeneral.Controls.Add(picColor);
+ tabGeneral.Controls.Add(spnColorBlue);
+ tabGeneral.Controls.Add(spnColorGreen);
+ tabGeneral.Controls.Add(spnColorRed);
+ tabGeneral.Controls.Add(picLeaderPortrait);
+ tabGeneral.Controls.Add(ddlLeaderPortrait);
+ tabGeneral.Controls.Add(txtLeaderName);
+ tabGeneral.Controls.Add(txtName);
+ tabGeneral.Controls.Add(label7);
+ tabGeneral.Controls.Add(label6);
+ tabGeneral.Controls.Add(label5);
+ tabGeneral.Controls.Add(label4);
+ tabGeneral.Controls.Add(label3);
+ tabGeneral.Controls.Add(label1);
+ tabGeneral.Controls.Add(label32);
+ tabGeneral.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
+ tabGeneral.Location = new System.Drawing.Point(4, 29);
+ tabGeneral.Name = "tabGeneral";
+ tabGeneral.Padding = new System.Windows.Forms.Padding(3);
+ tabGeneral.Size = new System.Drawing.Size(519, 722);
+ tabGeneral.TabIndex = 0;
+ tabGeneral.Text = "General";
+ //
+ // label8
+ //
+ label8.AutoSize = true;
+ label8.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label8.Location = new System.Drawing.Point(9, 437);
+ label8.Margin = new System.Windows.Forms.Padding(3);
+ label8.Name = "label8";
+ label8.Size = new System.Drawing.Size(89, 15);
+ label8.TabIndex = 100;
+ label8.Text = "Design Names";
+ //
+ // ddlDesignNames
+ //
+ ddlDesignNames.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ ddlDesignNames.FormattingEnabled = true;
+ ddlDesignNames.Location = new System.Drawing.Point(138, 434);
+ ddlDesignNames.Name = "ddlDesignNames";
+ ddlDesignNames.Size = new System.Drawing.Size(180, 23);
+ ddlDesignNames.TabIndex = 99;
+ //
+ // label2
+ //
+ label2.AutoSize = true;
+ label2.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label2.Location = new System.Drawing.Point(9, 463);
+ label2.Margin = new System.Windows.Forms.Padding(3);
+ label2.Name = "label2";
+ label2.Size = new System.Drawing.Size(81, 15);
+ label2.TabIndex = 15;
+ label2.Text = "Primary Race";
+ //
+ // gamePanel1
+ //
+ gamePanel1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
+ gamePanel1.BackColor = System.Drawing.Color.Black;
+ gamePanel1.BorderColor = System.Drawing.Color.CornflowerBlue;
+ gamePanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ gamePanel1.Controls.Add(txtRaceHappiness);
+ gamePanel1.Controls.Add(ddlRaceHappiness);
+ gamePanel1.Controls.Add(label19);
+ gamePanel1.Controls.Add(picRacePopulationIcon);
+ gamePanel1.Controls.Add(label18);
+ gamePanel1.Controls.Add(ddlRacePopulationIcon);
+ gamePanel1.Controls.Add(ddlRaceNativeAtmosphere);
+ gamePanel1.Controls.Add(label17);
+ gamePanel1.Controls.Add(txtRaceName);
+ gamePanel1.Controls.Add(ddlRaceNativeSurface);
+ gamePanel1.Controls.Add(label13);
+ gamePanel1.Controls.Add(label15);
+ gamePanel1.ForeColor = System.Drawing.Color.White;
+ gamePanel1.Location = new System.Drawing.Point(9, 484);
+ gamePanel1.Name = "gamePanel1";
+ gamePanel1.Padding = new System.Windows.Forms.Padding(3);
+ gamePanel1.Size = new System.Drawing.Size(494, 232);
+ gamePanel1.TabIndex = 98;
+ //
+ // txtRaceHappiness
+ //
+ txtRaceHappiness.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
+ txtRaceHappiness.Location = new System.Drawing.Point(25, 143);
+ txtRaceHappiness.Name = "txtRaceHappiness";
+ txtRaceHappiness.Size = new System.Drawing.Size(297, 84);
+ txtRaceHappiness.TabIndex = 99;
+ txtRaceHappiness.Text = "Please choose a happiness model.";
+ //
+ // ddlRaceHappiness
+ //
+ ddlRaceHappiness.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ ddlRaceHappiness.FormattingEnabled = true;
+ ddlRaceHappiness.Location = new System.Drawing.Point(141, 119);
+ ddlRaceHappiness.Name = "ddlRaceHappiness";
+ ddlRaceHappiness.Size = new System.Drawing.Size(180, 23);
+ ddlRaceHappiness.TabIndex = 92;
+ //
+ // label19
+ //
+ label19.AutoSize = true;
+ label19.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label19.Location = new System.Drawing.Point(9, 122);
+ label19.Margin = new System.Windows.Forms.Padding(3);
+ label19.Name = "label19";
+ label19.Size = new System.Drawing.Size(66, 15);
+ label19.TabIndex = 98;
+ label19.Text = "Happiness";
+ //
+ // picRacePopulationIcon
+ //
+ picRacePopulationIcon.BackColor = System.Drawing.Color.Black;
+ picRacePopulationIcon.ForeColor = System.Drawing.Color.White;
+ picRacePopulationIcon.Image = (System.Drawing.Image)resources.GetObject("picRacePopulationIcon.Image");
+ picRacePopulationIcon.Location = new System.Drawing.Point(328, 33);
+ picRacePopulationIcon.Margin = new System.Windows.Forms.Padding(0);
+ picRacePopulationIcon.Name = "picRacePopulationIcon";
+ picRacePopulationIcon.Size = new System.Drawing.Size(22, 20);
+ picRacePopulationIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ picRacePopulationIcon.TabIndex = 97;
+ picRacePopulationIcon.TabStop = false;
+ //
+ // label18
+ //
+ label18.AutoSize = true;
+ label18.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label18.Location = new System.Drawing.Point(10, 36);
+ label18.Margin = new System.Windows.Forms.Padding(3);
+ label18.Name = "label18";
+ label18.Size = new System.Drawing.Size(92, 15);
+ label18.TabIndex = 96;
+ label18.Text = "Population Icon";
+ //
+ // ddlRacePopulationIcon
+ //
+ ddlRacePopulationIcon.FormattingEnabled = true;
+ ddlRacePopulationIcon.Location = new System.Drawing.Point(142, 33);
+ ddlRacePopulationIcon.Name = "ddlRacePopulationIcon";
+ ddlRacePopulationIcon.Size = new System.Drawing.Size(180, 23);
+ ddlRacePopulationIcon.TabIndex = 89;
+ ddlRacePopulationIcon.TextChanged += ddlRacePopulationIcon_TextChanged;
+ ddlRacePopulationIcon.Leave += ddlPic_Leave;
+ //
+ // ddlRaceNativeAtmosphere
+ //
+ ddlRaceNativeAtmosphere.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ ddlRaceNativeAtmosphere.FormattingEnabled = true;
+ ddlRaceNativeAtmosphere.Location = new System.Drawing.Point(142, 90);
+ ddlRaceNativeAtmosphere.Name = "ddlRaceNativeAtmosphere";
+ ddlRaceNativeAtmosphere.Size = new System.Drawing.Size(180, 23);
+ ddlRaceNativeAtmosphere.TabIndex = 91;
+ //
+ // label17
+ //
+ label17.AutoSize = true;
+ label17.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label17.Location = new System.Drawing.Point(10, 93);
+ label17.Margin = new System.Windows.Forms.Padding(3);
+ label17.Name = "label17";
+ label17.Size = new System.Drawing.Size(110, 15);
+ label17.TabIndex = 95;
+ label17.Text = "Native Atmosphere";
+ //
+ // txtRaceName
+ //
+ txtRaceName.Location = new System.Drawing.Point(141, 6);
+ txtRaceName.Name = "txtRaceName";
+ txtRaceName.Size = new System.Drawing.Size(180, 21);
+ txtRaceName.TabIndex = 88;
+ //
+ // ddlRaceNativeSurface
+ //
+ ddlRaceNativeSurface.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ ddlRaceNativeSurface.FormattingEnabled = true;
+ ddlRaceNativeSurface.Location = new System.Drawing.Point(142, 61);
+ ddlRaceNativeSurface.Name = "ddlRaceNativeSurface";
+ ddlRaceNativeSurface.Size = new System.Drawing.Size(180, 23);
+ ddlRaceNativeSurface.TabIndex = 90;
+ //
+ // label13
+ //
+ label13.AutoSize = true;
+ label13.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label13.Location = new System.Drawing.Point(10, 64);
+ label13.Margin = new System.Windows.Forms.Padding(3);
+ label13.Name = "label13";
+ label13.Size = new System.Drawing.Size(86, 15);
+ label13.TabIndex = 94;
+ label13.Text = "Native Surface";
+ //
+ // label15
+ //
+ label15.AutoSize = true;
+ label15.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label15.Location = new System.Drawing.Point(9, 9);
+ label15.Margin = new System.Windows.Forms.Padding(3);
+ label15.Name = "label15";
+ label15.Size = new System.Drawing.Size(41, 15);
+ label15.TabIndex = 93;
+ label15.Text = "Name";
+ //
+ // chkAIsCanUse
+ //
+ chkAIsCanUse.AutoSize = true;
+ chkAIsCanUse.Location = new System.Drawing.Point(138, 30);
+ chkAIsCanUse.Name = "chkAIsCanUse";
+ chkAIsCanUse.Size = new System.Drawing.Size(55, 19);
+ chkAIsCanUse.TabIndex = 2;
+ chkAIsCanUse.Text = "Allow";
+ chkAIsCanUse.UseVisualStyleBackColor = true;
+ //
+ // label23
+ //
+ label23.AutoSize = true;
+ label23.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label23.Location = new System.Drawing.Point(9, 30);
+ label23.Margin = new System.Windows.Forms.Padding(3);
+ label23.Name = "label23";
+ label23.Size = new System.Drawing.Size(116, 15);
+ label23.TabIndex = 97;
+ label23.Text = "AI Empires Can Use";
+ //
+ // btnCompareCultures
+ //
+ btnCompareCultures.BackColor = System.Drawing.Color.Black;
+ btnCompareCultures.ForeColor = System.Drawing.Color.CornflowerBlue;
+ btnCompareCultures.Location = new System.Drawing.Point(238, 293);
+ btnCompareCultures.Name = "btnCompareCultures";
+ btnCompareCultures.Size = new System.Drawing.Size(80, 22);
+ btnCompareCultures.TabIndex = 21;
+ btnCompareCultures.Text = "Compare";
+ btnCompareCultures.UseVisualStyleBackColor = false;
+ btnCompareCultures.Click += btnCompareCultures_Click;
+ //
+ // txtCulture
+ //
+ txtCulture.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
+ txtCulture.Location = new System.Drawing.Point(22, 291);
+ txtCulture.Name = "txtCulture";
+ txtCulture.Size = new System.Drawing.Size(210, 140);
+ txtCulture.TabIndex = 94;
+ txtCulture.Text = "Please choose a culture.";
+ //
+ // label22
+ //
+ label22.AutoSize = true;
+ label22.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label22.Location = new System.Drawing.Point(9, 267);
+ label22.Margin = new System.Windows.Forms.Padding(3);
+ label22.Name = "label22";
+ label22.Size = new System.Drawing.Size(46, 15);
+ label22.TabIndex = 93;
+ label22.Text = "Culture";
+ //
+ // ddlCulture
+ //
+ ddlCulture.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ ddlCulture.FormattingEnabled = true;
+ ddlCulture.Location = new System.Drawing.Point(138, 264);
+ ddlCulture.Name = "ddlCulture";
+ ddlCulture.Size = new System.Drawing.Size(180, 23);
+ ddlCulture.TabIndex = 19;
+ ddlCulture.SelectedIndexChanged += ddlCulture_SelectedIndexChanged;
+ //
+ // ddlAI
+ //
+ ddlAI.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ ddlAI.FormattingEnabled = true;
+ ddlAI.Location = new System.Drawing.Point(138, 235);
+ ddlAI.Name = "ddlAI";
+ ddlAI.Size = new System.Drawing.Size(180, 23);
+ ddlAI.TabIndex = 15;
+ //
+ // picShipset
+ //
+ picShipset.BackColor = System.Drawing.Color.Black;
+ picShipset.ForeColor = System.Drawing.Color.White;
+ picShipset.Image = (System.Drawing.Image)resources.GetObject("picShipset.Image");
+ picShipset.Location = new System.Drawing.Point(324, 206);
+ picShipset.Margin = new System.Windows.Forms.Padding(0);
+ picShipset.Name = "picShipset";
+ picShipset.Size = new System.Drawing.Size(137, 126);
+ picShipset.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ picShipset.TabIndex = 41;
+ picShipset.TabStop = false;
+ //
+ // ddlShipset
+ //
+ ddlShipset.FormattingEnabled = true;
+ ddlShipset.Location = new System.Drawing.Point(138, 206);
+ ddlShipset.Name = "ddlShipset";
+ ddlShipset.Size = new System.Drawing.Size(180, 23);
+ ddlShipset.TabIndex = 13;
+ ddlShipset.TextChanged += ddlShipset_TextChanged;
+ ddlShipset.Leave += ddlPic_Leave;
+ //
+ // picInsignia
+ //
+ picInsignia.BackColor = System.Drawing.Color.Black;
+ picInsignia.ForeColor = System.Drawing.Color.White;
+ picInsignia.Image = (System.Drawing.Image)resources.GetObject("picInsignia.Image");
+ picInsignia.Location = new System.Drawing.Point(322, 178);
+ picInsignia.Margin = new System.Windows.Forms.Padding(0);
+ picInsignia.Name = "picInsignia";
+ picInsignia.Size = new System.Drawing.Size(22, 20);
+ picInsignia.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ picInsignia.TabIndex = 38;
+ picInsignia.TabStop = false;
+ //
+ // ddlInsignia
+ //
+ ddlInsignia.FormattingEnabled = true;
+ ddlInsignia.Location = new System.Drawing.Point(138, 178);
+ ddlInsignia.Name = "ddlInsignia";
+ ddlInsignia.Size = new System.Drawing.Size(180, 23);
+ ddlInsignia.TabIndex = 11;
+ ddlInsignia.TextChanged += ddlInsignia_TextChanged;
+ ddlInsignia.Leave += ddlPic_Leave;
+ //
+ // picColor
+ //
+ picColor.BackColor = System.Drawing.Color.Black;
+ picColor.ForeColor = System.Drawing.Color.White;
+ picColor.Image = (System.Drawing.Image)resources.GetObject("picColor.Image");
+ picColor.Location = new System.Drawing.Point(324, 152);
+ picColor.Margin = new System.Windows.Forms.Padding(0);
+ picColor.Name = "picColor";
+ picColor.Size = new System.Drawing.Size(22, 20);
+ picColor.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ picColor.TabIndex = 35;
+ picColor.TabStop = false;
+ //
+ // spnColorBlue
+ //
+ spnColorBlue.Increment = new decimal(new int[] { 85, 0, 0, 0 });
+ spnColorBlue.Location = new System.Drawing.Point(253, 152);
+ spnColorBlue.Maximum = new decimal(new int[] { 255, 0, 0, 0 });
+ spnColorBlue.Name = "spnColorBlue";
+ spnColorBlue.Size = new System.Drawing.Size(51, 21);
+ spnColorBlue.TabIndex = 9;
+ spnColorBlue.Value = new decimal(new int[] { 255, 0, 0, 0 });
+ spnColorBlue.ValueChanged += spnColor_ValueChanged;
+ spnColorBlue.Leave += spnColor_Leave;
+ //
+ // spnColorGreen
+ //
+ spnColorGreen.Increment = new decimal(new int[] { 85, 0, 0, 0 });
+ spnColorGreen.Location = new System.Drawing.Point(195, 152);
+ spnColorGreen.Maximum = new decimal(new int[] { 255, 0, 0, 0 });
+ spnColorGreen.Name = "spnColorGreen";
+ spnColorGreen.Size = new System.Drawing.Size(51, 21);
+ spnColorGreen.TabIndex = 8;
+ spnColorGreen.Value = new decimal(new int[] { 255, 0, 0, 0 });
+ spnColorGreen.ValueChanged += spnColor_ValueChanged;
+ spnColorGreen.Leave += spnColor_Leave;
+ //
+ // spnColorRed
+ //
+ spnColorRed.Increment = new decimal(new int[] { 85, 0, 0, 0 });
+ spnColorRed.Location = new System.Drawing.Point(138, 152);
+ spnColorRed.Maximum = new decimal(new int[] { 255, 0, 0, 0 });
+ spnColorRed.Name = "spnColorRed";
+ spnColorRed.Size = new System.Drawing.Size(51, 21);
+ spnColorRed.TabIndex = 7;
+ spnColorRed.Value = new decimal(new int[] { 255, 0, 0, 0 });
+ spnColorRed.ValueChanged += spnColor_ValueChanged;
+ spnColorRed.Leave += spnColor_Leave;
+ //
+ // picLeaderPortrait
+ //
+ picLeaderPortrait.BackColor = System.Drawing.Color.Black;
+ picLeaderPortrait.ForeColor = System.Drawing.Color.White;
+ picLeaderPortrait.Image = (System.Drawing.Image)resources.GetObject("picLeaderPortrait.Image");
+ picLeaderPortrait.Location = new System.Drawing.Point(324, 82);
+ picLeaderPortrait.Margin = new System.Windows.Forms.Padding(0);
+ picLeaderPortrait.Name = "picLeaderPortrait";
+ picLeaderPortrait.Size = new System.Drawing.Size(68, 63);
+ picLeaderPortrait.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ picLeaderPortrait.TabIndex = 25;
+ picLeaderPortrait.TabStop = false;
+ //
+ // ddlLeaderPortrait
+ //
+ ddlLeaderPortrait.FormattingEnabled = true;
+ ddlLeaderPortrait.Location = new System.Drawing.Point(138, 82);
+ ddlLeaderPortrait.Name = "ddlLeaderPortrait";
+ ddlLeaderPortrait.Size = new System.Drawing.Size(180, 23);
+ ddlLeaderPortrait.TabIndex = 5;
+ ddlLeaderPortrait.TextChanged += ddlLeaderPortrait_TextChanged;
+ ddlLeaderPortrait.Leave += ddlPic_Leave;
+ //
+ // txtLeaderName
+ //
+ txtLeaderName.Location = new System.Drawing.Point(138, 54);
+ txtLeaderName.Name = "txtLeaderName";
+ txtLeaderName.Size = new System.Drawing.Size(180, 21);
+ txtLeaderName.TabIndex = 3;
+ //
+ // txtName
+ //
+ txtName.Location = new System.Drawing.Point(138, 3);
+ txtName.Name = "txtName";
+ txtName.Size = new System.Drawing.Size(180, 21);
+ txtName.TabIndex = 0;
+ //
+ // label7
+ //
+ label7.AutoSize = true;
+ label7.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label7.Location = new System.Drawing.Point(9, 238);
+ label7.Margin = new System.Windows.Forms.Padding(3);
+ label7.Name = "label7";
+ label7.Size = new System.Drawing.Size(17, 15);
+ label7.TabIndex = 21;
+ label7.Text = "AI";
+ //
+ // label6
+ //
+ label6.AutoSize = true;
+ label6.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label6.Location = new System.Drawing.Point(6, 85);
+ label6.Margin = new System.Windows.Forms.Padding(3);
+ label6.Name = "label6";
+ label6.Size = new System.Drawing.Size(88, 15);
+ label6.TabIndex = 20;
+ label6.Text = "Leader Portrait";
+ //
+ // label5
+ //
+ label5.AutoSize = true;
+ label5.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label5.Location = new System.Drawing.Point(9, 210);
+ label5.Margin = new System.Windows.Forms.Padding(3);
+ label5.Name = "label5";
+ label5.Size = new System.Drawing.Size(48, 15);
+ label5.TabIndex = 19;
+ label5.Text = "Shipset";
+ //
+ // label4
+ //
+ label4.AutoSize = true;
+ label4.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label4.Location = new System.Drawing.Point(6, 181);
+ label4.Margin = new System.Windows.Forms.Padding(3);
+ label4.Name = "label4";
+ label4.Size = new System.Drawing.Size(50, 15);
+ label4.TabIndex = 18;
+ label4.Text = "Insignia";
+ //
+ // label3
+ //
+ label3.AutoSize = true;
+ label3.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label3.Location = new System.Drawing.Point(6, 154);
+ label3.Margin = new System.Windows.Forms.Padding(3);
+ label3.Name = "label3";
+ label3.Size = new System.Drawing.Size(65, 15);
+ label3.TabIndex = 17;
+ label3.Text = "Color RGB";
+ //
+ // label1
+ //
+ label1.AutoSize = true;
+ label1.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label1.Location = new System.Drawing.Point(6, 57);
+ label1.Margin = new System.Windows.Forms.Padding(3);
+ label1.Name = "label1";
+ label1.Size = new System.Drawing.Size(83, 15);
+ label1.TabIndex = 15;
+ label1.Text = "Leader Name";
+ //
+ // label32
+ //
+ label32.AutoSize = true;
+ label32.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label32.Location = new System.Drawing.Point(6, 6);
+ label32.Margin = new System.Windows.Forms.Padding(3);
+ label32.Name = "label32";
+ label32.Size = new System.Drawing.Size(41, 15);
+ label32.TabIndex = 14;
+ label32.Text = "Name";
+ //
+ // tabAptitudes
+ //
+ tabAptitudes.BackColor = System.Drawing.Color.Black;
+ tabAptitudes.Controls.Add(aptitudePicker);
+ tabAptitudes.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
+ tabAptitudes.Location = new System.Drawing.Point(4, 29);
+ tabAptitudes.Name = "tabAptitudes";
+ tabAptitudes.Padding = new System.Windows.Forms.Padding(3);
+ tabAptitudes.Size = new System.Drawing.Size(519, 722);
+ tabAptitudes.TabIndex = 4;
+ tabAptitudes.Text = "Aptitudes";
+ //
+ // aptitudePicker
+ //
+ aptitudePicker.BackColor = System.Drawing.Color.Black;
+ aptitudePicker.Dock = System.Windows.Forms.DockStyle.Fill;
+ aptitudePicker.ForeColor = System.Drawing.Color.White;
+ aptitudePicker.Location = new System.Drawing.Point(3, 3);
+ aptitudePicker.Margin = new System.Windows.Forms.Padding(4);
+ aptitudePicker.Name = "aptitudePicker";
+ aptitudePicker.Size = new System.Drawing.Size(513, 716);
+ aptitudePicker.TabIndex = 0;
+ aptitudePicker.Values = null;
+ aptitudePicker.AptitudeValueChanged += aptitudePicker_AptitudeValueChanged;
+ //
+ // tabTraits
+ //
+ tabTraits.BackColor = System.Drawing.Color.Black;
+ tabTraits.Controls.Add(raceTraitPicker);
+ tabTraits.Location = new System.Drawing.Point(4, 29);
+ tabTraits.Name = "tabTraits";
+ tabTraits.Size = new System.Drawing.Size(519, 722);
+ tabTraits.TabIndex = 5;
+ tabTraits.Text = "Traits";
+ //
+ // raceTraitPicker
+ //
+ raceTraitPicker.BackColor = System.Drawing.Color.Black;
+ raceTraitPicker.Dock = System.Windows.Forms.DockStyle.Fill;
+ raceTraitPicker.ForeColor = System.Drawing.Color.White;
+ raceTraitPicker.Location = new System.Drawing.Point(0, 0);
+ raceTraitPicker.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+ raceTraitPicker.Name = "raceTraitPicker";
+ raceTraitPicker.Size = new System.Drawing.Size(519, 722);
+ raceTraitPicker.TabIndex = 0;
+ raceTraitPicker.Traits = null;
+ raceTraitPicker.TraitToggled += raceTraitPicker_TraitToggled;
+ //
+ // tabs
+ //
+ tabs.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
+ tabs.Controls.Add(tabGeneral);
+ tabs.Controls.Add(tabTraits);
+ tabs.Controls.Add(tabAptitudes);
+ tabs.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
+ tabs.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
+ tabs.Location = new System.Drawing.Point(10, 9);
+ tabs.Margin = new System.Windows.Forms.Padding(0);
+ tabs.Name = "tabs";
+ tabs.SelectedIndex = 0;
+ tabs.SelectedTabBackColor = System.Drawing.Color.CornflowerBlue;
+ tabs.SelectedTabForeColor = System.Drawing.Color.Black;
+ tabs.Size = new System.Drawing.Size(527, 755);
+ tabs.TabBackColor = System.Drawing.Color.Black;
+ tabs.TabBorderColor = System.Drawing.Color.CornflowerBlue;
+ tabs.TabForeColor = System.Drawing.Color.CornflowerBlue;
+ tabs.TabIndex = 0;
+ //
+ // EmpireSetupForm
+ //
+ AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
+ AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
+ BackColor = System.Drawing.Color.Black;
+ ClientSize = new System.Drawing.Size(546, 802);
+ Controls.Add(txtPointsAvailable);
+ Controls.Add(btnCancel);
+ Controls.Add(btnOK);
+ Controls.Add(tabs);
+ Name = "EmpireSetupForm";
+ ShowInTaskbar = false;
+ Text = "Empire Setup";
+ tabGeneral.ResumeLayout(false);
+ tabGeneral.PerformLayout();
+ gamePanel1.ResumeLayout(false);
+ gamePanel1.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)picRacePopulationIcon).EndInit();
+ ((System.ComponentModel.ISupportInitialize)picShipset).EndInit();
+ ((System.ComponentModel.ISupportInitialize)picInsignia).EndInit();
+ ((System.ComponentModel.ISupportInitialize)picColor).EndInit();
+ ((System.ComponentModel.ISupportInitialize)spnColorBlue).EndInit();
+ ((System.ComponentModel.ISupportInitialize)spnColorGreen).EndInit();
+ ((System.ComponentModel.ISupportInitialize)spnColorRed).EndInit();
+ ((System.ComponentModel.ISupportInitialize)picLeaderPortrait).EndInit();
+ tabAptitudes.ResumeLayout(false);
+ tabTraits.ResumeLayout(false);
+ tabs.ResumeLayout(false);
+ ResumeLayout(false);
+ }
- #endregion
+ #endregion
- private Controls.GameButton btnOK;
+ private Controls.GameButton btnOK;
private Controls.GameButton btnCancel;
- private Controls.GameButton btnLoadRace;
- private Controls.GameButton btnSaveRace;
private System.Windows.Forms.Label txtPointsAvailable;
private System.Windows.Forms.TabPage tabGeneral;
private System.Windows.Forms.CheckBox chkAIsCanUse;
diff --git a/FrEee.UI.WinForms/Forms/EmpireSetupForm.cs b/FrEee.UI.WinForms/Forms/EmpireSetupForm.cs
index be5737aa4..2dbfb1be9 100644
--- a/FrEee.UI.WinForms/Forms/EmpireSetupForm.cs
+++ b/FrEee.UI.WinForms/Forms/EmpireSetupForm.cs
@@ -204,19 +204,6 @@ private void btnCompareCultures_Click(object sender, EventArgs e)
this.ShowChildForm(new CultureComparisonForm());
}
- private void btnLoadRace_Click(object sender, EventArgs e)
- {
- var dlg = new OpenFileDialog();
- dlg.InitialDirectory = Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location), "Races");
- dlg.Filter = "Races (*.rac)|*.rac";
- var result = dlg.ShowDialog();
- if (result == DialogResult.OK)
- {
- EmpireTemplate.PrimaryRace = Race.Load(dlg.FileName);
- Bind();
- }
- }
-
private void btnOK_Click(object sender, EventArgs e)
{
SaveChanges();
@@ -232,17 +219,6 @@ private void btnOK_Click(object sender, EventArgs e)
}
}
- private void btnSaveRace_Click(object sender, EventArgs e)
- {
- SaveChanges();
- var dlg = new SaveFileDialog();
- dlg.InitialDirectory = Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location), "Races");
- dlg.Filter = "Races (*.rac)|*.rac";
- var result = dlg.ShowDialog();
- if (result == DialogResult.OK)
- EmpireTemplate.PrimaryRace.Save(dlg.FileName);
- }
-
private void ddlCulture_SelectedIndexChanged(object sender, EventArgs e)
{
if (ddlCulture.SelectedItem != null)
diff --git a/FrEee.UI.WinForms/Forms/EmpireSetupForm.resx b/FrEee.UI.WinForms/Forms/EmpireSetupForm.resx
index 29dcb1b3a..0978dd4e2 100644
--- a/FrEee.UI.WinForms/Forms/EmpireSetupForm.resx
+++ b/FrEee.UI.WinForms/Forms/EmpireSetupForm.resx
@@ -1,17 +1,17 @@
-
@@ -117,4 +117,35 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wgAADsIBFShKgAAAAA1JREFUGFdjYGBgYAAAAAUAAYoz4wAAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wgAADsIBFShKgAAAAA1JREFUGFdjYGBgYAAAAAUAAYoz4wAAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wgAADsIBFShKgAAAAA1JREFUGFdjYGBgYAAAAAUAAYoz4wAAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wgAADsIBFShKgAAAAA1JREFUGFdjYGBgYAAAAAUAAYoz4wAAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wgAADsIBFShKgAAAAA1JREFUGFdjYGBgYAAAAAUAAYoz4wAAAAAASUVORK5CYII=
+
+
\ No newline at end of file
diff --git a/FrEee.UI.WinForms/Forms/VehicleDesignForm.Designer.cs b/FrEee.UI.WinForms/Forms/VehicleDesignForm.Designer.cs
index 103eaf445..61254bc9d 100644
--- a/FrEee.UI.WinForms/Forms/VehicleDesignForm.Designer.cs
+++ b/FrEee.UI.WinForms/Forms/VehicleDesignForm.Designer.cs
@@ -22,858 +22,917 @@ protected override void Dispose(bool disposing)
protected override string WikiPage => "VehicleDesign";
- #region Windows Form Designer generated code
+ #region Windows Form Designer generated code
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.label1 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
- this.ddlRole = new System.Windows.Forms.ComboBox();
- this.label3 = new System.Windows.Forms.Label();
- this.ddlName = new System.Windows.Forms.ComboBox();
- this.label4 = new System.Windows.Forms.Label();
- this.label5 = new System.Windows.Forms.Label();
- this.label6 = new System.Windows.Forms.Label();
- this.label7 = new System.Windows.Forms.Label();
- this.label8 = new System.Windows.Forms.Label();
- this.chkOnlyLatest = new System.Windows.Forms.CheckBox();
- this.chkFilterByMount = new System.Windows.Forms.CheckBox();
- this.btnWeaponsReport = new FrEee.UI.WinForms.Controls.GameButton();
- this.btnCancel = new FrEee.UI.WinForms.Controls.GameButton();
- this.btnSave = new FrEee.UI.WinForms.Controls.GameButton();
- this.pnlStats = new FrEee.UI.WinForms.Controls.GamePanel();
- this.txtEngines = new System.Windows.Forms.Label();
- this.label14 = new System.Windows.Forms.Label();
- this.txtEvasion = new System.Windows.Forms.Label();
- this.label18 = new System.Windows.Forms.Label();
- this.txtAccuracy = new System.Windows.Forms.Label();
- this.label11 = new System.Windows.Forms.Label();
- this.txtRange = new System.Windows.Forms.Label();
- this.label22 = new System.Windows.Forms.Label();
- this.txtHull = new System.Windows.Forms.Label();
- this.txtArmor = new System.Windows.Forms.Label();
- this.txtShields = new System.Windows.Forms.Label();
- this.txtSpeed = new System.Windows.Forms.Label();
- this.txtSupplyStorage = new System.Windows.Forms.Label();
- this.label17 = new System.Windows.Forms.Label();
- this.txtCargo = new System.Windows.Forms.Label();
- this.label15 = new System.Windows.Forms.Label();
- this.label13 = new System.Windows.Forms.Label();
- this.label12 = new System.Windows.Forms.Label();
- this.txtSpaceFree = new System.Windows.Forms.Label();
- this.resCostRad = new FrEee.UI.WinForms.Controls.Blazor.ResourceDisplay();
- this.resCostOrg = new FrEee.UI.WinForms.Controls.Blazor.ResourceDisplay();
- this.resCostMin = new FrEee.UI.WinForms.Controls.Blazor.ResourceDisplay();
- this.label10 = new System.Windows.Forms.Label();
- this.label9 = new System.Windows.Forms.Label();
- this.gamePanel4 = new FrEee.UI.WinForms.Controls.GamePanel();
- this.txtDetailDescription = new System.Windows.Forms.Label();
- this.resDetailRad = new FrEee.UI.WinForms.Controls.Blazor.ResourceDisplay();
- this.resDetailOrg = new FrEee.UI.WinForms.Controls.Blazor.ResourceDisplay();
- this.resDetailMin = new FrEee.UI.WinForms.Controls.Blazor.ResourceDisplay();
- this.txtDetailSize = new System.Windows.Forms.Label();
- this.txtDetailName = new System.Windows.Forms.Label();
- this.picDetailIcon = new FrEee.UI.WinForms.Controls.Blazor.GamePictureBox();
- this.gamePanel3 = new FrEee.UI.WinForms.Controls.GamePanel();
- this.lstWarnings = new System.Windows.Forms.ListBox();
- this.gamePanel2 = new FrEee.UI.WinForms.Controls.GamePanel();
- this.lstComponentsInstalled = new System.Windows.Forms.ListView();
- this.gamePanel1 = new FrEee.UI.WinForms.Controls.GamePanel();
- this.lstComponentsAvailable = new System.Windows.Forms.ListView();
- this.btnHull = new FrEee.UI.WinForms.Controls.GameButton();
- this.txtIteration = new System.Windows.Forms.Label();
- this.picPortrait = new FrEee.UI.WinForms.Controls.Blazor.GamePictureBox();
- this.btnMountInfo = new FrEee.UI.WinForms.Controls.GameButton();
- this.ddlMount = new System.Windows.Forms.ComboBox();
- this.btnHelp = new FrEee.UI.WinForms.Controls.GameButton();
- this.btnMount = new FrEee.UI.WinForms.Controls.GameButton();
- this.pnlStats.SuspendLayout();
- this.gamePanel4.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.picDetailIcon)).BeginInit();
- this.gamePanel3.SuspendLayout();
- this.gamePanel2.SuspendLayout();
- this.gamePanel1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.picPortrait)).BeginInit();
- this.SuspendLayout();
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label1.Location = new System.Drawing.Point(13, 13);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(25, 13);
- this.label1.TabIndex = 0;
- this.label1.Text = "Hull";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label2.Location = new System.Drawing.Point(13, 41);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(29, 13);
- this.label2.TabIndex = 3;
- this.label2.Text = "Role";
- //
- // ddlRole
- //
- this.ddlRole.BackColor = System.Drawing.Color.Black;
- this.ddlRole.Enabled = false;
- this.ddlRole.ForeColor = System.Drawing.Color.White;
- this.ddlRole.FormattingEnabled = true;
- this.ddlRole.Location = new System.Drawing.Point(80, 38);
- this.ddlRole.Name = "ddlRole";
- this.ddlRole.Size = new System.Drawing.Size(167, 21);
- this.ddlRole.TabIndex = 4;
- this.ddlRole.TextChanged += new System.EventHandler(this.ddlRole_TextChanged);
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label3.Location = new System.Drawing.Point(13, 70);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(35, 13);
- this.label3.TabIndex = 5;
- this.label3.Text = "Name";
- //
- // ddlName
- //
- this.ddlName.BackColor = System.Drawing.Color.Black;
- this.ddlName.Enabled = false;
- this.ddlName.ForeColor = System.Drawing.Color.White;
- this.ddlName.FormattingEnabled = true;
- this.ddlName.Location = new System.Drawing.Point(80, 67);
- this.ddlName.Name = "ddlName";
- this.ddlName.Size = new System.Drawing.Size(140, 21);
- this.ddlName.TabIndex = 6;
- this.ddlName.TextChanged += new System.EventHandler(this.ddlName_TextChanged);
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label4.Location = new System.Drawing.Point(13, 139);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(112, 13);
- this.label4.TabIndex = 8;
- this.label4.Text = "Components Available";
- //
- // label5
- //
- this.label5.AutoSize = true;
- this.label5.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label5.Location = new System.Drawing.Point(254, 139);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(108, 13);
- this.label5.TabIndex = 10;
- this.label5.Text = "Components Installed";
- //
- // label6
- //
- this.label6.AutoSize = true;
- this.label6.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label6.Location = new System.Drawing.Point(13, 99);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(59, 13);
- this.label6.TabIndex = 13;
- this.label6.Text = "Use Mount";
- //
- // label7
- //
- this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.label7.AutoSize = true;
- this.label7.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label7.Location = new System.Drawing.Point(12, 527);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(52, 13);
- this.label7.TabIndex = 18;
- this.label7.Text = "Warnings";
- //
- // label8
- //
- this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.label8.AutoSize = true;
- this.label8.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label8.Location = new System.Drawing.Point(254, 527);
- this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(96, 13);
- this.label8.TabIndex = 20;
- this.label8.Text = "Component Details";
- //
- // chkOnlyLatest
- //
- this.chkOnlyLatest.AutoSize = true;
- this.chkOnlyLatest.Checked = true;
- this.chkOnlyLatest.CheckState = System.Windows.Forms.CheckState.Checked;
- this.chkOnlyLatest.Location = new System.Drawing.Point(12, 162);
- this.chkOnlyLatest.Name = "chkOnlyLatest";
- this.chkOnlyLatest.Size = new System.Drawing.Size(79, 17);
- this.chkOnlyLatest.TabIndex = 21;
- this.chkOnlyLatest.Text = "Only Latest";
- this.chkOnlyLatest.UseVisualStyleBackColor = true;
- this.chkOnlyLatest.CheckedChanged += new System.EventHandler(this.chkOnlyLatest_CheckedChanged);
- //
- // chkFilterByMount
- //
- this.chkFilterByMount.AutoSize = true;
- this.chkFilterByMount.Location = new System.Drawing.Point(97, 162);
- this.chkFilterByMount.Name = "chkFilterByMount";
- this.chkFilterByMount.Size = new System.Drawing.Size(96, 17);
- this.chkFilterByMount.TabIndex = 28;
- this.chkFilterByMount.Text = "Filter By Mount";
- this.chkFilterByMount.UseVisualStyleBackColor = true;
- this.chkFilterByMount.CheckedChanged += new System.EventHandler(this.chkFilterByMount_CheckedChanged);
- //
- // btnWeaponsReport
- //
- this.btnWeaponsReport.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.btnWeaponsReport.BackColor = System.Drawing.Color.Black;
- this.btnWeaponsReport.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.btnWeaponsReport.Location = new System.Drawing.Point(551, 155);
- this.btnWeaponsReport.Name = "btnWeaponsReport";
- this.btnWeaponsReport.Size = new System.Drawing.Size(146, 29);
- this.btnWeaponsReport.TabIndex = 26;
- this.btnWeaponsReport.Text = "Weapons Report";
- this.btnWeaponsReport.UseVisualStyleBackColor = false;
- //
- // btnCancel
- //
- this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.btnCancel.BackColor = System.Drawing.Color.Black;
- this.btnCancel.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.btnCancel.Location = new System.Drawing.Point(551, 560);
- this.btnCancel.Name = "btnCancel";
- this.btnCancel.Size = new System.Drawing.Size(146, 29);
- this.btnCancel.TabIndex = 24;
- this.btnCancel.Text = "Cancel";
- this.btnCancel.UseVisualStyleBackColor = false;
- this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
- //
- // btnSave
- //
- this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.btnSave.BackColor = System.Drawing.Color.Black;
- this.btnSave.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.btnSave.Location = new System.Drawing.Point(551, 595);
- this.btnSave.Name = "btnSave";
- this.btnSave.Size = new System.Drawing.Size(146, 29);
- this.btnSave.TabIndex = 23;
- this.btnSave.Text = "Save";
- this.btnSave.UseVisualStyleBackColor = false;
- this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
- //
- // pnlStats
- //
- this.pnlStats.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.pnlStats.BackColor = System.Drawing.Color.Black;
- this.pnlStats.BorderColor = System.Drawing.Color.CornflowerBlue;
- this.pnlStats.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.pnlStats.Controls.Add(this.txtEngines);
- this.pnlStats.Controls.Add(this.label14);
- this.pnlStats.Controls.Add(this.txtEvasion);
- this.pnlStats.Controls.Add(this.label18);
- this.pnlStats.Controls.Add(this.txtAccuracy);
- this.pnlStats.Controls.Add(this.label11);
- this.pnlStats.Controls.Add(this.txtRange);
- this.pnlStats.Controls.Add(this.label22);
- this.pnlStats.Controls.Add(this.txtHull);
- this.pnlStats.Controls.Add(this.txtArmor);
- this.pnlStats.Controls.Add(this.txtShields);
- this.pnlStats.Controls.Add(this.txtSpeed);
- this.pnlStats.Controls.Add(this.txtSupplyStorage);
- this.pnlStats.Controls.Add(this.label17);
- this.pnlStats.Controls.Add(this.txtCargo);
- this.pnlStats.Controls.Add(this.label15);
- this.pnlStats.Controls.Add(this.label13);
- this.pnlStats.Controls.Add(this.label12);
- this.pnlStats.Controls.Add(this.txtSpaceFree);
- this.pnlStats.Controls.Add(this.resCostRad);
- this.pnlStats.Controls.Add(this.resCostOrg);
- this.pnlStats.Controls.Add(this.resCostMin);
- this.pnlStats.Controls.Add(this.label10);
- this.pnlStats.Controls.Add(this.label9);
- this.pnlStats.ForeColor = System.Drawing.Color.White;
- this.pnlStats.Location = new System.Drawing.Point(257, 8);
- this.pnlStats.Name = "pnlStats";
- this.pnlStats.Padding = new System.Windows.Forms.Padding(3);
- this.pnlStats.Size = new System.Drawing.Size(440, 128);
- this.pnlStats.TabIndex = 22;
- //
- // txtEngines
- //
- this.txtEngines.AutoSize = true;
- this.txtEngines.Location = new System.Drawing.Point(84, 100);
- this.txtEngines.Name = "txtEngines";
- this.txtEngines.Size = new System.Drawing.Size(30, 13);
- this.txtEngines.TabIndex = 28;
- this.txtEngines.Text = "0 / 0";
- //
- // label14
- //
- this.label14.AutoSize = true;
- this.label14.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label14.Location = new System.Drawing.Point(3, 100);
- this.label14.Name = "label14";
- this.label14.Size = new System.Drawing.Size(45, 13);
- this.label14.TabIndex = 27;
- this.label14.Text = "Engines";
- //
- // txtEvasion
- //
- this.txtEvasion.AutoSize = true;
- this.txtEvasion.Location = new System.Drawing.Point(253, 62);
- this.txtEvasion.Name = "txtEvasion";
- this.txtEvasion.Size = new System.Drawing.Size(27, 13);
- this.txtEvasion.TabIndex = 26;
- this.txtEvasion.Text = "+0%";
- //
- // label18
- //
- this.label18.AutoSize = true;
- this.label18.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label18.Location = new System.Drawing.Point(179, 61);
- this.label18.Name = "label18";
- this.label18.Size = new System.Drawing.Size(45, 13);
- this.label18.TabIndex = 25;
- this.label18.Text = "Evasion";
- //
- // txtAccuracy
- //
- this.txtAccuracy.AutoSize = true;
- this.txtAccuracy.Location = new System.Drawing.Point(253, 49);
- this.txtAccuracy.Name = "txtAccuracy";
- this.txtAccuracy.Size = new System.Drawing.Size(27, 13);
- this.txtAccuracy.TabIndex = 24;
- this.txtAccuracy.Text = "+0%";
- //
- // label11
- //
- this.label11.AutoSize = true;
- this.label11.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label11.Location = new System.Drawing.Point(179, 49);
- this.label11.Name = "label11";
- this.label11.Size = new System.Drawing.Size(52, 13);
- this.label11.TabIndex = 23;
- this.label11.Text = "Accuracy";
- //
- // txtRange
- //
- this.txtRange.AutoSize = true;
- this.txtRange.Location = new System.Drawing.Point(84, 87);
- this.txtRange.Name = "txtRange";
- this.txtRange.Size = new System.Drawing.Size(50, 13);
- this.txtRange.TabIndex = 22;
- this.txtRange.Text = "0 sectors";
- //
- // label22
- //
- this.label22.AutoSize = true;
- this.label22.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label22.Location = new System.Drawing.Point(3, 87);
- this.label22.Name = "label22";
- this.label22.Size = new System.Drawing.Size(39, 13);
- this.label22.TabIndex = 21;
- this.label22.Text = "Range";
- //
- // txtHull
- //
- this.txtHull.AutoSize = true;
- this.txtHull.Location = new System.Drawing.Point(253, 32);
- this.txtHull.Name = "txtHull";
- this.txtHull.Size = new System.Drawing.Size(32, 13);
- this.txtHull.TabIndex = 20;
- this.txtHull.Text = "0 hull";
- //
- // txtArmor
- //
- this.txtArmor.AutoSize = true;
- this.txtArmor.Location = new System.Drawing.Point(253, 17);
- this.txtArmor.Name = "txtArmor";
- this.txtArmor.Size = new System.Drawing.Size(42, 13);
- this.txtArmor.TabIndex = 19;
- this.txtArmor.Text = "0 armor";
- //
- // txtShields
- //
- this.txtShields.AutoSize = true;
- this.txtShields.Location = new System.Drawing.Point(253, 4);
- this.txtShields.Name = "txtShields";
- this.txtShields.Size = new System.Drawing.Size(99, 13);
- this.txtShields.TabIndex = 18;
- this.txtShields.Text = "0 shields (+0 regen)";
- //
- // txtSpeed
- //
- this.txtSpeed.AutoSize = true;
- this.txtSpeed.Location = new System.Drawing.Point(84, 62);
- this.txtSpeed.Name = "txtSpeed";
- this.txtSpeed.Size = new System.Drawing.Size(73, 13);
- this.txtSpeed.TabIndex = 17;
- this.txtSpeed.Text = "0 sectors/turn";
- //
- // txtSupplyStorage
- //
- this.txtSupplyStorage.AutoSize = true;
- this.txtSupplyStorage.Location = new System.Drawing.Point(84, 75);
- this.txtSupplyStorage.Name = "txtSupplyStorage";
- this.txtSupplyStorage.Size = new System.Drawing.Size(13, 13);
- this.txtSupplyStorage.TabIndex = 16;
- this.txtSupplyStorage.Text = "0";
- //
- // label17
- //
- this.label17.AutoSize = true;
- this.label17.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label17.Location = new System.Drawing.Point(3, 74);
- this.label17.Name = "label17";
- this.label17.Size = new System.Drawing.Size(47, 13);
- this.label17.TabIndex = 15;
- this.label17.Text = "Supplies";
- //
- // txtCargo
- //
- this.txtCargo.AutoSize = true;
- this.txtCargo.Location = new System.Drawing.Point(254, 87);
- this.txtCargo.Name = "txtCargo";
- this.txtCargo.Size = new System.Drawing.Size(26, 13);
- this.txtCargo.TabIndex = 14;
- this.txtCargo.Text = "0kT";
- //
- // label15
- //
- this.label15.AutoSize = true;
- this.label15.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label15.Location = new System.Drawing.Point(179, 87);
- this.label15.Name = "label15";
- this.label15.Size = new System.Drawing.Size(75, 13);
- this.label15.TabIndex = 13;
- this.label15.Text = "Cargo Storage";
- //
- // label13
- //
- this.label13.AutoSize = true;
- this.label13.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label13.Location = new System.Drawing.Point(179, 4);
- this.label13.Name = "label13";
- this.label13.Size = new System.Drawing.Size(50, 13);
- this.label13.TabIndex = 11;
- this.label13.Text = "Durability";
- //
- // label12
- //
- this.label12.AutoSize = true;
- this.label12.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label12.Location = new System.Drawing.Point(3, 61);
- this.label12.Name = "label12";
- this.label12.Size = new System.Drawing.Size(38, 13);
- this.label12.TabIndex = 10;
- this.label12.Text = "Speed";
- //
- // txtSpaceFree
- //
- this.txtSpaceFree.AutoSize = true;
- this.txtSpaceFree.Location = new System.Drawing.Point(84, 3);
- this.txtSpaceFree.Name = "txtSpaceFree";
- this.txtSpaceFree.Size = new System.Drawing.Size(56, 13);
- this.txtSpaceFree.TabIndex = 9;
- this.txtSpaceFree.Text = "0kT / 0kT";
- //
- // resCostRad
- //
- this.resCostRad.Amount = 0;
- this.resCostRad.BackColor = System.Drawing.Color.Black;
- this.resCostRad.Change = null;
- this.resCostRad.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
- this.resCostRad.Location = new System.Drawing.Point(78, 47);
- this.resCostRad.Margin = new System.Windows.Forms.Padding(0);
- this.resCostRad.Name = "resCostRad";
- this.resCostRad.ResourceName = "Radioactives";
- this.resCostRad.Size = new System.Drawing.Size(79, 15);
- this.resCostRad.TabIndex = 8;
- //
- // resCostOrg
- //
- this.resCostOrg.Amount = 0;
- this.resCostOrg.BackColor = System.Drawing.Color.Black;
- this.resCostOrg.Change = null;
- this.resCostOrg.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
- this.resCostOrg.Location = new System.Drawing.Point(78, 32);
- this.resCostOrg.Margin = new System.Windows.Forms.Padding(0);
- this.resCostOrg.Name = "resCostOrg";
- this.resCostOrg.ResourceName = "Organics";
- this.resCostOrg.Size = new System.Drawing.Size(79, 15);
- this.resCostOrg.TabIndex = 7;
- //
- // resCostMin
- //
- this.resCostMin.Amount = 0;
- this.resCostMin.BackColor = System.Drawing.Color.Black;
- this.resCostMin.Change = null;
- this.resCostMin.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
- this.resCostMin.Location = new System.Drawing.Point(78, 17);
- this.resCostMin.Margin = new System.Windows.Forms.Padding(0);
- this.resCostMin.Name = "resCostMin";
- this.resCostMin.ResourceName = "Minerals";
- this.resCostMin.Size = new System.Drawing.Size(79, 15);
- this.resCostMin.TabIndex = 6;
- //
- // label10
- //
- this.label10.AutoSize = true;
- this.label10.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label10.Location = new System.Drawing.Point(3, 17);
- this.label10.Name = "label10";
- this.label10.Size = new System.Drawing.Size(28, 13);
- this.label10.TabIndex = 2;
- this.label10.Text = "Cost";
- //
- // label9
- //
- this.label9.AutoSize = true;
- this.label9.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.label9.Location = new System.Drawing.Point(3, 4);
- this.label9.Name = "label9";
- this.label9.Size = new System.Drawing.Size(62, 13);
- this.label9.TabIndex = 1;
- this.label9.Text = "Space Free";
- //
- // gamePanel4
- //
- this.gamePanel4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.gamePanel4.BackColor = System.Drawing.Color.Black;
- this.gamePanel4.BorderColor = System.Drawing.Color.CornflowerBlue;
- this.gamePanel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.gamePanel4.Controls.Add(this.txtDetailDescription);
- this.gamePanel4.Controls.Add(this.resDetailRad);
- this.gamePanel4.Controls.Add(this.resDetailOrg);
- this.gamePanel4.Controls.Add(this.resDetailMin);
- this.gamePanel4.Controls.Add(this.txtDetailSize);
- this.gamePanel4.Controls.Add(this.txtDetailName);
- this.gamePanel4.Controls.Add(this.picDetailIcon);
- this.gamePanel4.ForeColor = System.Drawing.Color.White;
- this.gamePanel4.Location = new System.Drawing.Point(253, 543);
- this.gamePanel4.Name = "gamePanel4";
- this.gamePanel4.Padding = new System.Windows.Forms.Padding(3);
- this.gamePanel4.Size = new System.Drawing.Size(292, 81);
- this.gamePanel4.TabIndex = 19;
- //
- // txtDetailDescription
- //
- this.txtDetailDescription.Location = new System.Drawing.Point(3, 46);
- this.txtDetailDescription.Name = "txtDetailDescription";
- this.txtDetailDescription.Size = new System.Drawing.Size(197, 30);
- this.txtDetailDescription.TabIndex = 6;
- this.txtDetailDescription.Text = "label9";
- //
- // resDetailRad
- //
- this.resDetailRad.Amount = 0;
- this.resDetailRad.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.resDetailRad.BackColor = System.Drawing.Color.Black;
- this.resDetailRad.Change = null;
- this.resDetailRad.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
- this.resDetailRad.Location = new System.Drawing.Point(206, 61);
- this.resDetailRad.Margin = new System.Windows.Forms.Padding(0);
- this.resDetailRad.Name = "resDetailRad";
- this.resDetailRad.ResourceName = "Radioactives";
- this.resDetailRad.Size = new System.Drawing.Size(81, 15);
- this.resDetailRad.TabIndex = 5;
- //
- // resDetailOrg
- //
- this.resDetailOrg.Amount = 0;
- this.resDetailOrg.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.resDetailOrg.BackColor = System.Drawing.Color.Black;
- this.resDetailOrg.Change = null;
- this.resDetailOrg.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
- this.resDetailOrg.Location = new System.Drawing.Point(206, 45);
- this.resDetailOrg.Margin = new System.Windows.Forms.Padding(0);
- this.resDetailOrg.Name = "resDetailOrg";
- this.resDetailOrg.ResourceName = "Organics";
- this.resDetailOrg.Size = new System.Drawing.Size(81, 15);
- this.resDetailOrg.TabIndex = 4;
- //
- // resDetailMin
- //
- this.resDetailMin.Amount = 0;
- this.resDetailMin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.resDetailMin.BackColor = System.Drawing.Color.Black;
- this.resDetailMin.Change = null;
- this.resDetailMin.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
- this.resDetailMin.Location = new System.Drawing.Point(206, 30);
- this.resDetailMin.Margin = new System.Windows.Forms.Padding(0);
- this.resDetailMin.Name = "resDetailMin";
- this.resDetailMin.ResourceName = "Minerals";
- this.resDetailMin.Size = new System.Drawing.Size(81, 15);
- this.resDetailMin.TabIndex = 3;
- //
- // txtDetailSize
- //
- this.txtDetailSize.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.txtDetailSize.Location = new System.Drawing.Point(238, 7);
- this.txtDetailSize.Name = "txtDetailSize";
- this.txtDetailSize.Size = new System.Drawing.Size(46, 13);
- this.txtDetailSize.TabIndex = 2;
- this.txtDetailSize.Text = "(no size)";
- this.txtDetailSize.TextAlign = System.Drawing.ContentAlignment.TopRight;
- //
- // txtDetailName
- //
- this.txtDetailName.AutoSize = true;
- this.txtDetailName.Location = new System.Drawing.Point(45, 7);
- this.txtDetailName.Name = "txtDetailName";
- this.txtDetailName.Size = new System.Drawing.Size(81, 13);
- this.txtDetailName.TabIndex = 1;
- this.txtDetailName.Text = "(no component)";
- //
- // picDetailIcon
- //
- this.picDetailIcon.Location = new System.Drawing.Point(7, 7);
- this.picDetailIcon.Name = "picDetailIcon";
- this.picDetailIcon.Size = new System.Drawing.Size(32, 32);
- this.picDetailIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
- this.picDetailIcon.TabIndex = 0;
- this.picDetailIcon.TabStop = false;
- //
- // gamePanel3
- //
- this.gamePanel3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.gamePanel3.BackColor = System.Drawing.Color.Black;
- this.gamePanel3.BorderColor = System.Drawing.Color.CornflowerBlue;
- this.gamePanel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.gamePanel3.Controls.Add(this.lstWarnings);
- this.gamePanel3.ForeColor = System.Drawing.Color.White;
- this.gamePanel3.Location = new System.Drawing.Point(12, 543);
- this.gamePanel3.Name = "gamePanel3";
- this.gamePanel3.Padding = new System.Windows.Forms.Padding(3);
- this.gamePanel3.Size = new System.Drawing.Size(234, 81);
- this.gamePanel3.TabIndex = 17;
- //
- // lstWarnings
- //
- this.lstWarnings.BackColor = System.Drawing.Color.Black;
- this.lstWarnings.BorderStyle = System.Windows.Forms.BorderStyle.None;
- this.lstWarnings.Dock = System.Windows.Forms.DockStyle.Fill;
- this.lstWarnings.ForeColor = System.Drawing.Color.Salmon;
- this.lstWarnings.FormattingEnabled = true;
- this.lstWarnings.Location = new System.Drawing.Point(3, 3);
- this.lstWarnings.Name = "lstWarnings";
- this.lstWarnings.Size = new System.Drawing.Size(226, 73);
- this.lstWarnings.TabIndex = 16;
- //
- // gamePanel2
- //
- this.gamePanel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)));
- this.gamePanel2.BackColor = System.Drawing.Color.Black;
- this.gamePanel2.BorderColor = System.Drawing.Color.CornflowerBlue;
- this.gamePanel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.gamePanel2.Controls.Add(this.lstComponentsInstalled);
- this.gamePanel2.ForeColor = System.Drawing.Color.White;
- this.gamePanel2.Location = new System.Drawing.Point(253, 155);
- this.gamePanel2.Name = "gamePanel2";
- this.gamePanel2.Padding = new System.Windows.Forms.Padding(3);
- this.gamePanel2.Size = new System.Drawing.Size(292, 368);
- this.gamePanel2.TabIndex = 9;
- //
- // lstComponentsInstalled
- //
- this.lstComponentsInstalled.BackColor = System.Drawing.Color.Black;
- this.lstComponentsInstalled.BorderStyle = System.Windows.Forms.BorderStyle.None;
- this.lstComponentsInstalled.Dock = System.Windows.Forms.DockStyle.Fill;
- this.lstComponentsInstalled.ForeColor = System.Drawing.Color.White;
- this.lstComponentsInstalled.HoverSelection = true;
- this.lstComponentsInstalled.Location = new System.Drawing.Point(3, 3);
- this.lstComponentsInstalled.Name = "lstComponentsInstalled";
- this.lstComponentsInstalled.Size = new System.Drawing.Size(284, 360);
- this.lstComponentsInstalled.TabIndex = 0;
- this.lstComponentsInstalled.UseCompatibleStateImageBehavior = false;
- this.lstComponentsInstalled.View = System.Windows.Forms.View.Tile;
- this.lstComponentsInstalled.ItemMouseHover += new System.Windows.Forms.ListViewItemMouseHoverEventHandler(this.lstComponentsInstalled_ItemMouseHover);
- this.lstComponentsInstalled.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lstComponentsInstalled_MouseDown);
- //
- // gamePanel1
- //
- this.gamePanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)));
- this.gamePanel1.BackColor = System.Drawing.Color.Black;
- this.gamePanel1.BorderColor = System.Drawing.Color.CornflowerBlue;
- this.gamePanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.gamePanel1.Controls.Add(this.lstComponentsAvailable);
- this.gamePanel1.ForeColor = System.Drawing.Color.White;
- this.gamePanel1.Location = new System.Drawing.Point(12, 181);
- this.gamePanel1.Name = "gamePanel1";
- this.gamePanel1.Padding = new System.Windows.Forms.Padding(3);
- this.gamePanel1.Size = new System.Drawing.Size(234, 342);
- this.gamePanel1.TabIndex = 7;
- //
- // lstComponentsAvailable
- //
- this.lstComponentsAvailable.BackColor = System.Drawing.Color.Black;
- this.lstComponentsAvailable.BorderStyle = System.Windows.Forms.BorderStyle.None;
- this.lstComponentsAvailable.Dock = System.Windows.Forms.DockStyle.Fill;
- this.lstComponentsAvailable.ForeColor = System.Drawing.Color.White;
- this.lstComponentsAvailable.HoverSelection = true;
- this.lstComponentsAvailable.Location = new System.Drawing.Point(3, 3);
- this.lstComponentsAvailable.Name = "lstComponentsAvailable";
- this.lstComponentsAvailable.Size = new System.Drawing.Size(226, 334);
- this.lstComponentsAvailable.TabIndex = 0;
- this.lstComponentsAvailable.UseCompatibleStateImageBehavior = false;
- this.lstComponentsAvailable.View = System.Windows.Forms.View.Tile;
- this.lstComponentsAvailable.ItemMouseHover += new System.Windows.Forms.ListViewItemMouseHoverEventHandler(this.lstComponentsAvailable_ItemMouseHover);
- this.lstComponentsAvailable.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lstComponentsAvailable_MouseDown);
- //
- // btnHull
- //
- this.btnHull.BackColor = System.Drawing.Color.Black;
- this.btnHull.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.btnHull.Location = new System.Drawing.Point(80, 8);
- this.btnHull.Name = "btnHull";
- this.btnHull.Size = new System.Drawing.Size(167, 23);
- this.btnHull.TabIndex = 2;
- this.btnHull.Text = "(choose)";
- this.btnHull.UseVisualStyleBackColor = false;
- this.btnHull.Click += new System.EventHandler(this.btnHull_Click);
- //
- // txtIteration
- //
- this.txtIteration.AutoSize = true;
- this.txtIteration.Location = new System.Drawing.Point(223, 70);
- this.txtIteration.Name = "txtIteration";
- this.txtIteration.Size = new System.Drawing.Size(22, 13);
- this.txtIteration.TabIndex = 29;
- this.txtIteration.Text = "Iter";
- //
- // picPortrait
- //
- this.picPortrait.Location = new System.Drawing.Point(551, 191);
- this.picPortrait.Name = "picPortrait";
- this.picPortrait.Size = new System.Drawing.Size(146, 146);
- this.picPortrait.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
- this.picPortrait.TabIndex = 30;
- this.picPortrait.TabStop = false;
- this.picPortrait.MouseDown += new System.Windows.Forms.MouseEventHandler(this.picPortrait_MouseDown);
- //
- // btnMountInfo
- //
- this.btnMountInfo.BackColor = System.Drawing.Color.Black;
- this.btnMountInfo.Enabled = false;
- this.btnMountInfo.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.btnMountInfo.Location = new System.Drawing.Point(226, 94);
- this.btnMountInfo.Name = "btnMountInfo";
- this.btnMountInfo.Size = new System.Drawing.Size(20, 23);
- this.btnMountInfo.TabIndex = 26;
- this.btnMountInfo.Text = "?";
- this.btnMountInfo.UseVisualStyleBackColor = false;
- this.btnMountInfo.Click += new System.EventHandler(this.btnMountInfo_Click);
- //
- // ddlMount
- //
- this.ddlMount.BackColor = System.Drawing.Color.Black;
- this.ddlMount.DisplayMember = "ShortName";
- this.ddlMount.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.ddlMount.Enabled = false;
- this.ddlMount.ForeColor = System.Drawing.Color.White;
- this.ddlMount.FormattingEnabled = true;
- this.ddlMount.Location = new System.Drawing.Point(80, 96);
- this.ddlMount.Name = "ddlMount";
- this.ddlMount.Size = new System.Drawing.Size(113, 21);
- this.ddlMount.TabIndex = 31;
- this.ddlMount.ValueMember = "Mount";
- this.ddlMount.SelectedIndexChanged += new System.EventHandler(this.ddlMount_SelectedIndexChanged);
- //
- // btnHelp
- //
- this.btnHelp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.btnHelp.BackColor = System.Drawing.Color.Black;
- this.btnHelp.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.btnHelp.Location = new System.Drawing.Point(551, 494);
- this.btnHelp.Name = "btnHelp";
- this.btnHelp.Size = new System.Drawing.Size(146, 29);
- this.btnHelp.TabIndex = 32;
- this.btnHelp.Text = "Help";
- this.btnHelp.UseVisualStyleBackColor = false;
- this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
- //
- // btnMount
- //
- this.btnMount.BackColor = System.Drawing.Color.Black;
- this.btnMount.ForeColor = System.Drawing.Color.CornflowerBlue;
- this.btnMount.Location = new System.Drawing.Point(200, 94);
- this.btnMount.Name = "btnMount";
- this.btnMount.Size = new System.Drawing.Size(20, 23);
- this.btnMount.TabIndex = 33;
- this.btnMount.Text = "...";
- this.btnMount.UseVisualStyleBackColor = false;
- this.btnMount.Click += new System.EventHandler(this.btnMount_Click);
- //
- // VehicleDesignForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.BackColor = System.Drawing.Color.Black;
- this.ClientSize = new System.Drawing.Size(709, 636);
- this.Controls.Add(this.btnMount);
- this.Controls.Add(this.btnHelp);
- this.Controls.Add(this.ddlMount);
- this.Controls.Add(this.picPortrait);
- this.Controls.Add(this.txtIteration);
- this.Controls.Add(this.chkFilterByMount);
- this.Controls.Add(this.btnMountInfo);
- this.Controls.Add(this.btnWeaponsReport);
- this.Controls.Add(this.btnCancel);
- this.Controls.Add(this.btnSave);
- this.Controls.Add(this.pnlStats);
- this.Controls.Add(this.chkOnlyLatest);
- this.Controls.Add(this.label8);
- this.Controls.Add(this.gamePanel4);
- this.Controls.Add(this.label7);
- this.Controls.Add(this.gamePanel3);
- this.Controls.Add(this.label6);
- this.Controls.Add(this.label5);
- this.Controls.Add(this.gamePanel2);
- this.Controls.Add(this.label4);
- this.Controls.Add(this.gamePanel1);
- this.Controls.Add(this.ddlName);
- this.Controls.Add(this.label3);
- this.Controls.Add(this.ddlRole);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.btnHull);
- this.Controls.Add(this.label1);
- this.MaximumSize = new System.Drawing.Size(725, 9999);
- this.MinimumSize = new System.Drawing.Size(725, 493);
- this.Name = "VehicleDesignForm";
- this.ShowInTaskbar = false;
- this.Text = "Vehicle Designer";
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.VehicleDesignForm_FormClosing);
- this.pnlStats.ResumeLayout(false);
- this.pnlStats.PerformLayout();
- this.gamePanel4.ResumeLayout(false);
- this.gamePanel4.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.picDetailIcon)).EndInit();
- this.gamePanel3.ResumeLayout(false);
- this.gamePanel2.ResumeLayout(false);
- this.gamePanel1.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.picPortrait)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VehicleDesignForm));
+ label1 = new System.Windows.Forms.Label();
+ label2 = new System.Windows.Forms.Label();
+ ddlRole = new System.Windows.Forms.ComboBox();
+ label3 = new System.Windows.Forms.Label();
+ ddlName = new System.Windows.Forms.ComboBox();
+ label4 = new System.Windows.Forms.Label();
+ label5 = new System.Windows.Forms.Label();
+ label6 = new System.Windows.Forms.Label();
+ label7 = new System.Windows.Forms.Label();
+ label8 = new System.Windows.Forms.Label();
+ chkOnlyLatest = new System.Windows.Forms.CheckBox();
+ chkFilterByMount = new System.Windows.Forms.CheckBox();
+ btnWeaponsReport = new Controls.GameButton();
+ btnCancel = new Controls.GameButton();
+ btnSave = new Controls.GameButton();
+ pnlStats = new Controls.GamePanel();
+ txtEngines = new System.Windows.Forms.Label();
+ label14 = new System.Windows.Forms.Label();
+ txtEvasion = new System.Windows.Forms.Label();
+ label18 = new System.Windows.Forms.Label();
+ txtAccuracy = new System.Windows.Forms.Label();
+ label11 = new System.Windows.Forms.Label();
+ txtRange = new System.Windows.Forms.Label();
+ label22 = new System.Windows.Forms.Label();
+ txtHull = new System.Windows.Forms.Label();
+ txtArmor = new System.Windows.Forms.Label();
+ txtShields = new System.Windows.Forms.Label();
+ txtSpeed = new System.Windows.Forms.Label();
+ txtSupplyStorage = new System.Windows.Forms.Label();
+ label17 = new System.Windows.Forms.Label();
+ txtCargo = new System.Windows.Forms.Label();
+ label15 = new System.Windows.Forms.Label();
+ label13 = new System.Windows.Forms.Label();
+ label12 = new System.Windows.Forms.Label();
+ txtSpaceFree = new System.Windows.Forms.Label();
+ resCostRad = new Controls.Blazor.ResourceDisplay();
+ resCostOrg = new Controls.Blazor.ResourceDisplay();
+ resCostMin = new Controls.Blazor.ResourceDisplay();
+ label10 = new System.Windows.Forms.Label();
+ label9 = new System.Windows.Forms.Label();
+ gamePanel4 = new Controls.GamePanel();
+ txtDetailDescription = new System.Windows.Forms.Label();
+ resDetailRad = new Controls.Blazor.ResourceDisplay();
+ resDetailOrg = new Controls.Blazor.ResourceDisplay();
+ resDetailMin = new Controls.Blazor.ResourceDisplay();
+ txtDetailSize = new System.Windows.Forms.Label();
+ txtDetailName = new System.Windows.Forms.Label();
+ picDetailIcon = new Controls.Blazor.GamePictureBox();
+ gamePanel3 = new Controls.GamePanel();
+ lstWarnings = new System.Windows.Forms.TextBox();
+ gamePanel2 = new Controls.GamePanel();
+ lstComponentsInstalled = new System.Windows.Forms.ListView();
+ gamePanel1 = new Controls.GamePanel();
+ lstComponentsAvailable = new System.Windows.Forms.ListView();
+ btnHull = new Controls.GameButton();
+ txtIteration = new System.Windows.Forms.Label();
+ picPortrait = new Controls.Blazor.GamePictureBox();
+ btnMountInfo = new Controls.GameButton();
+ ddlMount = new System.Windows.Forms.ComboBox();
+ btnHelp = new Controls.GameButton();
+ btnMount = new Controls.GameButton();
+ pnlStats.SuspendLayout();
+ gamePanel4.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)picDetailIcon).BeginInit();
+ gamePanel3.SuspendLayout();
+ gamePanel2.SuspendLayout();
+ gamePanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)picPortrait).BeginInit();
+ SuspendLayout();
+ //
+ // label1
+ //
+ label1.AutoSize = true;
+ label1.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label1.Location = new System.Drawing.Point(15, 15);
+ label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label1.Name = "label1";
+ label1.Size = new System.Drawing.Size(29, 15);
+ label1.TabIndex = 0;
+ label1.Text = "Hull";
+ //
+ // label2
+ //
+ label2.AutoSize = true;
+ label2.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label2.Location = new System.Drawing.Point(15, 47);
+ label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label2.Name = "label2";
+ label2.Size = new System.Drawing.Size(30, 15);
+ label2.TabIndex = 3;
+ label2.Text = "Role";
+ //
+ // ddlRole
+ //
+ ddlRole.BackColor = System.Drawing.Color.Black;
+ ddlRole.Enabled = false;
+ ddlRole.ForeColor = System.Drawing.Color.White;
+ ddlRole.FormattingEnabled = true;
+ ddlRole.Location = new System.Drawing.Point(93, 44);
+ ddlRole.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ ddlRole.Name = "ddlRole";
+ ddlRole.Size = new System.Drawing.Size(194, 23);
+ ddlRole.TabIndex = 4;
+ ddlRole.TextChanged += ddlRole_TextChanged;
+ //
+ // label3
+ //
+ label3.AutoSize = true;
+ label3.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label3.Location = new System.Drawing.Point(15, 81);
+ label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label3.Name = "label3";
+ label3.Size = new System.Drawing.Size(39, 15);
+ label3.TabIndex = 5;
+ label3.Text = "Name";
+ //
+ // ddlName
+ //
+ ddlName.BackColor = System.Drawing.Color.Black;
+ ddlName.Enabled = false;
+ ddlName.ForeColor = System.Drawing.Color.White;
+ ddlName.FormattingEnabled = true;
+ ddlName.Location = new System.Drawing.Point(93, 77);
+ ddlName.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ ddlName.Name = "ddlName";
+ ddlName.Size = new System.Drawing.Size(163, 23);
+ ddlName.TabIndex = 6;
+ ddlName.TextChanged += ddlName_TextChanged;
+ //
+ // label4
+ //
+ label4.AutoSize = true;
+ label4.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label4.Location = new System.Drawing.Point(15, 160);
+ label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label4.Name = "label4";
+ label4.Size = new System.Drawing.Size(127, 15);
+ label4.TabIndex = 8;
+ label4.Text = "Components Available";
+ //
+ // label5
+ //
+ label5.AutoSize = true;
+ label5.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label5.Location = new System.Drawing.Point(296, 160);
+ label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label5.Name = "label5";
+ label5.Size = new System.Drawing.Size(123, 15);
+ label5.TabIndex = 10;
+ label5.Text = "Components Installed";
+ //
+ // label6
+ //
+ label6.AutoSize = true;
+ label6.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label6.Location = new System.Drawing.Point(15, 114);
+ label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label6.Name = "label6";
+ label6.Size = new System.Drawing.Size(65, 15);
+ label6.TabIndex = 13;
+ label6.Text = "Use Mount";
+ //
+ // label7
+ //
+ label7.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
+ label7.AutoSize = true;
+ label7.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label7.Location = new System.Drawing.Point(14, 608);
+ label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label7.Name = "label7";
+ label7.Size = new System.Drawing.Size(57, 15);
+ label7.TabIndex = 18;
+ label7.Text = "Warnings";
+ //
+ // label8
+ //
+ label8.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
+ label8.AutoSize = true;
+ label8.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label8.Location = new System.Drawing.Point(296, 608);
+ label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label8.Name = "label8";
+ label8.Size = new System.Drawing.Size(109, 15);
+ label8.TabIndex = 20;
+ label8.Text = "Component Details";
+ //
+ // chkOnlyLatest
+ //
+ chkOnlyLatest.AutoSize = true;
+ chkOnlyLatest.Checked = true;
+ chkOnlyLatest.CheckState = System.Windows.Forms.CheckState.Checked;
+ chkOnlyLatest.Location = new System.Drawing.Point(14, 187);
+ chkOnlyLatest.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ chkOnlyLatest.Name = "chkOnlyLatest";
+ chkOnlyLatest.Size = new System.Drawing.Size(85, 19);
+ chkOnlyLatest.TabIndex = 21;
+ chkOnlyLatest.Text = "Only Latest";
+ chkOnlyLatest.UseVisualStyleBackColor = true;
+ chkOnlyLatest.CheckedChanged += chkOnlyLatest_CheckedChanged;
+ //
+ // chkFilterByMount
+ //
+ chkFilterByMount.AutoSize = true;
+ chkFilterByMount.Location = new System.Drawing.Point(113, 187);
+ chkFilterByMount.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ chkFilterByMount.Name = "chkFilterByMount";
+ chkFilterByMount.Size = new System.Drawing.Size(107, 19);
+ chkFilterByMount.TabIndex = 28;
+ chkFilterByMount.Text = "Filter By Mount";
+ chkFilterByMount.UseVisualStyleBackColor = true;
+ chkFilterByMount.CheckedChanged += chkFilterByMount_CheckedChanged;
+ //
+ // btnWeaponsReport
+ //
+ btnWeaponsReport.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
+ btnWeaponsReport.BackColor = System.Drawing.Color.Black;
+ btnWeaponsReport.ForeColor = System.Drawing.Color.CornflowerBlue;
+ btnWeaponsReport.Location = new System.Drawing.Point(643, 179);
+ btnWeaponsReport.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ btnWeaponsReport.Name = "btnWeaponsReport";
+ btnWeaponsReport.Size = new System.Drawing.Size(170, 33);
+ btnWeaponsReport.TabIndex = 26;
+ btnWeaponsReport.Text = "Weapons Report";
+ btnWeaponsReport.UseVisualStyleBackColor = false;
+ //
+ // btnCancel
+ //
+ btnCancel.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
+ btnCancel.BackColor = System.Drawing.Color.Black;
+ btnCancel.ForeColor = System.Drawing.Color.CornflowerBlue;
+ btnCancel.Location = new System.Drawing.Point(643, 646);
+ btnCancel.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ btnCancel.Name = "btnCancel";
+ btnCancel.Size = new System.Drawing.Size(170, 33);
+ btnCancel.TabIndex = 24;
+ btnCancel.Text = "Cancel";
+ btnCancel.UseVisualStyleBackColor = false;
+ btnCancel.Click += btnCancel_Click;
+ //
+ // btnSave
+ //
+ btnSave.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
+ btnSave.BackColor = System.Drawing.Color.Black;
+ btnSave.ForeColor = System.Drawing.Color.CornflowerBlue;
+ btnSave.Location = new System.Drawing.Point(643, 687);
+ btnSave.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ btnSave.Name = "btnSave";
+ btnSave.Size = new System.Drawing.Size(170, 33);
+ btnSave.TabIndex = 23;
+ btnSave.Text = "Save";
+ btnSave.UseVisualStyleBackColor = false;
+ btnSave.Click += btnSave_Click;
+ //
+ // pnlStats
+ //
+ pnlStats.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
+ pnlStats.BackColor = System.Drawing.Color.Black;
+ pnlStats.BorderColor = System.Drawing.Color.CornflowerBlue;
+ pnlStats.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ pnlStats.Controls.Add(txtEngines);
+ pnlStats.Controls.Add(label14);
+ pnlStats.Controls.Add(txtEvasion);
+ pnlStats.Controls.Add(label18);
+ pnlStats.Controls.Add(txtAccuracy);
+ pnlStats.Controls.Add(label11);
+ pnlStats.Controls.Add(txtRange);
+ pnlStats.Controls.Add(label22);
+ pnlStats.Controls.Add(txtHull);
+ pnlStats.Controls.Add(txtArmor);
+ pnlStats.Controls.Add(txtShields);
+ pnlStats.Controls.Add(txtSpeed);
+ pnlStats.Controls.Add(txtSupplyStorage);
+ pnlStats.Controls.Add(label17);
+ pnlStats.Controls.Add(txtCargo);
+ pnlStats.Controls.Add(label15);
+ pnlStats.Controls.Add(label13);
+ pnlStats.Controls.Add(label12);
+ pnlStats.Controls.Add(txtSpaceFree);
+ pnlStats.Controls.Add(resCostRad);
+ pnlStats.Controls.Add(resCostOrg);
+ pnlStats.Controls.Add(resCostMin);
+ pnlStats.Controls.Add(label10);
+ pnlStats.Controls.Add(label9);
+ pnlStats.ForeColor = System.Drawing.Color.White;
+ pnlStats.Location = new System.Drawing.Point(300, 9);
+ pnlStats.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ pnlStats.Name = "pnlStats";
+ pnlStats.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ pnlStats.Size = new System.Drawing.Size(513, 147);
+ pnlStats.TabIndex = 22;
+ //
+ // txtEngines
+ //
+ txtEngines.AutoSize = true;
+ txtEngines.Location = new System.Drawing.Point(98, 115);
+ txtEngines.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ txtEngines.Name = "txtEngines";
+ txtEngines.Size = new System.Drawing.Size(30, 15);
+ txtEngines.TabIndex = 28;
+ txtEngines.Text = "0 / 0";
+ //
+ // label14
+ //
+ label14.AutoSize = true;
+ label14.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label14.Location = new System.Drawing.Point(4, 115);
+ label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label14.Name = "label14";
+ label14.Size = new System.Drawing.Size(48, 15);
+ label14.TabIndex = 27;
+ label14.Text = "Engines";
+ //
+ // txtEvasion
+ //
+ txtEvasion.AutoSize = true;
+ txtEvasion.Location = new System.Drawing.Point(295, 72);
+ txtEvasion.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ txtEvasion.Name = "txtEvasion";
+ txtEvasion.Size = new System.Drawing.Size(31, 15);
+ txtEvasion.TabIndex = 26;
+ txtEvasion.Text = "+0%";
+ //
+ // label18
+ //
+ label18.AutoSize = true;
+ label18.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label18.Location = new System.Drawing.Point(209, 70);
+ label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label18.Name = "label18";
+ label18.Size = new System.Drawing.Size(47, 15);
+ label18.TabIndex = 25;
+ label18.Text = "Evasion";
+ //
+ // txtAccuracy
+ //
+ txtAccuracy.AutoSize = true;
+ txtAccuracy.Location = new System.Drawing.Point(295, 57);
+ txtAccuracy.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ txtAccuracy.Name = "txtAccuracy";
+ txtAccuracy.Size = new System.Drawing.Size(31, 15);
+ txtAccuracy.TabIndex = 24;
+ txtAccuracy.Text = "+0%";
+ //
+ // label11
+ //
+ label11.AutoSize = true;
+ label11.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label11.Location = new System.Drawing.Point(209, 57);
+ label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label11.Name = "label11";
+ label11.Size = new System.Drawing.Size(56, 15);
+ label11.TabIndex = 23;
+ label11.Text = "Accuracy";
+ //
+ // txtRange
+ //
+ txtRange.AutoSize = true;
+ txtRange.Location = new System.Drawing.Point(98, 100);
+ txtRange.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ txtRange.Name = "txtRange";
+ txtRange.Size = new System.Drawing.Size(53, 15);
+ txtRange.TabIndex = 22;
+ txtRange.Text = "0 sectors";
+ //
+ // label22
+ //
+ label22.AutoSize = true;
+ label22.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label22.Location = new System.Drawing.Point(4, 100);
+ label22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label22.Name = "label22";
+ label22.Size = new System.Drawing.Size(40, 15);
+ label22.TabIndex = 21;
+ label22.Text = "Range";
+ //
+ // txtHull
+ //
+ txtHull.AutoSize = true;
+ txtHull.Location = new System.Drawing.Point(295, 37);
+ txtHull.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ txtHull.Name = "txtHull";
+ txtHull.Size = new System.Drawing.Size(36, 15);
+ txtHull.TabIndex = 20;
+ txtHull.Text = "0 hull";
+ //
+ // txtArmor
+ //
+ txtArmor.AutoSize = true;
+ txtArmor.Location = new System.Drawing.Point(295, 20);
+ txtArmor.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ txtArmor.Name = "txtArmor";
+ txtArmor.Size = new System.Drawing.Size(48, 15);
+ txtArmor.TabIndex = 19;
+ txtArmor.Text = "0 armor";
+ //
+ // txtShields
+ //
+ txtShields.AutoSize = true;
+ txtShields.Location = new System.Drawing.Point(295, 5);
+ txtShields.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ txtShields.Name = "txtShields";
+ txtShields.Size = new System.Drawing.Size(110, 15);
+ txtShields.TabIndex = 18;
+ txtShields.Text = "0 shields (+0 regen)";
+ //
+ // txtSpeed
+ //
+ txtSpeed.AutoSize = true;
+ txtSpeed.Location = new System.Drawing.Point(98, 72);
+ txtSpeed.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ txtSpeed.Name = "txtSpeed";
+ txtSpeed.Size = new System.Drawing.Size(80, 15);
+ txtSpeed.TabIndex = 17;
+ txtSpeed.Text = "0 sectors/turn";
+ //
+ // txtSupplyStorage
+ //
+ txtSupplyStorage.AutoSize = true;
+ txtSupplyStorage.Location = new System.Drawing.Point(98, 87);
+ txtSupplyStorage.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ txtSupplyStorage.Name = "txtSupplyStorage";
+ txtSupplyStorage.Size = new System.Drawing.Size(13, 15);
+ txtSupplyStorage.TabIndex = 16;
+ txtSupplyStorage.Text = "0";
+ //
+ // label17
+ //
+ label17.AutoSize = true;
+ label17.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label17.Location = new System.Drawing.Point(4, 85);
+ label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label17.Name = "label17";
+ label17.Size = new System.Drawing.Size(51, 15);
+ label17.TabIndex = 15;
+ label17.Text = "Supplies";
+ //
+ // txtCargo
+ //
+ txtCargo.AutoSize = true;
+ txtCargo.Location = new System.Drawing.Point(296, 100);
+ txtCargo.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ txtCargo.Name = "txtCargo";
+ txtCargo.Size = new System.Drawing.Size(25, 15);
+ txtCargo.TabIndex = 14;
+ txtCargo.Text = "0kT";
+ //
+ // label15
+ //
+ label15.AutoSize = true;
+ label15.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label15.Location = new System.Drawing.Point(209, 100);
+ label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label15.Name = "label15";
+ label15.Size = new System.Drawing.Size(82, 15);
+ label15.TabIndex = 13;
+ label15.Text = "Cargo Storage";
+ //
+ // label13
+ //
+ label13.AutoSize = true;
+ label13.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label13.Location = new System.Drawing.Point(209, 5);
+ label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label13.Name = "label13";
+ label13.Size = new System.Drawing.Size(58, 15);
+ label13.TabIndex = 11;
+ label13.Text = "Durability";
+ //
+ // label12
+ //
+ label12.AutoSize = true;
+ label12.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label12.Location = new System.Drawing.Point(4, 70);
+ label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label12.Name = "label12";
+ label12.Size = new System.Drawing.Size(39, 15);
+ label12.TabIndex = 10;
+ label12.Text = "Speed";
+ //
+ // txtSpaceFree
+ //
+ txtSpaceFree.AutoSize = true;
+ txtSpaceFree.Location = new System.Drawing.Point(98, 3);
+ txtSpaceFree.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ txtSpaceFree.Name = "txtSpaceFree";
+ txtSpaceFree.Size = new System.Drawing.Size(54, 15);
+ txtSpaceFree.TabIndex = 9;
+ txtSpaceFree.Text = "0kT / 0kT";
+ //
+ // resCostRad
+ //
+ resCostRad.Amount = 0;
+ resCostRad.BackColor = System.Drawing.Color.Black;
+ resCostRad.Change = null;
+ resCostRad.ForeColor = System.Drawing.Color.FromArgb(192, 0, 0);
+ resCostRad.Location = new System.Drawing.Point(91, 54);
+ resCostRad.Margin = new System.Windows.Forms.Padding(0);
+ resCostRad.Name = "resCostRad";
+ resCostRad.ResourceName = "Radioactives";
+ resCostRad.Size = new System.Drawing.Size(92, 17);
+ resCostRad.TabIndex = 8;
+ //
+ // resCostOrg
+ //
+ resCostOrg.Amount = 0;
+ resCostOrg.BackColor = System.Drawing.Color.Black;
+ resCostOrg.Change = null;
+ resCostOrg.ForeColor = System.Drawing.Color.FromArgb(0, 192, 0);
+ resCostOrg.Location = new System.Drawing.Point(91, 37);
+ resCostOrg.Margin = new System.Windows.Forms.Padding(0);
+ resCostOrg.Name = "resCostOrg";
+ resCostOrg.ResourceName = "Organics";
+ resCostOrg.Size = new System.Drawing.Size(92, 17);
+ resCostOrg.TabIndex = 7;
+ //
+ // resCostMin
+ //
+ resCostMin.Amount = 0;
+ resCostMin.BackColor = System.Drawing.Color.Black;
+ resCostMin.Change = null;
+ resCostMin.ForeColor = System.Drawing.Color.FromArgb(128, 128, 255);
+ resCostMin.Location = new System.Drawing.Point(91, 20);
+ resCostMin.Margin = new System.Windows.Forms.Padding(0);
+ resCostMin.Name = "resCostMin";
+ resCostMin.ResourceName = "Minerals";
+ resCostMin.Size = new System.Drawing.Size(92, 17);
+ resCostMin.TabIndex = 6;
+ //
+ // label10
+ //
+ label10.AutoSize = true;
+ label10.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label10.Location = new System.Drawing.Point(4, 20);
+ label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label10.Name = "label10";
+ label10.Size = new System.Drawing.Size(31, 15);
+ label10.TabIndex = 2;
+ label10.Text = "Cost";
+ //
+ // label9
+ //
+ label9.AutoSize = true;
+ label9.ForeColor = System.Drawing.Color.CornflowerBlue;
+ label9.Location = new System.Drawing.Point(4, 5);
+ label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ label9.Name = "label9";
+ label9.Size = new System.Drawing.Size(63, 15);
+ label9.TabIndex = 1;
+ label9.Text = "Space Free";
+ //
+ // gamePanel4
+ //
+ gamePanel4.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
+ gamePanel4.BackColor = System.Drawing.Color.Black;
+ gamePanel4.BorderColor = System.Drawing.Color.CornflowerBlue;
+ gamePanel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ gamePanel4.Controls.Add(txtDetailDescription);
+ gamePanel4.Controls.Add(resDetailRad);
+ gamePanel4.Controls.Add(resDetailOrg);
+ gamePanel4.Controls.Add(resDetailMin);
+ gamePanel4.Controls.Add(txtDetailSize);
+ gamePanel4.Controls.Add(txtDetailName);
+ gamePanel4.Controls.Add(picDetailIcon);
+ gamePanel4.ForeColor = System.Drawing.Color.White;
+ gamePanel4.Location = new System.Drawing.Point(295, 627);
+ gamePanel4.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ gamePanel4.Name = "gamePanel4";
+ gamePanel4.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ gamePanel4.Size = new System.Drawing.Size(340, 93);
+ gamePanel4.TabIndex = 19;
+ //
+ // txtDetailDescription
+ //
+ txtDetailDescription.Location = new System.Drawing.Point(4, 53);
+ txtDetailDescription.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ txtDetailDescription.Name = "txtDetailDescription";
+ txtDetailDescription.Size = new System.Drawing.Size(230, 35);
+ txtDetailDescription.TabIndex = 6;
+ txtDetailDescription.Text = "label9";
+ //
+ // resDetailRad
+ //
+ resDetailRad.Amount = 0;
+ resDetailRad.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
+ resDetailRad.BackColor = System.Drawing.Color.Black;
+ resDetailRad.Change = null;
+ resDetailRad.ForeColor = System.Drawing.Color.FromArgb(192, 0, 0);
+ resDetailRad.Location = new System.Drawing.Point(240, 70);
+ resDetailRad.Margin = new System.Windows.Forms.Padding(0);
+ resDetailRad.Name = "resDetailRad";
+ resDetailRad.ResourceName = "Radioactives";
+ resDetailRad.Size = new System.Drawing.Size(94, 17);
+ resDetailRad.TabIndex = 5;
+ //
+ // resDetailOrg
+ //
+ resDetailOrg.Amount = 0;
+ resDetailOrg.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
+ resDetailOrg.BackColor = System.Drawing.Color.Black;
+ resDetailOrg.Change = null;
+ resDetailOrg.ForeColor = System.Drawing.Color.FromArgb(0, 192, 0);
+ resDetailOrg.Location = new System.Drawing.Point(240, 52);
+ resDetailOrg.Margin = new System.Windows.Forms.Padding(0);
+ resDetailOrg.Name = "resDetailOrg";
+ resDetailOrg.ResourceName = "Organics";
+ resDetailOrg.Size = new System.Drawing.Size(94, 17);
+ resDetailOrg.TabIndex = 4;
+ //
+ // resDetailMin
+ //
+ resDetailMin.Amount = 0;
+ resDetailMin.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right;
+ resDetailMin.BackColor = System.Drawing.Color.Black;
+ resDetailMin.Change = null;
+ resDetailMin.ForeColor = System.Drawing.Color.FromArgb(128, 128, 255);
+ resDetailMin.Location = new System.Drawing.Point(240, 35);
+ resDetailMin.Margin = new System.Windows.Forms.Padding(0);
+ resDetailMin.Name = "resDetailMin";
+ resDetailMin.ResourceName = "Minerals";
+ resDetailMin.Size = new System.Drawing.Size(94, 17);
+ resDetailMin.TabIndex = 3;
+ //
+ // txtDetailSize
+ //
+ txtDetailSize.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
+ txtDetailSize.Location = new System.Drawing.Point(278, 8);
+ txtDetailSize.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ txtDetailSize.Name = "txtDetailSize";
+ txtDetailSize.Size = new System.Drawing.Size(54, 15);
+ txtDetailSize.TabIndex = 2;
+ txtDetailSize.Text = "(no size)";
+ txtDetailSize.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
+ // txtDetailName
+ //
+ txtDetailName.AutoSize = true;
+ txtDetailName.Location = new System.Drawing.Point(52, 8);
+ txtDetailName.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ txtDetailName.Name = "txtDetailName";
+ txtDetailName.Size = new System.Drawing.Size(94, 15);
+ txtDetailName.TabIndex = 1;
+ txtDetailName.Text = "(no component)";
+ //
+ // picDetailIcon
+ //
+ picDetailIcon.BackColor = System.Drawing.Color.Black;
+ picDetailIcon.ForeColor = System.Drawing.Color.White;
+ picDetailIcon.Image = (System.Drawing.Image)resources.GetObject("picDetailIcon.Image");
+ picDetailIcon.Location = new System.Drawing.Point(8, 8);
+ picDetailIcon.Margin = new System.Windows.Forms.Padding(0);
+ picDetailIcon.Name = "picDetailIcon";
+ picDetailIcon.Size = new System.Drawing.Size(37, 37);
+ picDetailIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ picDetailIcon.TabIndex = 0;
+ picDetailIcon.TabStop = false;
+ //
+ // gamePanel3
+ //
+ gamePanel3.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
+ gamePanel3.BackColor = System.Drawing.Color.Black;
+ gamePanel3.BorderColor = System.Drawing.Color.CornflowerBlue;
+ gamePanel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ gamePanel3.Controls.Add(lstWarnings);
+ gamePanel3.ForeColor = System.Drawing.Color.White;
+ gamePanel3.Location = new System.Drawing.Point(14, 627);
+ gamePanel3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ gamePanel3.Name = "gamePanel3";
+ gamePanel3.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ gamePanel3.Size = new System.Drawing.Size(273, 93);
+ gamePanel3.TabIndex = 17;
+ //
+ // lstWarnings
+ //
+ lstWarnings.BackColor = System.Drawing.Color.Black;
+ lstWarnings.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ lstWarnings.Dock = System.Windows.Forms.DockStyle.Fill;
+ lstWarnings.ForeColor = System.Drawing.Color.Salmon;
+ lstWarnings.Location = new System.Drawing.Point(4, 3);
+ lstWarnings.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ lstWarnings.Multiline = true;
+ lstWarnings.Name = "lstWarnings";
+ lstWarnings.PlaceholderText = "(No warnings)";
+ lstWarnings.ReadOnly = true;
+ lstWarnings.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
+ lstWarnings.Size = new System.Drawing.Size(263, 85);
+ lstWarnings.TabIndex = 16;
+ //
+ // gamePanel2
+ //
+ gamePanel2.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
+ gamePanel2.BackColor = System.Drawing.Color.Black;
+ gamePanel2.BorderColor = System.Drawing.Color.CornflowerBlue;
+ gamePanel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ gamePanel2.Controls.Add(lstComponentsInstalled);
+ gamePanel2.ForeColor = System.Drawing.Color.White;
+ gamePanel2.Location = new System.Drawing.Point(295, 179);
+ gamePanel2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ gamePanel2.Name = "gamePanel2";
+ gamePanel2.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ gamePanel2.Size = new System.Drawing.Size(340, 424);
+ gamePanel2.TabIndex = 9;
+ //
+ // lstComponentsInstalled
+ //
+ lstComponentsInstalled.BackColor = System.Drawing.Color.Black;
+ lstComponentsInstalled.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ lstComponentsInstalled.Dock = System.Windows.Forms.DockStyle.Fill;
+ lstComponentsInstalled.ForeColor = System.Drawing.Color.White;
+ lstComponentsInstalled.HoverSelection = true;
+ lstComponentsInstalled.Location = new System.Drawing.Point(4, 3);
+ lstComponentsInstalled.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ lstComponentsInstalled.Name = "lstComponentsInstalled";
+ lstComponentsInstalled.Size = new System.Drawing.Size(330, 416);
+ lstComponentsInstalled.TabIndex = 0;
+ lstComponentsInstalled.UseCompatibleStateImageBehavior = false;
+ lstComponentsInstalled.View = System.Windows.Forms.View.Tile;
+ lstComponentsInstalled.ItemMouseHover += lstComponentsInstalled_ItemMouseHover;
+ lstComponentsInstalled.MouseDown += lstComponentsInstalled_MouseDown;
+ //
+ // gamePanel1
+ //
+ gamePanel1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
+ gamePanel1.BackColor = System.Drawing.Color.Black;
+ gamePanel1.BorderColor = System.Drawing.Color.CornflowerBlue;
+ gamePanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ gamePanel1.Controls.Add(lstComponentsAvailable);
+ gamePanel1.ForeColor = System.Drawing.Color.White;
+ gamePanel1.Location = new System.Drawing.Point(14, 209);
+ gamePanel1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ gamePanel1.Name = "gamePanel1";
+ gamePanel1.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ gamePanel1.Size = new System.Drawing.Size(273, 394);
+ gamePanel1.TabIndex = 7;
+ //
+ // lstComponentsAvailable
+ //
+ lstComponentsAvailable.BackColor = System.Drawing.Color.Black;
+ lstComponentsAvailable.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ lstComponentsAvailable.Dock = System.Windows.Forms.DockStyle.Fill;
+ lstComponentsAvailable.ForeColor = System.Drawing.Color.White;
+ lstComponentsAvailable.HoverSelection = true;
+ lstComponentsAvailable.Location = new System.Drawing.Point(4, 3);
+ lstComponentsAvailable.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ lstComponentsAvailable.Name = "lstComponentsAvailable";
+ lstComponentsAvailable.Size = new System.Drawing.Size(263, 386);
+ lstComponentsAvailable.TabIndex = 0;
+ lstComponentsAvailable.UseCompatibleStateImageBehavior = false;
+ lstComponentsAvailable.View = System.Windows.Forms.View.Tile;
+ lstComponentsAvailable.ItemMouseHover += lstComponentsAvailable_ItemMouseHover;
+ lstComponentsAvailable.MouseDown += lstComponentsAvailable_MouseDown;
+ //
+ // btnHull
+ //
+ btnHull.BackColor = System.Drawing.Color.Black;
+ btnHull.ForeColor = System.Drawing.Color.CornflowerBlue;
+ btnHull.Location = new System.Drawing.Point(93, 9);
+ btnHull.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ btnHull.Name = "btnHull";
+ btnHull.Size = new System.Drawing.Size(195, 27);
+ btnHull.TabIndex = 2;
+ btnHull.Text = "(choose)";
+ btnHull.UseVisualStyleBackColor = false;
+ btnHull.Click += btnHull_Click;
+ //
+ // txtIteration
+ //
+ txtIteration.AutoSize = true;
+ txtIteration.Location = new System.Drawing.Point(260, 81);
+ txtIteration.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ txtIteration.Name = "txtIteration";
+ txtIteration.Size = new System.Drawing.Size(24, 15);
+ txtIteration.TabIndex = 29;
+ txtIteration.Text = "Iter";
+ //
+ // picPortrait
+ //
+ picPortrait.BackColor = System.Drawing.Color.Black;
+ picPortrait.ForeColor = System.Drawing.Color.White;
+ picPortrait.Image = (System.Drawing.Image)resources.GetObject("picPortrait.Image");
+ picPortrait.Location = new System.Drawing.Point(643, 220);
+ picPortrait.Margin = new System.Windows.Forms.Padding(0);
+ picPortrait.Name = "picPortrait";
+ picPortrait.Size = new System.Drawing.Size(170, 168);
+ picPortrait.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
+ picPortrait.TabIndex = 30;
+ picPortrait.TabStop = false;
+ picPortrait.MouseDown += picPortrait_MouseDown;
+ //
+ // btnMountInfo
+ //
+ btnMountInfo.BackColor = System.Drawing.Color.Black;
+ btnMountInfo.Enabled = false;
+ btnMountInfo.ForeColor = System.Drawing.Color.CornflowerBlue;
+ btnMountInfo.Location = new System.Drawing.Point(264, 108);
+ btnMountInfo.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ btnMountInfo.Name = "btnMountInfo";
+ btnMountInfo.Size = new System.Drawing.Size(23, 27);
+ btnMountInfo.TabIndex = 26;
+ btnMountInfo.Text = "?";
+ btnMountInfo.UseVisualStyleBackColor = false;
+ btnMountInfo.Click += btnMountInfo_Click;
+ //
+ // ddlMount
+ //
+ ddlMount.BackColor = System.Drawing.Color.Black;
+ ddlMount.DisplayMember = "ShortName";
+ ddlMount.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ ddlMount.Enabled = false;
+ ddlMount.ForeColor = System.Drawing.Color.White;
+ ddlMount.FormattingEnabled = true;
+ ddlMount.Location = new System.Drawing.Point(93, 111);
+ ddlMount.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ ddlMount.Name = "ddlMount";
+ ddlMount.Size = new System.Drawing.Size(131, 23);
+ ddlMount.TabIndex = 31;
+ ddlMount.ValueMember = "Mount";
+ ddlMount.SelectedIndexChanged += ddlMount_SelectedIndexChanged;
+ //
+ // btnHelp
+ //
+ btnHelp.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
+ btnHelp.BackColor = System.Drawing.Color.Black;
+ btnHelp.ForeColor = System.Drawing.Color.CornflowerBlue;
+ btnHelp.Location = new System.Drawing.Point(643, 570);
+ btnHelp.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ btnHelp.Name = "btnHelp";
+ btnHelp.Size = new System.Drawing.Size(170, 33);
+ btnHelp.TabIndex = 32;
+ btnHelp.Text = "Help";
+ btnHelp.UseVisualStyleBackColor = false;
+ btnHelp.Click += btnHelp_Click;
+ //
+ // btnMount
+ //
+ btnMount.BackColor = System.Drawing.Color.Black;
+ btnMount.ForeColor = System.Drawing.Color.CornflowerBlue;
+ btnMount.Location = new System.Drawing.Point(233, 108);
+ btnMount.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ btnMount.Name = "btnMount";
+ btnMount.Size = new System.Drawing.Size(23, 27);
+ btnMount.TabIndex = 33;
+ btnMount.Text = "...";
+ btnMount.UseVisualStyleBackColor = false;
+ btnMount.Click += btnMount_Click;
+ //
+ // VehicleDesignForm
+ //
+ AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
+ AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ BackColor = System.Drawing.Color.Black;
+ ClientSize = new System.Drawing.Size(827, 734);
+ Controls.Add(btnMount);
+ Controls.Add(btnHelp);
+ Controls.Add(ddlMount);
+ Controls.Add(picPortrait);
+ Controls.Add(txtIteration);
+ Controls.Add(chkFilterByMount);
+ Controls.Add(btnMountInfo);
+ Controls.Add(btnWeaponsReport);
+ Controls.Add(btnCancel);
+ Controls.Add(btnSave);
+ Controls.Add(pnlStats);
+ Controls.Add(chkOnlyLatest);
+ Controls.Add(label8);
+ Controls.Add(gamePanel4);
+ Controls.Add(label7);
+ Controls.Add(gamePanel3);
+ Controls.Add(label6);
+ Controls.Add(label5);
+ Controls.Add(gamePanel2);
+ Controls.Add(label4);
+ Controls.Add(gamePanel1);
+ Controls.Add(ddlName);
+ Controls.Add(label3);
+ Controls.Add(ddlRole);
+ Controls.Add(label2);
+ Controls.Add(btnHull);
+ Controls.Add(label1);
+ Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+ MaximumSize = new System.Drawing.Size(843, 11531);
+ MinimumSize = new System.Drawing.Size(843, 563);
+ Name = "VehicleDesignForm";
+ ShowInTaskbar = false;
+ Text = "Vehicle Designer";
+ FormClosing += VehicleDesignForm_FormClosing;
+ pnlStats.ResumeLayout(false);
+ pnlStats.PerformLayout();
+ gamePanel4.ResumeLayout(false);
+ gamePanel4.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)picDetailIcon).EndInit();
+ gamePanel3.ResumeLayout(false);
+ gamePanel3.PerformLayout();
+ gamePanel2.ResumeLayout(false);
+ gamePanel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)picPortrait).EndInit();
+ ResumeLayout(false);
+ PerformLayout();
+ }
- #endregion
+ #endregion
- private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label1;
private Controls.GameButton btnHull;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.ComboBox ddlRole;
@@ -887,7 +946,7 @@ private void InitializeComponent()
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private Controls.GamePanel gamePanel3;
- private System.Windows.Forms.ListBox lstWarnings;
+ private System.Windows.Forms.TextBox lstWarnings;
private System.Windows.Forms.Label label7;
private Controls.GamePanel gamePanel4;
private System.Windows.Forms.Label label8;
@@ -934,4 +993,5 @@ private void InitializeComponent()
private System.Windows.Forms.Label txtEngines;
private System.Windows.Forms.Label label14;
private Controls.GameButton btnMount;
+
}
\ No newline at end of file
diff --git a/FrEee.UI.WinForms/Forms/VehicleDesignForm.cs b/FrEee.UI.WinForms/Forms/VehicleDesignForm.cs
index dd8936dbb..ccb2e1033 100644
--- a/FrEee.UI.WinForms/Forms/VehicleDesignForm.cs
+++ b/FrEee.UI.WinForms/Forms/VehicleDesignForm.cs
@@ -253,11 +253,15 @@ private void BindMountList()
private void BindWarnings()
{
- lstWarnings.Items.Clear();
+ lstWarnings.Text = "";
if (Design != null)
{
foreach (var w in Design.Warnings)
- lstWarnings.Items.Add(w);
+ if (string.IsNullOrEmpty(lstWarnings.Text))
+ {
+ lstWarnings.Text += w;
+ }
+ else { lstWarnings.Text += "\r\n" + w; }
}
}
diff --git a/FrEee.UI.WinForms/Forms/VehicleDesignForm.resx b/FrEee.UI.WinForms/Forms/VehicleDesignForm.resx
index 29dcb1b3a..db32345ac 100644
--- a/FrEee.UI.WinForms/Forms/VehicleDesignForm.resx
+++ b/FrEee.UI.WinForms/Forms/VehicleDesignForm.resx
@@ -1,17 +1,17 @@
-
@@ -117,4 +117,17 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wAAADsABataJCQAAAA1JREFUGFdjYGBgYAAAAAUAAYoz4wAAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wAAADsABataJCQAAAA1JREFUGFdjYGBgYAAAAAUAAYoz4wAAAAAASUVORK5CYII=
+
+
\ No newline at end of file