📄 datepicker.resx
字号:
<?xml version="1.0" encoding="utf-8" ?>
<root>
<!--
Microsoft ResX Schema
Version 1.3
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">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</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.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:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<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" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</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>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="css">
<value><style>
td.cal{
font-family : Arial,Helvetica,Sans-serif;
font-size : 11px;
color : #000000;
background-color : #d3d3d3;
}
select.month{
font-family : Arial,Helvetica,Sans-serif;
font-size : 11px;
color : #000000;
width : 85px;
}
input.year{
font-family : Arial,Helvetica,Sans-serif;
font-size : 11px;
color : #000000;
width : 30px;
}
td.calDaysColor {
font-family : Arial,Helvetica,Sans-serif;
font-size : 11px;
color : #ffffff;
background-color : #000000;
}
td.calWeekend {
font-family : Arial,Helvetica,Sans-serif;
font-size : 11px;
color : #ffffff;
background-color : #c0c0c0;
}
td.calBgColor {
font-family : Arial,Helvetica,Sans-serif;
font-size : 11px;
color : #ffffff;
background-color : #d3d3d3;
}
.calBorderColor {
font-family : Arial,Helvetica,Sans-serif;
font-size : 11px;
color : #ffffff;
background-color : #a9a9a9;
}
td.calHighlightColor {
font-family : Arial,Helvetica,Sans-serif;
font-size : 11px;
color : #ffffff;
background-color : #ffffcc;
}
A.cal {
font-family : Arial,Helvetica,Sans-serif;
font-size : 11px;
color : #000000;
text-decoration : none;
}
A.cal:Hover {
font-family : Arial,Helvetica,Sans-serif;
font-size : 11px;
color : #FF0000;
text-decoration : none;
}
.disabled {
font-family : Arial,Helvetica,Sans-serif;
font-size : 11px;
color : #808080;
text-decoration : none;
}
</style> </value>
</data>
<data name="js">
<value><script language="JavaScript">
var timeoutDelay = 2000; // milliseconds, change this if you like, set to 0 for the calendar to never auto disappear
var g_startDay = 0// 0=sunday, 1=monday
// preload images
var imgUp = new Image(8,12);
imgUp.src = 'upimage';
var imgDown = new Image(8,12);
imgDown.src = 'downimage';
// used by timeout auto hide functions
var timeoutId = false;
// the now standard browser sniffer class
function Browser(){
this.dom = document.getElementById?1:0;
this.ie4 = (document.all && !this.dom)?1:0;
this.ns4 = (document.layers && !this.dom)?1:0;
this.ns6 = (this.dom && !document.all)?1:0;
this.ie5 = (this.dom && document.all)?1:0;
this.ok = this.dom || this.ie4 || this.ns4;
this.platform = navigator.platform;
}
var browser = new Browser();
// dom browsers require this written to the HEAD section
if (browser.dom || browser.ie4){
document.writeln('<style>');
document.writeln('#container {');
document.writeln('position : absolute;');
document.writeln('left : 100px;');
document.writeln('top : 100px;');
document.writeln('width : 124px;');;
browser.platform=='Win32'?height=140:height=145;
document.writeln('height : ' + height +'px;');
document.writeln('clip:rect(0px 124px ' + height + 'px 0px);');
//document.writeln('overflow : hidden;');
document.writeln('visibility : hidden;');
document.writeln('background-color : #ffffff');
document.writeln('}');
document.writeln('</style>')
document.write('<div id="container"');
if (timeoutDelay) document.write(' onmouseout="calendarTimeout();" onmouseover="if (timeoutId) clearTimeout(timeoutId);"');
document.write('></div>');
}
var g_Calendar; // global to hold the calendar reference, set by constructor
function calendarTimeout(){
if (browser.ie4 || browser.ie5){
if (window.event.srcElement && window.event.srcElement.name!='month') timeoutId=setTimeout('g_Calendar.hide();',timeoutDelay);
}
if (browser.ns6 || browser.ns4){
timeoutId=setTimeout('g_Calendar.hide();',timeoutDelay);
}
}
// constructor for calendar class
function Calendar(){
g_Calendar = this;
// some constants needed throughout the program
this.daysOfWeek = new Array(setweeklanguage);
this.months = new Array(setmonthlanguage);
this.daysInMonth = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
if (browser.ns4){
var tmpLayer = new Layer(127);
if (timeoutDelay){
tmpLayer.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
tmpLayer.onmouseover = function(event) { if (timeoutId) clearTimeout(timeoutId); };
tmpLayer.onmouseout = function(event) { timeoutId=setTimeout('g_Calendar.hide()',timeoutDelay);};
}
tmpLayer.x = 100;
tmpLayer.y = 100;
tmpLayer.bgColor = "#ffffff";
}
if (browser.dom || browser.ie4){
var tmpLayer = browser.dom?document.getElementById('container'):document.all.container;
}
this.containerLayer = tmpLayer;
this.containerLayer.style.zIndex=9999;
if (browser.ns4 && browser.platform=='Win32') {
this.containerLayer.clip.height=134;
this.containerLayer.clip.width=127;
}
}
Calendar.prototype.getFirstDOM = function() {
var thedate = new Date();
thedate.setDate(1);
thedate.setMonth(this.month);
thedate.setFullYear(this.year);
return thedate.getDay();
}
Calendar.prototype.getDaysInMonth = function (){
if (this.month!=1) {
return this.daysInMonth[this.month]
}
else {
// is it a leap year
if (Date.isLeapYear(this.year)) {
return 29;
}
else {
return 28;
}
}
}
Calendar.prototype.buildString = function(){
var tmpStr = '<table width="100%" border="0" cellspacing="0" cellpadding="2" class="calBorderColor"><tr><td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="1" class="calBgColor">';
tmpStr += '<tr>';
tmpStr += '<td width="60%" class="cal" align="left">';
if (this.hasDropDown) {
tmpStr += '<select class="month" name="month" onchange="g_Calendar.selectChange();">';
for (var i=0;i<this.months.length;i++){
tmpStr += '<option value="' + i + '"'
if (i == this.month) tmpStr += ' selected';
tmpStr += '>' + this.months[i] + '</option>';
}
tmpStr += '</select>';
} else {
tmpStr += '<table border="0" cellspacing="0" cellpadding="0"><tr><td><a href="javascript: g_Calendar.changeMonth(-1);"><img name="calendar" src="downimage" width="8" height="12" border="0" alt=""></a></td><td class="cal" width="100%" align="center">' + this.months[this.month] + '</td><td class="cal"><a href="javascript: g_Calendar.changeMonth(+1);"><img name="calendar" src="upimage" width="8" height="12" border="0" alt=""></a></td></tr></table>';
}
tmpStr += '</td>';
/* observation : for some reason if the below event is changed to 'onChange' rather than 'onBlur' it totally crashes IE (4 and 5)!
*/
tmpStr += '<td width="40%" align="right" class="cal">';
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -