Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
comparison FrmEditArmy.Designer.cs @ 225:5233147ca7e4
Re #101: Make army names and sizes modifiable after creation
* Add form for editing name and size
* Add edit options from army tree
* Add edit options from Edit menu
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 29 Aug 2011 20:06:54 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
224:467decfdde8e | 225:5233147ca7e4 |
---|---|
1 namespace IBBoard.WarFoundry.GUI.WinForms | |
2 { | |
3 partial class FrmEditArmy | |
4 { | |
5 /// <summary> | |
6 /// Required designer variable. | |
7 /// </summary> | |
8 private System.ComponentModel.IContainer components = null; | |
9 | |
10 /// <summary> | |
11 /// Clean up any resources being used. | |
12 /// </summary> | |
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | |
14 protected override void Dispose(bool disposing) | |
15 { | |
16 if (disposing && (components != null)) | |
17 { | |
18 components.Dispose(); | |
19 } | |
20 base.Dispose(disposing); | |
21 } | |
22 | |
23 #region Windows Form Designer generated code | |
24 | |
25 /// <summary> | |
26 /// Required method for Designer support - do not modify | |
27 /// the contents of this method with the code editor. | |
28 /// </summary> | |
29 private void InitializeComponent() | |
30 { | |
31 this.bttnOkay = new IBBoard.Windows.Forms.IBBButton(); | |
32 this.armySize = new System.Windows.Forms.NumericUpDown(); | |
33 this.lblArmySize = new IBBoard.Windows.Forms.IBBLabel(); | |
34 this.txtArmyName = new System.Windows.Forms.TextBox(); | |
35 this.lblArmyName = new IBBoard.Windows.Forms.IBBLabel(); | |
36 this.bttnCancel = new IBBoard.Windows.Forms.IBBButton(); | |
37 ((System.ComponentModel.ISupportInitialize)(this.armySize)).BeginInit(); | |
38 this.SuspendLayout(); | |
39 // | |
40 // bttnOkay | |
41 // | |
42 this.bttnOkay.Location = new System.Drawing.Point(330, 76); | |
43 this.bttnOkay.Name = "bttnOkay"; | |
44 this.bttnOkay.Size = new System.Drawing.Size(75, 23); | |
45 this.bttnOkay.TabIndex = 13; | |
46 this.bttnOkay.Text = "okay"; | |
47 this.bttnOkay.UseVisualStyleBackColor = true; | |
48 this.bttnOkay.Click += new System.EventHandler(this.bttnOkay_Click); | |
49 // | |
50 // armySize | |
51 // | |
52 this.armySize.Increment = new decimal(new int[] { | |
53 50, | |
54 0, | |
55 0, | |
56 0}); | |
57 this.armySize.Location = new System.Drawing.Point(140, 38); | |
58 this.armySize.Maximum = new decimal(new int[] { | |
59 1000000, | |
60 0, | |
61 0, | |
62 0}); | |
63 this.armySize.Name = "armySize"; | |
64 this.armySize.Size = new System.Drawing.Size(99, 20); | |
65 this.armySize.TabIndex = 17; | |
66 this.armySize.ThousandsSeparator = true; | |
67 this.armySize.Value = new decimal(new int[] { | |
68 2000, | |
69 0, | |
70 0, | |
71 0}); | |
72 this.armySize.ValueChanged += new System.EventHandler(this.armySize_ValueChanged); | |
73 this.armySize.KeyUp += new System.Windows.Forms.KeyEventHandler(this.armySize_KeyUp); | |
74 // | |
75 // lblArmySize | |
76 // | |
77 this.lblArmySize.Location = new System.Drawing.Point(12, 40); | |
78 this.lblArmySize.Name = "lblArmySize"; | |
79 this.lblArmySize.Size = new System.Drawing.Size(122, 18); | |
80 this.lblArmySize.TabIndex = 16; | |
81 this.lblArmySize.Text = "army size"; | |
82 this.lblArmySize.TextAlign = System.Drawing.ContentAlignment.TopRight; | |
83 // | |
84 // txtArmyName | |
85 // | |
86 this.txtArmyName.Location = new System.Drawing.Point(140, 12); | |
87 this.txtArmyName.Name = "txtArmyName"; | |
88 this.txtArmyName.Size = new System.Drawing.Size(265, 20); | |
89 this.txtArmyName.TabIndex = 15; | |
90 this.txtArmyName.TextChanged += new System.EventHandler(this.txtArmyName_TextChanged); | |
91 // | |
92 // lblArmyName | |
93 // | |
94 this.lblArmyName.Location = new System.Drawing.Point(12, 15); | |
95 this.lblArmyName.Name = "lblArmyName"; | |
96 this.lblArmyName.Size = new System.Drawing.Size(122, 17); | |
97 this.lblArmyName.TabIndex = 14; | |
98 this.lblArmyName.Text = "army name"; | |
99 this.lblArmyName.TextAlign = System.Drawing.ContentAlignment.TopRight; | |
100 // | |
101 // bttnCancel | |
102 // | |
103 this.bttnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; | |
104 this.bttnCancel.Location = new System.Drawing.Point(13, 76); | |
105 this.bttnCancel.Name = "bttnCancel"; | |
106 this.bttnCancel.Size = new System.Drawing.Size(75, 23); | |
107 this.bttnCancel.TabIndex = 18; | |
108 this.bttnCancel.Text = "cancel"; | |
109 this.bttnCancel.UseVisualStyleBackColor = true; | |
110 this.bttnCancel.Click += new System.EventHandler(this.bttnCancel_Click); | |
111 // | |
112 // FrmEditArmy | |
113 // | |
114 this.AcceptButton = this.bttnOkay; | |
115 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); | |
116 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | |
117 this.CancelButton = this.bttnCancel; | |
118 this.ClientSize = new System.Drawing.Size(417, 111); | |
119 this.Controls.Add(this.bttnCancel); | |
120 this.Controls.Add(this.armySize); | |
121 this.Controls.Add(this.lblArmySize); | |
122 this.Controls.Add(this.txtArmyName); | |
123 this.Controls.Add(this.lblArmyName); | |
124 this.Controls.Add(this.bttnOkay); | |
125 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; | |
126 this.Name = "FrmEditArmy"; | |
127 this.ShowIcon = false; | |
128 this.ShowInTaskbar = false; | |
129 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; | |
130 this.Text = "edit army"; | |
131 ((System.ComponentModel.ISupportInitialize)(this.armySize)).EndInit(); | |
132 this.ResumeLayout(false); | |
133 this.PerformLayout(); | |
134 | |
135 } | |
136 | |
137 #endregion | |
138 | |
139 private Windows.Forms.IBBButton bttnOkay; | |
140 private System.Windows.Forms.NumericUpDown armySize; | |
141 private Windows.Forms.IBBLabel lblArmySize; | |
142 private System.Windows.Forms.TextBox txtArmyName; | |
143 private Windows.Forms.IBBLabel lblArmyName; | |
144 private Windows.Forms.IBBButton bttnCancel; | |
145 } | |
146 } |