* UIDateTimeItem: 修改时间界面水平分割线颜色和位置
* UITimeItem: 修改时间界面水平分割线颜色和位置
This commit is contained in:
parent
17adb334bf
commit
41f23482cd
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,64 @@
|
|||||||
<root>
|
<?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: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:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
* 创建日期: 2020-05-29
|
* 创建日期: 2020-05-29
|
||||||
*
|
*
|
||||||
* 2020-05-29: V2.2.5 创建
|
* 2020-05-29: V2.2.5 创建
|
||||||
|
* 2024-07-14: V3.6.7 修改时间界面水平分割线颜色和位置
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
@ -27,9 +28,8 @@ namespace Sunny.UI
|
|||||||
{
|
{
|
||||||
public sealed class UITimeItem : UIDropDownItem, ITranslate
|
public sealed class UITimeItem : UIDropDownItem, ITranslate
|
||||||
{
|
{
|
||||||
#region InitializeComponent
|
|
||||||
|
|
||||||
private UILine uiLine1;
|
#region InitializeComponent
|
||||||
private UISymbolButton s1;
|
private UISymbolButton s1;
|
||||||
private UISymbolButton m1;
|
private UISymbolButton m1;
|
||||||
private UISymbolButton h1;
|
private UISymbolButton h1;
|
||||||
@ -47,381 +47,349 @@ namespace Sunny.UI
|
|||||||
private UILabel sb;
|
private UILabel sb;
|
||||||
private UILabel mb;
|
private UILabel mb;
|
||||||
private UILabel hb;
|
private UILabel hb;
|
||||||
private UILine uiLine2;
|
|
||||||
|
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.uiLine1 = new Sunny.UI.UILine();
|
s1 = new UISymbolButton();
|
||||||
this.uiLine2 = new Sunny.UI.UILine();
|
m1 = new UISymbolButton();
|
||||||
this.s1 = new Sunny.UI.UISymbolButton();
|
h1 = new UISymbolButton();
|
||||||
this.m1 = new Sunny.UI.UISymbolButton();
|
s2 = new UISymbolButton();
|
||||||
this.h1 = new Sunny.UI.UISymbolButton();
|
m2 = new UISymbolButton();
|
||||||
this.s2 = new Sunny.UI.UISymbolButton();
|
h2 = new UISymbolButton();
|
||||||
this.m2 = new Sunny.UI.UISymbolButton();
|
btnOK = new UISymbolButton();
|
||||||
this.h2 = new Sunny.UI.UISymbolButton();
|
btnCancel = new UISymbolButton();
|
||||||
this.btnOK = new Sunny.UI.UISymbolButton();
|
hc = new UILabel();
|
||||||
this.btnCancel = new Sunny.UI.UISymbolButton();
|
mc = new UILabel();
|
||||||
this.hc = new Sunny.UI.UILabel();
|
sc = new UILabel();
|
||||||
this.mc = new Sunny.UI.UILabel();
|
st = new UILabel();
|
||||||
this.sc = new Sunny.UI.UILabel();
|
mt = new UILabel();
|
||||||
this.st = new Sunny.UI.UILabel();
|
ht = new UILabel();
|
||||||
this.mt = new Sunny.UI.UILabel();
|
sb = new UILabel();
|
||||||
this.ht = new Sunny.UI.UILabel();
|
mb = new UILabel();
|
||||||
this.sb = new Sunny.UI.UILabel();
|
hb = new UILabel();
|
||||||
this.mb = new Sunny.UI.UILabel();
|
SuspendLayout();
|
||||||
this.hb = new Sunny.UI.UILabel();
|
|
||||||
this.SuspendLayout();
|
|
||||||
//
|
|
||||||
// uiLine1
|
|
||||||
//
|
|
||||||
this.uiLine1.BackColor = System.Drawing.Color.Transparent;
|
|
||||||
this.uiLine1.FillColor = System.Drawing.Color.White;
|
|
||||||
this.uiLine1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
||||||
this.uiLine1.LineColor = System.Drawing.Color.Silver;
|
|
||||||
this.uiLine1.Location = new System.Drawing.Point(6, 54);
|
|
||||||
this.uiLine1.MinimumSize = new System.Drawing.Size(16, 16);
|
|
||||||
this.uiLine1.Name = "uiLine1";
|
|
||||||
this.uiLine1.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
|
||||||
this.uiLine1.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
|
|
||||||
this.uiLine1.Size = new System.Drawing.Size(157, 16);
|
|
||||||
this.uiLine1.Style = Sunny.UI.UIStyle.Custom;
|
|
||||||
this.uiLine1.StyleCustomMode = true;
|
|
||||||
this.uiLine1.TabIndex = 2;
|
|
||||||
//
|
|
||||||
// uiLine2
|
|
||||||
//
|
|
||||||
this.uiLine2.BackColor = System.Drawing.Color.Transparent;
|
|
||||||
this.uiLine2.FillColor = System.Drawing.Color.White;
|
|
||||||
this.uiLine2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
||||||
this.uiLine2.LineColor = System.Drawing.Color.Silver;
|
|
||||||
this.uiLine2.Location = new System.Drawing.Point(6, 88);
|
|
||||||
this.uiLine2.MinimumSize = new System.Drawing.Size(16, 16);
|
|
||||||
this.uiLine2.Name = "uiLine2";
|
|
||||||
this.uiLine2.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
|
||||||
this.uiLine2.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
|
|
||||||
this.uiLine2.Size = new System.Drawing.Size(157, 16);
|
|
||||||
this.uiLine2.Style = Sunny.UI.UIStyle.Custom;
|
|
||||||
this.uiLine2.StyleCustomMode = true;
|
|
||||||
this.uiLine2.TabIndex = 3;
|
|
||||||
//
|
//
|
||||||
// s1
|
// s1
|
||||||
//
|
//
|
||||||
this.s1.BackColor = System.Drawing.Color.Transparent;
|
s1.BackColor = Color.Transparent;
|
||||||
this.s1.Cursor = System.Windows.Forms.Cursors.Hand;
|
s1.Cursor = Cursors.Hand;
|
||||||
this.s1.FillColor = System.Drawing.Color.White;
|
s1.FillColor = Color.White;
|
||||||
this.s1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
s1.FillHoverColor = Color.FromArgb(80, 160, 255);
|
||||||
this.s1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
s1.Font = new Font("宋体", 12F);
|
||||||
this.s1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
s1.ForeColor = Color.FromArgb(80, 160, 255);
|
||||||
this.s1.ImageInterval = 0;
|
s1.Location = new Point(122, 4);
|
||||||
this.s1.Location = new System.Drawing.Point(122, 4);
|
s1.MinimumSize = new Size(1, 1);
|
||||||
this.s1.MinimumSize = new System.Drawing.Size(1, 1);
|
s1.Name = "s1";
|
||||||
this.s1.Name = "s1";
|
s1.Padding = new Padding(24, 0, 0, 0);
|
||||||
this.s1.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0);
|
s1.RadiusSides = UICornerRadiusSides.None;
|
||||||
this.s1.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
s1.RectHoverColor = Color.FromArgb(80, 160, 255);
|
||||||
this.s1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
s1.RectSides = ToolStripStatusLabelBorderSides.None;
|
||||||
this.s1.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
|
s1.Size = new Size(30, 24);
|
||||||
this.s1.Size = new System.Drawing.Size(30, 24);
|
s1.Style = UIStyle.Custom;
|
||||||
this.s1.Style = Sunny.UI.UIStyle.Custom;
|
s1.StyleCustomMode = true;
|
||||||
this.s1.StyleCustomMode = true;
|
s1.Symbol = 61702;
|
||||||
this.s1.Symbol = 61702;
|
s1.TabIndex = 6;
|
||||||
this.s1.TabIndex = 6;
|
s1.Tag = "3";
|
||||||
this.s1.Tag = "3";
|
s1.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||||||
this.s1.Click += new System.EventHandler(this.s1_Click);
|
s1.Click += s1_Click;
|
||||||
//
|
//
|
||||||
// m1
|
// m1
|
||||||
//
|
//
|
||||||
this.m1.BackColor = System.Drawing.Color.Transparent;
|
m1.BackColor = Color.Transparent;
|
||||||
this.m1.Cursor = System.Windows.Forms.Cursors.Hand;
|
m1.Cursor = Cursors.Hand;
|
||||||
this.m1.FillColor = System.Drawing.Color.White;
|
m1.FillColor = Color.White;
|
||||||
this.m1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
m1.FillHoverColor = Color.FromArgb(80, 160, 255);
|
||||||
this.m1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
m1.Font = new Font("宋体", 12F);
|
||||||
this.m1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
m1.ForeColor = Color.FromArgb(80, 160, 255);
|
||||||
this.m1.ImageInterval = 0;
|
m1.Location = new Point(69, 4);
|
||||||
this.m1.Location = new System.Drawing.Point(69, 4);
|
m1.MinimumSize = new Size(1, 1);
|
||||||
this.m1.MinimumSize = new System.Drawing.Size(1, 1);
|
m1.Name = "m1";
|
||||||
this.m1.Name = "m1";
|
m1.Padding = new Padding(24, 0, 0, 0);
|
||||||
this.m1.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0);
|
m1.RadiusSides = UICornerRadiusSides.None;
|
||||||
this.m1.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
m1.RectHoverColor = Color.FromArgb(80, 160, 255);
|
||||||
this.m1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
m1.RectSides = ToolStripStatusLabelBorderSides.None;
|
||||||
this.m1.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
|
m1.Size = new Size(30, 24);
|
||||||
this.m1.Size = new System.Drawing.Size(30, 24);
|
m1.Style = UIStyle.Custom;
|
||||||
this.m1.Style = Sunny.UI.UIStyle.Custom;
|
m1.StyleCustomMode = true;
|
||||||
this.m1.StyleCustomMode = true;
|
m1.Symbol = 61702;
|
||||||
this.m1.Symbol = 61702;
|
m1.TabIndex = 5;
|
||||||
this.m1.TabIndex = 5;
|
m1.Tag = "2";
|
||||||
this.m1.Tag = "2";
|
m1.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||||||
this.m1.Click += new System.EventHandler(this.m1_Click);
|
m1.Click += m1_Click;
|
||||||
//
|
//
|
||||||
// h1
|
// h1
|
||||||
//
|
//
|
||||||
this.h1.BackColor = System.Drawing.Color.Transparent;
|
h1.BackColor = Color.Transparent;
|
||||||
this.h1.Cursor = System.Windows.Forms.Cursors.Hand;
|
h1.Cursor = Cursors.Hand;
|
||||||
this.h1.FillColor = System.Drawing.Color.White;
|
h1.FillColor = Color.White;
|
||||||
this.h1.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
h1.FillHoverColor = Color.FromArgb(80, 160, 255);
|
||||||
this.h1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
h1.Font = new Font("宋体", 12F);
|
||||||
this.h1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
h1.ForeColor = Color.FromArgb(80, 160, 255);
|
||||||
this.h1.ImageInterval = 0;
|
h1.Location = new Point(16, 4);
|
||||||
this.h1.Location = new System.Drawing.Point(16, 4);
|
h1.MinimumSize = new Size(1, 1);
|
||||||
this.h1.MinimumSize = new System.Drawing.Size(1, 1);
|
h1.Name = "h1";
|
||||||
this.h1.Name = "h1";
|
h1.Padding = new Padding(24, 0, 0, 0);
|
||||||
this.h1.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0);
|
h1.RadiusSides = UICornerRadiusSides.None;
|
||||||
this.h1.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
h1.RectHoverColor = Color.FromArgb(80, 160, 255);
|
||||||
this.h1.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
h1.RectSides = ToolStripStatusLabelBorderSides.None;
|
||||||
this.h1.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
|
h1.Size = new Size(30, 24);
|
||||||
this.h1.Size = new System.Drawing.Size(30, 24);
|
h1.Style = UIStyle.Custom;
|
||||||
this.h1.Style = Sunny.UI.UIStyle.Custom;
|
h1.StyleCustomMode = true;
|
||||||
this.h1.StyleCustomMode = true;
|
h1.Symbol = 61702;
|
||||||
this.h1.Symbol = 61702;
|
h1.TabIndex = 4;
|
||||||
this.h1.TabIndex = 4;
|
h1.Tag = "1";
|
||||||
this.h1.Tag = "1";
|
h1.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||||||
this.h1.Click += new System.EventHandler(this.h1_Click);
|
h1.Click += h1_Click;
|
||||||
//
|
//
|
||||||
// s2
|
// s2
|
||||||
//
|
//
|
||||||
this.s2.BackColor = System.Drawing.Color.Transparent;
|
s2.BackColor = Color.Transparent;
|
||||||
this.s2.Cursor = System.Windows.Forms.Cursors.Hand;
|
s2.Cursor = Cursors.Hand;
|
||||||
this.s2.FillColor = System.Drawing.Color.White;
|
s2.FillColor = Color.White;
|
||||||
this.s2.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
s2.FillHoverColor = Color.FromArgb(80, 160, 255);
|
||||||
this.s2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
s2.Font = new Font("宋体", 12F);
|
||||||
this.s2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
s2.ForeColor = Color.FromArgb(80, 160, 255);
|
||||||
this.s2.ImageInterval = 0;
|
s2.Location = new Point(122, 129);
|
||||||
this.s2.Location = new System.Drawing.Point(122, 129);
|
s2.MinimumSize = new Size(1, 1);
|
||||||
this.s2.MinimumSize = new System.Drawing.Size(1, 1);
|
s2.Name = "s2";
|
||||||
this.s2.Name = "s2";
|
s2.Padding = new Padding(24, 0, 0, 0);
|
||||||
this.s2.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0);
|
s2.RadiusSides = UICornerRadiusSides.None;
|
||||||
this.s2.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
s2.RectHoverColor = Color.FromArgb(80, 160, 255);
|
||||||
this.s2.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
s2.RectSides = ToolStripStatusLabelBorderSides.None;
|
||||||
this.s2.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
|
s2.Size = new Size(30, 24);
|
||||||
this.s2.Size = new System.Drawing.Size(30, 24);
|
s2.Style = UIStyle.Custom;
|
||||||
this.s2.Style = Sunny.UI.UIStyle.Custom;
|
s2.StyleCustomMode = true;
|
||||||
this.s2.StyleCustomMode = true;
|
s2.Symbol = 61703;
|
||||||
this.s2.Symbol = 61703;
|
s2.TabIndex = 9;
|
||||||
this.s2.TabIndex = 9;
|
s2.Tag = "6";
|
||||||
this.s2.Tag = "6";
|
s2.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||||||
this.s2.Click += new System.EventHandler(this.s2_Click);
|
s2.Click += s2_Click;
|
||||||
//
|
//
|
||||||
// m2
|
// m2
|
||||||
//
|
//
|
||||||
this.m2.BackColor = System.Drawing.Color.Transparent;
|
m2.BackColor = Color.Transparent;
|
||||||
this.m2.Cursor = System.Windows.Forms.Cursors.Hand;
|
m2.Cursor = Cursors.Hand;
|
||||||
this.m2.FillColor = System.Drawing.Color.White;
|
m2.FillColor = Color.White;
|
||||||
this.m2.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
m2.FillHoverColor = Color.FromArgb(80, 160, 255);
|
||||||
this.m2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
m2.Font = new Font("宋体", 12F);
|
||||||
this.m2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
m2.ForeColor = Color.FromArgb(80, 160, 255);
|
||||||
this.m2.ImageInterval = 0;
|
m2.Location = new Point(69, 129);
|
||||||
this.m2.Location = new System.Drawing.Point(69, 129);
|
m2.MinimumSize = new Size(1, 1);
|
||||||
this.m2.MinimumSize = new System.Drawing.Size(1, 1);
|
m2.Name = "m2";
|
||||||
this.m2.Name = "m2";
|
m2.Padding = new Padding(24, 0, 0, 0);
|
||||||
this.m2.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0);
|
m2.RadiusSides = UICornerRadiusSides.None;
|
||||||
this.m2.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
m2.RectHoverColor = Color.FromArgb(80, 160, 255);
|
||||||
this.m2.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
m2.RectSides = ToolStripStatusLabelBorderSides.None;
|
||||||
this.m2.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
|
m2.Size = new Size(30, 24);
|
||||||
this.m2.Size = new System.Drawing.Size(30, 24);
|
m2.Style = UIStyle.Custom;
|
||||||
this.m2.Style = Sunny.UI.UIStyle.Custom;
|
m2.StyleCustomMode = true;
|
||||||
this.m2.StyleCustomMode = true;
|
m2.Symbol = 61703;
|
||||||
this.m2.Symbol = 61703;
|
m2.TabIndex = 8;
|
||||||
this.m2.TabIndex = 8;
|
m2.Tag = "5";
|
||||||
this.m2.Tag = "5";
|
m2.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||||||
this.m2.Click += new System.EventHandler(this.m2_Click);
|
m2.Click += m2_Click;
|
||||||
//
|
//
|
||||||
// h2
|
// h2
|
||||||
//
|
//
|
||||||
this.h2.BackColor = System.Drawing.Color.Transparent;
|
h2.BackColor = Color.Transparent;
|
||||||
this.h2.Cursor = System.Windows.Forms.Cursors.Hand;
|
h2.Cursor = Cursors.Hand;
|
||||||
this.h2.FillColor = System.Drawing.Color.White;
|
h2.FillColor = Color.White;
|
||||||
this.h2.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
h2.FillHoverColor = Color.FromArgb(80, 160, 255);
|
||||||
this.h2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
h2.Font = new Font("宋体", 12F);
|
||||||
this.h2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
h2.ForeColor = Color.FromArgb(80, 160, 255);
|
||||||
this.h2.ImageInterval = 0;
|
h2.Location = new Point(16, 128);
|
||||||
this.h2.Location = new System.Drawing.Point(16, 128);
|
h2.MinimumSize = new Size(1, 1);
|
||||||
this.h2.MinimumSize = new System.Drawing.Size(1, 1);
|
h2.Name = "h2";
|
||||||
this.h2.Name = "h2";
|
h2.Padding = new Padding(24, 0, 0, 0);
|
||||||
this.h2.Padding = new System.Windows.Forms.Padding(24, 0, 0, 0);
|
h2.RadiusSides = UICornerRadiusSides.None;
|
||||||
this.h2.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
h2.RectHoverColor = Color.FromArgb(80, 160, 255);
|
||||||
this.h2.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
h2.RectSides = ToolStripStatusLabelBorderSides.None;
|
||||||
this.h2.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
|
h2.Size = new Size(30, 24);
|
||||||
this.h2.Size = new System.Drawing.Size(30, 24);
|
h2.Style = UIStyle.Custom;
|
||||||
this.h2.Style = Sunny.UI.UIStyle.Custom;
|
h2.StyleCustomMode = true;
|
||||||
this.h2.StyleCustomMode = true;
|
h2.Symbol = 61703;
|
||||||
this.h2.Symbol = 61703;
|
h2.TabIndex = 7;
|
||||||
this.h2.TabIndex = 7;
|
h2.Tag = "4";
|
||||||
this.h2.Tag = "4";
|
h2.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||||||
this.h2.Click += new System.EventHandler(this.h2_Click);
|
h2.Click += h2_Click;
|
||||||
//
|
//
|
||||||
// btnOK
|
// btnOK
|
||||||
//
|
//
|
||||||
this.btnOK.Cursor = System.Windows.Forms.Cursors.Hand;
|
btnOK.Cursor = Cursors.Hand;
|
||||||
this.btnOK.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
btnOK.Font = new Font("宋体", 12F);
|
||||||
this.btnOK.Location = new System.Drawing.Point(8, 162);
|
btnOK.Location = new Point(8, 162);
|
||||||
this.btnOK.MinimumSize = new System.Drawing.Size(1, 1);
|
btnOK.MinimumSize = new Size(1, 1);
|
||||||
this.btnOK.Name = "btnOK";
|
btnOK.Name = "btnOK";
|
||||||
this.btnOK.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
|
btnOK.Padding = new Padding(28, 0, 0, 0);
|
||||||
this.btnOK.Size = new System.Drawing.Size(74, 27);
|
btnOK.Size = new Size(74, 27);
|
||||||
this.btnOK.Style = Sunny.UI.UIStyle.Custom;
|
btnOK.Style = UIStyle.Custom;
|
||||||
this.btnOK.Symbol = 0;
|
btnOK.Symbol = 0;
|
||||||
this.btnOK.TabIndex = 10;
|
btnOK.TabIndex = 10;
|
||||||
this.btnOK.Text = "确定";
|
btnOK.Text = "确定";
|
||||||
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
btnOK.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||||||
|
btnOK.Click += btnOK_Click;
|
||||||
//
|
//
|
||||||
// btnCancel
|
// btnCancel
|
||||||
//
|
//
|
||||||
this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand;
|
btnCancel.Cursor = Cursors.Hand;
|
||||||
this.btnCancel.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
btnCancel.Font = new Font("宋体", 12F);
|
||||||
this.btnCancel.Location = new System.Drawing.Point(87, 162);
|
btnCancel.Location = new Point(87, 162);
|
||||||
this.btnCancel.MinimumSize = new System.Drawing.Size(1, 1);
|
btnCancel.MinimumSize = new Size(1, 1);
|
||||||
this.btnCancel.Name = "btnCancel";
|
btnCancel.Name = "btnCancel";
|
||||||
this.btnCancel.Padding = new System.Windows.Forms.Padding(28, 0, 0, 0);
|
btnCancel.Padding = new Padding(28, 0, 0, 0);
|
||||||
this.btnCancel.Size = new System.Drawing.Size(74, 27);
|
btnCancel.Size = new Size(74, 27);
|
||||||
this.btnCancel.Style = Sunny.UI.UIStyle.Custom;
|
btnCancel.Style = UIStyle.Custom;
|
||||||
this.btnCancel.Symbol = 0;
|
btnCancel.Symbol = 0;
|
||||||
this.btnCancel.TabIndex = 11;
|
btnCancel.TabIndex = 11;
|
||||||
this.btnCancel.Text = "取消";
|
btnCancel.Text = "取消";
|
||||||
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
btnCancel.TipsFont = new Font("宋体", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
|
||||||
|
btnCancel.Click += btnCancel_Click;
|
||||||
//
|
//
|
||||||
// hc
|
// hc
|
||||||
//
|
//
|
||||||
this.hc.BackColor = System.Drawing.Color.Transparent;
|
hc.BackColor = Color.Transparent;
|
||||||
this.hc.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
hc.Font = new Font("宋体", 12F);
|
||||||
this.hc.Location = new System.Drawing.Point(9, 65);
|
hc.ForeColor = Color.FromArgb(48, 48, 48);
|
||||||
this.hc.Name = "hc";
|
hc.Location = new Point(9, 65);
|
||||||
this.hc.Size = new System.Drawing.Size(46, 27);
|
hc.Name = "hc";
|
||||||
this.hc.StyleCustomMode = true;
|
hc.Size = new Size(46, 27);
|
||||||
this.hc.TabIndex = 12;
|
hc.StyleCustomMode = true;
|
||||||
this.hc.Text = "00";
|
hc.TabIndex = 12;
|
||||||
this.hc.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
hc.Text = "00";
|
||||||
this.hc.DoubleClick += new System.EventHandler(this.hc_DoubleClick);
|
hc.TextAlign = ContentAlignment.MiddleCenter;
|
||||||
|
hc.DoubleClick += hc_DoubleClick;
|
||||||
//
|
//
|
||||||
// mc
|
// mc
|
||||||
//
|
//
|
||||||
this.mc.BackColor = System.Drawing.Color.Transparent;
|
mc.BackColor = Color.Transparent;
|
||||||
this.mc.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
mc.Font = new Font("宋体", 12F);
|
||||||
this.mc.Location = new System.Drawing.Point(62, 65);
|
mc.ForeColor = Color.FromArgb(48, 48, 48);
|
||||||
this.mc.Name = "mc";
|
mc.Location = new Point(62, 65);
|
||||||
this.mc.Size = new System.Drawing.Size(46, 27);
|
mc.Name = "mc";
|
||||||
this.mc.StyleCustomMode = true;
|
mc.Size = new Size(46, 27);
|
||||||
this.mc.TabIndex = 13;
|
mc.StyleCustomMode = true;
|
||||||
this.mc.Text = "00";
|
mc.TabIndex = 13;
|
||||||
this.mc.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
mc.Text = "00";
|
||||||
this.mc.DoubleClick += new System.EventHandler(this.mc_DoubleClick);
|
mc.TextAlign = ContentAlignment.MiddleCenter;
|
||||||
|
mc.DoubleClick += mc_DoubleClick;
|
||||||
//
|
//
|
||||||
// sc
|
// sc
|
||||||
//
|
//
|
||||||
this.sc.BackColor = System.Drawing.Color.Transparent;
|
sc.BackColor = Color.Transparent;
|
||||||
this.sc.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
sc.Font = new Font("宋体", 12F);
|
||||||
this.sc.Location = new System.Drawing.Point(115, 65);
|
sc.ForeColor = Color.FromArgb(48, 48, 48);
|
||||||
this.sc.Name = "sc";
|
sc.Location = new Point(115, 65);
|
||||||
this.sc.Size = new System.Drawing.Size(46, 27);
|
sc.Name = "sc";
|
||||||
this.sc.StyleCustomMode = true;
|
sc.Size = new Size(46, 27);
|
||||||
this.sc.TabIndex = 14;
|
sc.StyleCustomMode = true;
|
||||||
this.sc.Text = "00";
|
sc.TabIndex = 14;
|
||||||
this.sc.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
sc.Text = "00";
|
||||||
this.sc.DoubleClick += new System.EventHandler(this.sc_DoubleClick);
|
sc.TextAlign = ContentAlignment.MiddleCenter;
|
||||||
|
sc.DoubleClick += sc_DoubleClick;
|
||||||
//
|
//
|
||||||
// st
|
// st
|
||||||
//
|
//
|
||||||
this.st.BackColor = System.Drawing.Color.Transparent;
|
st.BackColor = Color.Transparent;
|
||||||
this.st.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
st.Font = new Font("宋体", 12F);
|
||||||
this.st.ForeColor = System.Drawing.Color.DarkGray;
|
st.ForeColor = Color.DarkGray;
|
||||||
this.st.Location = new System.Drawing.Point(115, 31);
|
st.Location = new Point(115, 31);
|
||||||
this.st.Name = "st";
|
st.Name = "st";
|
||||||
this.st.Size = new System.Drawing.Size(46, 22);
|
st.Size = new Size(46, 22);
|
||||||
this.st.StyleCustomMode = true;
|
st.StyleCustomMode = true;
|
||||||
this.st.TabIndex = 17;
|
st.TabIndex = 17;
|
||||||
this.st.Text = "00";
|
st.Text = "00";
|
||||||
this.st.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
st.TextAlign = ContentAlignment.MiddleCenter;
|
||||||
//
|
//
|
||||||
// mt
|
// mt
|
||||||
//
|
//
|
||||||
this.mt.BackColor = System.Drawing.Color.Transparent;
|
mt.BackColor = Color.Transparent;
|
||||||
this.mt.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
mt.Font = new Font("宋体", 12F);
|
||||||
this.mt.ForeColor = System.Drawing.Color.DarkGray;
|
mt.ForeColor = Color.DarkGray;
|
||||||
this.mt.Location = new System.Drawing.Point(62, 31);
|
mt.Location = new Point(62, 31);
|
||||||
this.mt.Name = "mt";
|
mt.Name = "mt";
|
||||||
this.mt.Size = new System.Drawing.Size(46, 22);
|
mt.Size = new Size(46, 22);
|
||||||
this.mt.StyleCustomMode = true;
|
mt.StyleCustomMode = true;
|
||||||
this.mt.TabIndex = 16;
|
mt.TabIndex = 16;
|
||||||
this.mt.Text = "00";
|
mt.Text = "00";
|
||||||
this.mt.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
mt.TextAlign = ContentAlignment.MiddleCenter;
|
||||||
//
|
//
|
||||||
// ht
|
// ht
|
||||||
//
|
//
|
||||||
this.ht.BackColor = System.Drawing.Color.Transparent;
|
ht.BackColor = Color.Transparent;
|
||||||
this.ht.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
ht.Font = new Font("宋体", 12F);
|
||||||
this.ht.ForeColor = System.Drawing.Color.DarkGray;
|
ht.ForeColor = Color.DarkGray;
|
||||||
this.ht.Location = new System.Drawing.Point(9, 31);
|
ht.Location = new Point(9, 31);
|
||||||
this.ht.Name = "ht";
|
ht.Name = "ht";
|
||||||
this.ht.Size = new System.Drawing.Size(46, 22);
|
ht.Size = new Size(46, 22);
|
||||||
this.ht.StyleCustomMode = true;
|
ht.StyleCustomMode = true;
|
||||||
this.ht.TabIndex = 15;
|
ht.TabIndex = 15;
|
||||||
this.ht.Text = "00";
|
ht.Text = "00";
|
||||||
this.ht.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
ht.TextAlign = ContentAlignment.MiddleCenter;
|
||||||
//
|
//
|
||||||
// sb
|
// sb
|
||||||
//
|
//
|
||||||
this.sb.BackColor = System.Drawing.Color.Transparent;
|
sb.BackColor = Color.Transparent;
|
||||||
this.sb.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
sb.Font = new Font("宋体", 12F);
|
||||||
this.sb.ForeColor = System.Drawing.Color.DarkGray;
|
sb.ForeColor = Color.DarkGray;
|
||||||
this.sb.Location = new System.Drawing.Point(115, 103);
|
sb.Location = new Point(115, 103);
|
||||||
this.sb.Name = "sb";
|
sb.Name = "sb";
|
||||||
this.sb.Size = new System.Drawing.Size(46, 22);
|
sb.Size = new Size(46, 22);
|
||||||
this.sb.StyleCustomMode = true;
|
sb.StyleCustomMode = true;
|
||||||
this.sb.TabIndex = 20;
|
sb.TabIndex = 20;
|
||||||
this.sb.Text = "00";
|
sb.Text = "00";
|
||||||
this.sb.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
sb.TextAlign = ContentAlignment.MiddleCenter;
|
||||||
//
|
//
|
||||||
// mb
|
// mb
|
||||||
//
|
//
|
||||||
this.mb.BackColor = System.Drawing.Color.Transparent;
|
mb.BackColor = Color.Transparent;
|
||||||
this.mb.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
mb.Font = new Font("宋体", 12F);
|
||||||
this.mb.ForeColor = System.Drawing.Color.DarkGray;
|
mb.ForeColor = Color.DarkGray;
|
||||||
this.mb.Location = new System.Drawing.Point(62, 103);
|
mb.Location = new Point(62, 103);
|
||||||
this.mb.Name = "mb";
|
mb.Name = "mb";
|
||||||
this.mb.Size = new System.Drawing.Size(46, 22);
|
mb.Size = new Size(46, 22);
|
||||||
this.mb.StyleCustomMode = true;
|
mb.StyleCustomMode = true;
|
||||||
this.mb.TabIndex = 19;
|
mb.TabIndex = 19;
|
||||||
this.mb.Text = "00";
|
mb.Text = "00";
|
||||||
this.mb.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
mb.TextAlign = ContentAlignment.MiddleCenter;
|
||||||
//
|
//
|
||||||
// hb
|
// hb
|
||||||
//
|
//
|
||||||
this.hb.BackColor = System.Drawing.Color.Transparent;
|
hb.BackColor = Color.Transparent;
|
||||||
this.hb.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
hb.Font = new Font("宋体", 12F);
|
||||||
this.hb.ForeColor = System.Drawing.Color.DarkGray;
|
hb.ForeColor = Color.DarkGray;
|
||||||
this.hb.Location = new System.Drawing.Point(9, 103);
|
hb.Location = new Point(9, 103);
|
||||||
this.hb.Name = "hb";
|
hb.Name = "hb";
|
||||||
this.hb.Size = new System.Drawing.Size(46, 22);
|
hb.Size = new Size(46, 22);
|
||||||
this.hb.StyleCustomMode = true;
|
hb.StyleCustomMode = true;
|
||||||
this.hb.TabIndex = 18;
|
hb.TabIndex = 18;
|
||||||
this.hb.Text = "00";
|
hb.Text = "00";
|
||||||
this.hb.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
hb.TextAlign = ContentAlignment.MiddleCenter;
|
||||||
//
|
//
|
||||||
// UITimeItem
|
// UITimeItem
|
||||||
//
|
//
|
||||||
this.Controls.Add(this.sb);
|
Controls.Add(sb);
|
||||||
this.Controls.Add(this.mb);
|
Controls.Add(mb);
|
||||||
this.Controls.Add(this.hb);
|
Controls.Add(hb);
|
||||||
this.Controls.Add(this.st);
|
Controls.Add(st);
|
||||||
this.Controls.Add(this.mt);
|
Controls.Add(mt);
|
||||||
this.Controls.Add(this.ht);
|
Controls.Add(ht);
|
||||||
this.Controls.Add(this.sc);
|
Controls.Add(sc);
|
||||||
this.Controls.Add(this.mc);
|
Controls.Add(mc);
|
||||||
this.Controls.Add(this.hc);
|
Controls.Add(hc);
|
||||||
this.Controls.Add(this.btnCancel);
|
Controls.Add(btnCancel);
|
||||||
this.Controls.Add(this.btnOK);
|
Controls.Add(btnOK);
|
||||||
this.Controls.Add(this.s2);
|
Controls.Add(s2);
|
||||||
this.Controls.Add(this.m2);
|
Controls.Add(m2);
|
||||||
this.Controls.Add(this.h2);
|
Controls.Add(h2);
|
||||||
this.Controls.Add(this.s1);
|
Controls.Add(s1);
|
||||||
this.Controls.Add(this.m1);
|
Controls.Add(m1);
|
||||||
this.Controls.Add(this.h1);
|
Controls.Add(h1);
|
||||||
this.Controls.Add(this.uiLine2);
|
FillColor = Color.White;
|
||||||
this.Controls.Add(this.uiLine1);
|
Name = "UITimeItem";
|
||||||
this.FillColor = System.Drawing.Color.White;
|
Size = new Size(168, 200);
|
||||||
this.Name = "UITimeItem";
|
Style = UIStyle.Custom;
|
||||||
this.Size = new System.Drawing.Size(168, 200);
|
Paint += UITimeItem_Paint;
|
||||||
this.Style = Sunny.UI.UIStyle.Custom;
|
ResumeLayout(false);
|
||||||
this.ResumeLayout(false);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion InitializeComponent
|
#endregion InitializeComponent
|
||||||
@ -674,5 +642,11 @@ namespace Sunny.UI
|
|||||||
Second = 0;
|
Second = 0;
|
||||||
ShowOther();
|
ShowOther();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void UITimeItem_Paint(object sender, PaintEventArgs e)
|
||||||
|
{
|
||||||
|
e.Graphics.DrawLine(Color.LightGray, 8 * SizeMultiple, (54 + 8 - 3) * SizeMultiple, (168 - 8) * SizeMultiple, (54 + 8 - 3) * SizeMultiple);
|
||||||
|
e.Graphics.DrawLine(Color.LightGray, 8 * SizeMultiple, (88 + 8 + 3) * SizeMultiple, (168 - 8) * SizeMultiple, (88 + 8 + 3) * SizeMultiple);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,4 +1,64 @@
|
|||||||
<root>
|
<?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: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:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user