sl@0
|
1 |
<?xml version="1.0" encoding="utf-8"?>
|
sl@0
|
2 |
<root>
|
sl@0
|
3 |
<!--
|
sl@0
|
4 |
Microsoft ResX Schema
|
sl@0
|
5 |
|
sl@0
|
6 |
Version 1.3
|
sl@0
|
7 |
|
sl@0
|
8 |
The primary goals of this format is to allow a simple XML format
|
sl@0
|
9 |
that is mostly human readable. The generation and parsing of the
|
sl@0
|
10 |
various data types are done through the TypeConverter classes
|
sl@0
|
11 |
associated with the data types.
|
sl@0
|
12 |
|
sl@0
|
13 |
Example:
|
sl@0
|
14 |
|
sl@0
|
15 |
... ado.net/XML headers & schema ...
|
sl@0
|
16 |
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
sl@0
|
17 |
<resheader name="version">1.3</resheader>
|
sl@0
|
18 |
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
sl@0
|
19 |
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
sl@0
|
20 |
<data name="Name1">this is my long string</data>
|
sl@0
|
21 |
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
sl@0
|
22 |
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
sl@0
|
23 |
[base64 mime encoded serialized .NET Framework object]
|
sl@0
|
24 |
</data>
|
sl@0
|
25 |
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
sl@0
|
26 |
[base64 mime encoded string representing a byte array form of the .NET Framework object]
|
sl@0
|
27 |
</data>
|
sl@0
|
28 |
|
sl@0
|
29 |
There are any number of "resheader" rows that contain simple
|
sl@0
|
30 |
name/value pairs.
|
sl@0
|
31 |
|
sl@0
|
32 |
Each data row contains a name, and value. The row also contains a
|
sl@0
|
33 |
type or mimetype. Type corresponds to a .NET class that support
|
sl@0
|
34 |
text/value conversion through the TypeConverter architecture.
|
sl@0
|
35 |
Classes that don't support this are serialized and stored with the
|
sl@0
|
36 |
mimetype set.
|
sl@0
|
37 |
|
sl@0
|
38 |
The mimetype is used forserialized objects, and tells the
|
sl@0
|
39 |
ResXResourceReader how to depersist the object. This is currently not
|
sl@0
|
40 |
extensible. For a given mimetype the value must be set accordingly:
|
sl@0
|
41 |
|
sl@0
|
42 |
Note - application/x-microsoft.net.object.binary.base64 is the format
|
sl@0
|
43 |
that the ResXResourceWriter will generate, however the reader can
|
sl@0
|
44 |
read any of the formats listed below.
|
sl@0
|
45 |
|
sl@0
|
46 |
mimetype: application/x-microsoft.net.object.binary.base64
|
sl@0
|
47 |
value : The object must be serialized with
|
sl@0
|
48 |
: System.Serialization.Formatters.Binary.BinaryFormatter
|
sl@0
|
49 |
: and then encoded with base64 encoding.
|
sl@0
|
50 |
|
sl@0
|
51 |
mimetype: application/x-microsoft.net.object.soap.base64
|
sl@0
|
52 |
value : The object must be serialized with
|
sl@0
|
53 |
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
sl@0
|
54 |
: and then encoded with base64 encoding.
|
sl@0
|
55 |
|
sl@0
|
56 |
mimetype: application/x-microsoft.net.object.bytearray.base64
|
sl@0
|
57 |
value : The object must be serialized into a byte array
|
sl@0
|
58 |
: using a System.ComponentModel.TypeConverter
|
sl@0
|
59 |
: and then encoded with base64 encoding.
|
sl@0
|
60 |
-->
|
sl@0
|
61 |
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
sl@0
|
62 |
<xsd:element name="root" msdata:IsDataSet="true">
|
sl@0
|
63 |
<xsd:complexType>
|
sl@0
|
64 |
<xsd:choice maxOccurs="unbounded">
|
sl@0
|
65 |
<xsd:element name="data">
|
sl@0
|
66 |
<xsd:complexType>
|
sl@0
|
67 |
<xsd:sequence>
|
sl@0
|
68 |
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
sl@0
|
69 |
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
sl@0
|
70 |
</xsd:sequence>
|
sl@0
|
71 |
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
sl@0
|
72 |
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
sl@0
|
73 |
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
sl@0
|
74 |
</xsd:complexType>
|
sl@0
|
75 |
</xsd:element>
|
sl@0
|
76 |
<xsd:element name="resheader">
|
sl@0
|
77 |
<xsd:complexType>
|
sl@0
|
78 |
<xsd:sequence>
|
sl@0
|
79 |
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
sl@0
|
80 |
</xsd:sequence>
|
sl@0
|
81 |
<xsd:attribute name="name" type="xsd:string" use="required" />
|
sl@0
|
82 |
</xsd:complexType>
|
sl@0
|
83 |
</xsd:element>
|
sl@0
|
84 |
</xsd:choice>
|
sl@0
|
85 |
</xsd:complexType>
|
sl@0
|
86 |
</xsd:element>
|
sl@0
|
87 |
</xsd:schema>
|
sl@0
|
88 |
<resheader name="resmimetype">
|
sl@0
|
89 |
<value>text/microsoft-resx</value>
|
sl@0
|
90 |
</resheader>
|
sl@0
|
91 |
<resheader name="version">
|
sl@0
|
92 |
<value>1.3</value>
|
sl@0
|
93 |
</resheader>
|
sl@0
|
94 |
<resheader name="reader">
|
sl@0
|
95 |
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
sl@0
|
96 |
</resheader>
|
sl@0
|
97 |
<resheader name="writer">
|
sl@0
|
98 |
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
sl@0
|
99 |
</resheader>
|
sl@0
|
100 |
<data name="label1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
sl@0
|
101 |
<value>False</value>
|
sl@0
|
102 |
</data>
|
sl@0
|
103 |
<data name="label1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
sl@0
|
104 |
<value>Private</value>
|
sl@0
|
105 |
</data>
|
sl@0
|
106 |
<data name="label1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
sl@0
|
107 |
<value>Private</value>
|
sl@0
|
108 |
</data>
|
sl@0
|
109 |
<data name="label2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
sl@0
|
110 |
<value>False</value>
|
sl@0
|
111 |
</data>
|
sl@0
|
112 |
<data name="label2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
sl@0
|
113 |
<value>Private</value>
|
sl@0
|
114 |
</data>
|
sl@0
|
115 |
<data name="label2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
sl@0
|
116 |
<value>Private</value>
|
sl@0
|
117 |
</data>
|
sl@0
|
118 |
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
sl@0
|
119 |
<value>False</value>
|
sl@0
|
120 |
</data>
|
sl@0
|
121 |
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
sl@0
|
122 |
<value>(Default)</value>
|
sl@0
|
123 |
</data>
|
sl@0
|
124 |
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
sl@0
|
125 |
<value>False</value>
|
sl@0
|
126 |
</data>
|
sl@0
|
127 |
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
sl@0
|
128 |
<value>False</value>
|
sl@0
|
129 |
</data>
|
sl@0
|
130 |
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
sl@0
|
131 |
<value>8, 8</value>
|
sl@0
|
132 |
</data>
|
sl@0
|
133 |
<data name="$this.Name">
|
sl@0
|
134 |
<value>Form1</value>
|
sl@0
|
135 |
</data>
|
sl@0
|
136 |
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
sl@0
|
137 |
<value>True</value>
|
sl@0
|
138 |
</data>
|
sl@0
|
139 |
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
sl@0
|
140 |
<value>80</value>
|
sl@0
|
141 |
</data>
|
sl@0
|
142 |
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
sl@0
|
143 |
<value>True</value>
|
sl@0
|
144 |
</data>
|
sl@0
|
145 |
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
sl@0
|
146 |
<value>Private</value>
|
sl@0
|
147 |
</data>
|
sl@0
|
148 |
</root> |