Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
comparison FrmNewUnitEquipment.resx @ 40:740350673006
Re #117: Add percentage and number boxes to equipment item dialogs
* Add a new EquipmentAmountControl to bundle the controls with some initial implementation
* Add new control to "new equipment" dialog and remove old controls
Also:
* Update some namespaces
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 06 Sep 2009 18:01:54 +0000 |
parents | 7dd160dacb60 |
children |
comparison
equal
deleted
inserted
replaced
39:25dfeb1db285 | 40:740350673006 |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <root> | 2 <root> |
3 <!-- | 3 <!-- |
4 Microsoft ResX Schema | 4 Microsoft ResX Schema |
5 | 5 |
6 Version 1.3 | 6 Version 2.0 |
7 | 7 |
8 The primary goals of this format is to allow a simple XML format | 8 The primary goals of this format is to allow a simple XML format |
9 that is mostly human readable. The generation and parsing of the | 9 that is mostly human readable. The generation and parsing of the |
10 various data types are done through the TypeConverter classes | 10 various data types are done through the TypeConverter classes |
11 associated with the data types. | 11 associated with the data types. |
12 | 12 |
13 Example: | 13 Example: |
14 | 14 |
15 ... ado.net/XML headers & schema ... | 15 ... ado.net/XML headers & schema ... |
16 <resheader name="resmimetype">text/microsoft-resx</resheader> | 16 <resheader name="resmimetype">text/microsoft-resx</resheader> |
17 <resheader name="version">1.3</resheader> | 17 <resheader name="version">2.0</resheader> |
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | 18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | 19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
20 <data name="Name1">this is my long string</data> | 20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | 21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | 22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
23 [base64 mime encoded serialized .NET Framework object] | 23 <value>[base64 mime encoded serialized .NET Framework object]</value> |
24 </data> | 24 </data> |
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | 25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
26 [base64 mime encoded string representing a byte array form of the .NET Framework object] | 26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
27 <comment>This is a comment</comment> | |
27 </data> | 28 </data> |
28 | 29 |
29 There are any number of "resheader" rows that contain simple | 30 There are any number of "resheader" rows that contain simple |
30 name/value pairs. | 31 name/value pairs. |
31 | 32 |
33 type or mimetype. Type corresponds to a .NET class that support | 34 type or mimetype. Type corresponds to a .NET class that support |
34 text/value conversion through the TypeConverter architecture. | 35 text/value conversion through the TypeConverter architecture. |
35 Classes that don't support this are serialized and stored with the | 36 Classes that don't support this are serialized and stored with the |
36 mimetype set. | 37 mimetype set. |
37 | 38 |
38 The mimetype is used forserialized objects, and tells the | 39 The mimetype is used for serialized objects, and tells the |
39 ResXResourceReader how to depersist the object. This is currently not | 40 ResXResourceReader how to depersist the object. This is currently not |
40 extensible. For a given mimetype the value must be set accordingly: | 41 extensible. For a given mimetype the value must be set accordingly: |
41 | 42 |
42 Note - application/x-microsoft.net.object.binary.base64 is the format | 43 Note - application/x-microsoft.net.object.binary.base64 is the format |
43 that the ResXResourceWriter will generate, however the reader can | 44 that the ResXResourceWriter will generate, however the reader can |
44 read any of the formats listed below. | 45 read any of the formats listed below. |
45 | 46 |
46 mimetype: application/x-microsoft.net.object.binary.base64 | 47 mimetype: application/x-microsoft.net.object.binary.base64 |
47 value : The object must be serialized with | 48 value : The object must be serialized with |
48 : System.Serialization.Formatters.Binary.BinaryFormatter | 49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
49 : and then encoded with base64 encoding. | 50 : and then encoded with base64 encoding. |
50 | 51 |
51 mimetype: application/x-microsoft.net.object.soap.base64 | 52 mimetype: application/x-microsoft.net.object.soap.base64 |
52 value : The object must be serialized with | 53 value : The object must be serialized with |
53 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | 54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
57 value : The object must be serialized into a byte array | 58 value : The object must be serialized into a byte array |
58 : using a System.ComponentModel.TypeConverter | 59 : using a System.ComponentModel.TypeConverter |
59 : and then encoded with base64 encoding. | 60 : and then encoded with base64 encoding. |
60 --> | 61 --> |
61 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | 62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | |
62 <xsd:element name="root" msdata:IsDataSet="true"> | 64 <xsd:element name="root" msdata:IsDataSet="true"> |
63 <xsd:complexType> | 65 <xsd:complexType> |
64 <xsd:choice maxOccurs="unbounded"> | 66 <xsd:choice maxOccurs="unbounded"> |
67 <xsd:element name="metadata"> | |
68 <xsd:complexType> | |
69 <xsd:sequence> | |
70 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | |
71 </xsd:sequence> | |
72 <xsd:attribute name="name" use="required" type="xsd:string" /> | |
73 <xsd:attribute name="type" type="xsd:string" /> | |
74 <xsd:attribute name="mimetype" type="xsd:string" /> | |
75 <xsd:attribute ref="xml:space" /> | |
76 </xsd:complexType> | |
77 </xsd:element> | |
78 <xsd:element name="assembly"> | |
79 <xsd:complexType> | |
80 <xsd:attribute name="alias" type="xsd:string" /> | |
81 <xsd:attribute name="name" type="xsd:string" /> | |
82 </xsd:complexType> | |
83 </xsd:element> | |
65 <xsd:element name="data"> | 84 <xsd:element name="data"> |
66 <xsd:complexType> | 85 <xsd:complexType> |
67 <xsd:sequence> | 86 <xsd:sequence> |
68 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | 87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
69 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | 88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
70 </xsd:sequence> | 89 </xsd:sequence> |
71 <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> | 90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
72 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | 91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
73 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | 92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
93 <xsd:attribute ref="xml:space" /> | |
74 </xsd:complexType> | 94 </xsd:complexType> |
75 </xsd:element> | 95 </xsd:element> |
76 <xsd:element name="resheader"> | 96 <xsd:element name="resheader"> |
77 <xsd:complexType> | 97 <xsd:complexType> |
78 <xsd:sequence> | 98 <xsd:sequence> |
87 </xsd:schema> | 107 </xsd:schema> |
88 <resheader name="resmimetype"> | 108 <resheader name="resmimetype"> |
89 <value>text/microsoft-resx</value> | 109 <value>text/microsoft-resx</value> |
90 </resheader> | 110 </resheader> |
91 <resheader name="version"> | 111 <resheader name="version"> |
92 <value>1.3</value> | 112 <value>2.0</value> |
93 </resheader> | 113 </resheader> |
94 <resheader name="reader"> | 114 <resheader name="reader"> |
95 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | 115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
96 </resheader> | 116 </resheader> |
97 <resheader name="writer"> | 117 <resheader name="writer"> |
98 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | 118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
99 </resheader> | 119 </resheader> |
100 <data name="numEquipAmount.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
101 <value>False</value> | |
102 </data> | |
103 <data name="numEquipAmount.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
104 <value>Private</value> | |
105 </data> | |
106 <data name="numEquipAmount.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
107 <value>Private</value> | |
108 </data> | |
109 <data name="lblPercent.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
110 <value>False</value> | |
111 </data> | |
112 <data name="lblPercent.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
113 <value>Private</value> | |
114 </data> | |
115 <data name="lblPercent.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
116 <value>Private</value> | |
117 </data> | |
118 <data name="lblAmount.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
119 <value>Private</value> | |
120 </data> | |
121 <data name="lblAmount.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
122 <value>False</value> | |
123 </data> | |
124 <data name="lblAmount.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
125 <value>Private</value> | |
126 </data> | |
127 <data name="bttnCancel.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
128 <value>False</value> | |
129 </data> | |
130 <data name="bttnCancel.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
131 <value>Private</value> | |
132 </data> | |
133 <data name="bttnCancel.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
134 <value>Private</value> | |
135 </data> | |
136 <data name="bttnOkay.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
137 <value>False</value> | |
138 </data> | |
139 <data name="bttnOkay.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
140 <value>Private</value> | |
141 </data> | |
142 <data name="bttnOkay.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
143 <value>Private</value> | |
144 </data> | |
145 <data name="cbEquipAll.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
146 <value>False</value> | |
147 </data> | |
148 <data name="cbEquipAll.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
149 <value>Private</value> | |
150 </data> | |
151 <data name="cbEquipAll.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
152 <value>Private</value> | |
153 </data> | |
154 <data name="lblItem.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
155 <value>False</value> | |
156 </data> | |
157 <data name="lblItem.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
158 <value>Private</value> | |
159 </data> | |
160 <data name="lblItem.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
161 <value>Private</value> | |
162 </data> | |
163 <data name="listItems.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
164 <value>Private</value> | |
165 </data> | |
166 <data name="listItems.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
167 <value>False</value> | |
168 </data> | |
169 <data name="listItems.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
170 <value>Private</value> | |
171 </data> | |
172 <data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
173 <value>False</value> | |
174 </data> | |
175 <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
176 <value>False</value> | |
177 </data> | |
178 <data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
179 <value>False</value> | |
180 </data> | |
181 <data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | |
182 <value>8, 8</value> | |
183 </data> | |
184 <data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
185 <value>(Default)</value> | |
186 </data> | |
187 <data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
188 <value>True</value> | |
189 </data> | |
190 <data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
191 <value>80</value> | |
192 </data> | |
193 <data name="$this.Name"> | |
194 <value>FrmNewUnitEquipment</value> | |
195 </data> | |
196 <data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
197 <value>True</value> | |
198 </data> | |
199 <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | |
200 <value>Private</value> | |
201 </data> | |
202 </root> | 120 </root> |