Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
changeset 84:1e85a0687e4d
Re #88: Complete initial WinForms UI
* Remove icon from unit form
* Widen text boxes on new army form
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 31 Oct 2009 19:32:48 +0000 |
parents | 6d5cb8c7b6ed |
children | 0bb9f40d44eb |
files | FrmNewArmy.cs FrmUnit.cs |
diffstat | 2 files changed, 13 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/FrmNewArmy.cs Fri Oct 30 21:00:04 2009 +0000 +++ b/FrmNewArmy.cs Sat Oct 31 19:32:48 2009 +0000 @@ -104,9 +104,9 @@ // lstRaces // this.lstRaces.DisplayMember = "Name"; - this.lstRaces.Location = new System.Drawing.Point(89, 33); + this.lstRaces.Location = new System.Drawing.Point(110, 33); this.lstRaces.Name = "lstRaces"; - this.lstRaces.Size = new System.Drawing.Size(269, 121); + this.lstRaces.Size = new System.Drawing.Size(248, 121); this.lstRaces.TabIndex = 7; this.lstRaces.SelectedIndexChanged += new System.EventHandler(this.lstRaces_SelectedIndexChanged); // @@ -125,7 +125,7 @@ // this.lblRaceList.Location = new System.Drawing.Point(12, 33); this.lblRaceList.Name = "lblRaceList"; - this.lblRaceList.Size = new System.Drawing.Size(71, 80); + this.lblRaceList.Size = new System.Drawing.Size(92, 80); this.lblRaceList.TabIndex = 5; this.lblRaceList.Text = "race list"; this.lblRaceList.TextAlign = System.Drawing.ContentAlignment.TopRight; @@ -145,16 +145,16 @@ // this.lblArmyName.Location = new System.Drawing.Point(12, 163); this.lblArmyName.Name = "lblArmyName"; - this.lblArmyName.Size = new System.Drawing.Size(71, 17); + this.lblArmyName.Size = new System.Drawing.Size(92, 17); this.lblArmyName.TabIndex = 8; this.lblArmyName.Text = "army name"; this.lblArmyName.TextAlign = System.Drawing.ContentAlignment.TopRight; // // txtArmyName // - this.txtArmyName.Location = new System.Drawing.Point(89, 160); + this.txtArmyName.Location = new System.Drawing.Point(110, 160); this.txtArmyName.Name = "txtArmyName"; - this.txtArmyName.Size = new System.Drawing.Size(269, 20); + this.txtArmyName.Size = new System.Drawing.Size(248, 20); this.txtArmyName.TabIndex = 9; this.txtArmyName.TextChanged += new System.EventHandler(this.txtArmyName_TextChanged); // @@ -162,7 +162,7 @@ // this.lblArmySize.Location = new System.Drawing.Point(12, 188); this.lblArmySize.Name = "lblArmySize"; - this.lblArmySize.Size = new System.Drawing.Size(71, 18); + this.lblArmySize.Size = new System.Drawing.Size(92, 18); this.lblArmySize.TabIndex = 10; this.lblArmySize.Text = "army size"; this.lblArmySize.TextAlign = System.Drawing.ContentAlignment.TopRight; @@ -174,14 +174,14 @@ 0, 0, 0}); - this.armySize.Location = new System.Drawing.Point(89, 186); + this.armySize.Location = new System.Drawing.Point(110, 186); this.armySize.Maximum = new decimal(new int[] { 1000000, 0, 0, 0}); this.armySize.Name = "armySize"; - this.armySize.Size = new System.Drawing.Size(120, 20); + this.armySize.Size = new System.Drawing.Size(99, 20); this.armySize.TabIndex = 11; this.armySize.ThousandsSeparator = true; this.armySize.Value = new decimal(new int[] { @@ -194,7 +194,7 @@ // this.lblGameSystem.Location = new System.Drawing.Point(12, 9); this.lblGameSystem.Name = "lblGameSystem"; - this.lblGameSystem.Size = new System.Drawing.Size(71, 18); + this.lblGameSystem.Size = new System.Drawing.Size(92, 18); this.lblGameSystem.TabIndex = 12; this.lblGameSystem.Text = "game system"; this.lblGameSystem.TextAlign = System.Drawing.ContentAlignment.TopRight; @@ -203,9 +203,9 @@ // this.gameSystems.DisplayMember = "Name"; this.gameSystems.FormattingEnabled = true; - this.gameSystems.Location = new System.Drawing.Point(89, 6); + this.gameSystems.Location = new System.Drawing.Point(110, 6); this.gameSystems.Name = "gameSystems"; - this.gameSystems.Size = new System.Drawing.Size(269, 21); + this.gameSystems.Size = new System.Drawing.Size(248, 21); this.gameSystems.TabIndex = 13; this.gameSystems.SelectedValueChanged += new System.EventHandler(this.gameSystems_SelectedValueChanged); //
--- a/FrmUnit.cs Fri Oct 30 21:00:04 2009 +0000 +++ b/FrmUnit.cs Sat Oct 31 19:32:48 2009 +0000 @@ -343,6 +343,7 @@ this.Controls.Add(this.tbUnitName); this.Controls.Add(this.statsGrid); this.Name = "FrmUnit"; + this.ShowIcon = false; this.ShowInTaskbar = false; this.Text = "FrmUnit"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmUnit_FormClosing);