Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
HZH_Controls
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 969d38ae
由
kwwwvagaa
编写于
2020-08-14 22:45:55 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
新增日历备忘控件
1 个父辈
474c5a7a
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
503 行增加
和
0 行删除
HZH_Controls/HZH_Controls/Controls/DateTime/UCCalendarNotes.Designer.cs
HZH_Controls/HZH_Controls/Controls/DateTime/UCCalendarNotes.cs
HZH_Controls/HZH_Controls/Controls/DateTime/UCCalendarNotes.resx
HZH_Controls/HZH_Controls/Controls/DateTime/UCCalendarNotes_Week.Designer.cs
HZH_Controls/HZH_Controls/Controls/DateTime/UCCalendarNotes_Week.cs
HZH_Controls/HZH_Controls/Controls/DateTime/UCCalendarNotes_Week.resx
HZH_Controls/HZH_Controls/HZH_Controls.csproj
HZH_Controls/Test/FrmMain.cs
HZH_Controls/Test/Test.csproj
HZH_Controls/Test/UC/UCTestCalendarNotes.Designer.cs
HZH_Controls/Test/UC/UCTestCalendarNotes.cs
HZH_Controls/Test/UC/UCTestCalendarNotes.resx
HZH_Controls/HZH_Controls/Controls/DateTime/UCCalendarNotes.Designer.cs
0 → 100644
查看文件 @
969d38a
此文件的差异被折叠,
点击展开。
HZH_Controls/HZH_Controls/Controls/DateTime/UCCalendarNotes.cs
0 → 100644
查看文件 @
969d38a
此文件的差异被折叠,
点击展开。
HZH_Controls/HZH_Controls/Controls/DateTime/UCCalendarNotes.resx
0 → 100644
查看文件 @
969d38a
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
HZH_Controls/HZH_Controls/Controls/DateTime/UCCalendarNotes_Week.Designer.cs
0 → 100644
查看文件 @
969d38a
此文件的差异被折叠,
点击展开。
HZH_Controls/HZH_Controls/Controls/DateTime/UCCalendarNotes_Week.cs
0 → 100644
查看文件 @
969d38a
此文件的差异被折叠,
点击展开。
HZH_Controls/HZH_Controls/Controls/DateTime/UCCalendarNotes_Week.resx
0 → 100644
查看文件 @
969d38a
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
HZH_Controls/HZH_Controls/HZH_Controls.csproj
查看文件 @
969d38a
...
...
@@ -68,6 +68,18 @@
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\DataGridView\IDataGridViewCustomCell.cs" />
<Compile Include="Controls\DateTime\UCCalendarNotes.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\DateTime\UCCalendarNotes.Designer.cs">
<DependentUpon>UCCalendarNotes.cs</DependentUpon>
</Compile>
<Compile Include="Controls\DateTime\UCCalendarNotes_Week.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\DateTime\UCCalendarNotes_Week.Designer.cs">
<DependentUpon>UCCalendarNotes_Week.cs</DependentUpon>
</Compile>
<Compile Include="Controls\DateTime\UCDatePickerExt2.cs">
<SubType>UserControl</SubType>
</Compile>
...
...
@@ -717,6 +729,12 @@
<EmbeddedResource Include="Controls\DataGridView\UCDataGridViewTreeRow.resx">
<DependentUpon>UCDataGridViewTreeRow.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Controls\DateTime\UCCalendarNotes.resx">
<DependentUpon>UCCalendarNotes.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Controls\DateTime\UCCalendarNotes_Week.resx">
<DependentUpon>UCCalendarNotes_Week.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Controls\DateTime\UCDatePickerExt.resx">
<DependentUpon>UCDatePickerExt.cs</DependentUpon>
</EmbeddedResource>
...
...
HZH_Controls/Test/FrmMain.cs
查看文件 @
969d38a
...
...
@@ -74,6 +74,7 @@ namespace Test
tnControl
.
Nodes
.
Add
(
"穿梭框"
);
tnControl
.
Nodes
.
Add
(
"引用区块"
);
tnControl
.
Nodes
.
Add
(
"右键菜单"
);
tnControl
.
Nodes
.
Add
(
"日历备忘录"
);
this
.
tvMenu
.
Nodes
.
Add
(
tnControl
);
TreeNode
tnCharts
=
new
TreeNode
(
" 图表"
);
...
...
@@ -307,6 +308,9 @@ namespace Test
case
"右键菜单"
:
AddControl
(
new
UC
.
UCTestContextMenu
());
break
;
case
"日历备忘录"
:
AddControl
(
new
UC
.
UCTestCalendarNotes
());
break
;
#
endregion
#
region
图表
English
:
Chart
...
...
HZH_Controls/Test/Test.csproj
查看文件 @
969d38a
...
...
@@ -121,6 +121,12 @@
<Compile Include="UC\UCTestBlower.Designer.cs">
<DependentUpon>UCTestBlower.cs</DependentUpon>
</Compile>
<Compile Include="UC\UCTestCalendarNotes.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="UC\UCTestCalendarNotes.Designer.cs">
<DependentUpon>UCTestCalendarNotes.cs</DependentUpon>
</Compile>
<Compile Include="UC\UCTestColors.cs">
<SubType>UserControl</SubType>
</Compile>
...
...
@@ -716,6 +722,9 @@
<EmbeddedResource Include="UC\UCTestBtns.resx">
<DependentUpon>UCTestBtns.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UC\UCTestCalendarNotes.resx">
<DependentUpon>UCTestCalendarNotes.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UC\UCTestColors.resx">
<DependentUpon>UCTestColors.cs</DependentUpon>
</EmbeddedResource>
...
...
HZH_Controls/Test/UC/UCTestCalendarNotes.Designer.cs
0 → 100644
查看文件 @
969d38a
namespace
Test.UC
{
partial
class
UCTestCalendarNotes
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private
System
.
ComponentModel
.
IContainer
components
=
null
;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected
override
void
Dispose
(
bool
disposing
)
{
if
(
disposing
&&
(
components
!=
null
))
{
components
.
Dispose
();
}
base
.
Dispose
(
disposing
);
}
#
region
组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private
void
InitializeComponent
()
{
this
.
ucCalendarNotes_Week1
=
new
HZH_Controls
.
Controls
.
UCCalendarNotes_Week
();
this
.
ucCalendarNotes1
=
new
HZH_Controls
.
Controls
.
UCCalendarNotes
();
this
.
SuspendLayout
();
//
// ucCalendarNotes_Week1
//
this
.
ucCalendarNotes_Week1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucCalendarNotes_Week1
.
CurrentTime
=
new
System
.
DateTime
(
2020
,
8
,
13
,
22
,
14
,
47
,
0
);
this
.
ucCalendarNotes_Week1
.
DataSource
=
null
;
this
.
ucCalendarNotes_Week1
.
Location
=
new
System
.
Drawing
.
Point
(
530
,
43
);
this
.
ucCalendarNotes_Week1
.
Name
=
"ucCalendarNotes_Week1"
;
this
.
ucCalendarNotes_Week1
.
ShowCloseButton
=
true
;
this
.
ucCalendarNotes_Week1
.
Size
=
new
System
.
Drawing
.
Size
(
490
,
405
);
this
.
ucCalendarNotes_Week1
.
SplitLineColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
153
)))),
((
int
)(((
byte
)(
153
)))),
((
int
)(((
byte
)(
153
)))));
this
.
ucCalendarNotes_Week1
.
SplitTimeForeColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
153
)))),
((
int
)(((
byte
)(
153
)))),
((
int
)(((
byte
)(
153
)))));
this
.
ucCalendarNotes_Week1
.
TabIndex
=
3
;
//
// ucCalendarNotes1
//
this
.
ucCalendarNotes1
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ucCalendarNotes1
.
CurrentTime
=
new
System
.
DateTime
(
2020
,
8
,
13
,
0
,
0
,
0
,
0
);
this
.
ucCalendarNotes1
.
DataSource
=
null
;
this
.
ucCalendarNotes1
.
Location
=
new
System
.
Drawing
.
Point
(
28
,
43
);
this
.
ucCalendarNotes1
.
Name
=
"ucCalendarNotes1"
;
this
.
ucCalendarNotes1
.
SelectColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucCalendarNotes1
.
Size
=
new
System
.
Drawing
.
Size
(
441
,
346
);
this
.
ucCalendarNotes1
.
TabIndex
=
2
;
this
.
ucCalendarNotes1
.
TipColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
ucCalendarNotes1
.
ClickNote
+=
new
HZH_Controls
.
Controls
.
UCCalendarNotes
.
ClickNoteEvent
(
this
.
ucCalendarNotes1_ClickNote
);
//
// UCTestCalendarNotes
//
this
.
Controls
.
Add
(
this
.
ucCalendarNotes_Week1
);
this
.
Controls
.
Add
(
this
.
ucCalendarNotes1
);
this
.
Name
=
"UCTestCalendarNotes"
;
this
.
Size
=
new
System
.
Drawing
.
Size
(
1076
,
620
);
this
.
ResumeLayout
(
false
);
}
#
endregion
private
HZH_Controls
.
Controls
.
UCCalendarNotes
ucCalendarNotes1
;
private
HZH_Controls
.
Controls
.
UCCalendarNotes_Week
ucCalendarNotes_Week1
;
}
}
HZH_Controls/Test/UC/UCTestCalendarNotes.cs
0 → 100644
查看文件 @
969d38a
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
using
System.Data
;
using
System.Linq
;
using
System.Text
;
using
System.Windows.Forms
;
using
HZH_Controls.Controls
;
namespace
Test.UC
{
public
partial
class
UCTestCalendarNotes
:
UserControl
{
public
UCTestCalendarNotes
()
{
InitializeComponent
();
List
<
NoteEntity
>
dataSource
=
new
List
<
NoteEntity
>();
dataSource
.
Add
(
new
NoteEntity
()
{
Key
=
"1"
,
BeginTime
=
DateTime
.
Now
,
Title
=
"aaaa"
,
Note
=
"agaweas"
});
dataSource
.
Add
(
new
NoteEntity
()
{
Key
=
"1"
,
BeginTime
=
DateTime
.
Now
,
EndTime
=
DateTime
.
Now
.
AddHours
(
1
),
Title
=
"bbbb"
,
Note
=
"bbbbdfasdfg"
});
dataSource
.
Add
(
new
NoteEntity
()
{
Key
=
"1"
,
BeginTime
=
DateTime
.
Now
.
AddHours
(-
3
),
EndTime
=
DateTime
.
Now
.
AddHours
(-
1
),
Title
=
"ccc"
,
Note
=
"bbbbdfasdfg"
});
dataSource
.
Add
(
new
NoteEntity
()
{
Key
=
"1"
,
BeginTime
=
DateTime
.
Now
.
AddDays
(-
1
),
EndTime
=
DateTime
.
Now
,
Title
=
"ddd"
,
Note
=
"bbbbdfasdfg"
});
this
.
ucCalendarNotes1
.
DataSource
=
dataSource
;
this
.
ucCalendarNotes_Week1
.
DataSource
=
dataSource
;
this
.
ucCalendarNotes_Week1
.
CurrentTime
=
DateTime
.
Now
;
}
private
bool
ucCalendarNotes1_ClickNote
(
NoteEntity
note
)
{
MessageBox
.
Show
(
"点击了备忘【"
+
note
.
Title
+
"】,你可以在这里对备忘编辑,修改,如果要修改,请返回true,否则返回false,如果要删除,删除后重新赋值ucCalendarNotes控件DataSource属性"
);
return
default
(
bool
);
}
}
}
HZH_Controls/Test/UC/UCTestCalendarNotes.resx
0 → 100644
查看文件 @
969d38a
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论