Created
December 27, 2019 06:19
-
-
Save huoxudong125/65b06e60439a473ee04ee8eea6a1cd25 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region 版权信息 | |
/*---------------------------------------------------------------------* | |
// 项目 名称:《Winform分页控件》 | |
// 文 件 名: Pager.cs | |
// 描 述: 分页控件 | |
// 作 者:kwon yan | |
*----------------------------------------------------------------------*/ | |
#endregion | |
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; | |
namespace HuishengFS.Controls | |
{ | |
/**/ | |
/// <summary> | |
/// 申明委托 | |
/// </summary> | |
/// <param name="e"></param> | |
/// <returns></returns> | |
public delegate void EventPagingHandler(EventPagingArg e); | |
/**/ | |
/// <summary> | |
/// 分页控件呈现 | |
/// </summary> | |
public partial class Pager : UserControl | |
{ | |
public Pager() | |
{ | |
InitializeComponent(); | |
} | |
public event EventPagingHandler EventPaging; | |
/**/ | |
/// <summary> | |
/// 每页显示记录数 | |
/// </summary> | |
private int _pageSize = 50; | |
/**/ | |
/// <summary> | |
/// 每页显示记录数 | |
/// </summary> | |
public int PageSize | |
{ | |
get { return _pageSize; } | |
set | |
{ | |
_pageSize = value; | |
GetPageCount(); | |
} | |
} | |
private int _nMax = 0; | |
/**/ | |
/// <summary> | |
/// 总记录数 | |
/// </summary> | |
public int NMax | |
{ | |
get { return _nMax; } | |
set | |
{ | |
_nMax = value; | |
GetPageCount(); | |
} | |
} | |
private int _pageCount = 0; | |
/**/ | |
/// <summary> | |
/// 页数=总记录数/每页显示记录数 | |
/// </summary> | |
public int PageCount | |
{ | |
get { return _pageCount; } | |
set { _pageCount = value; } | |
} | |
private int _pageCurrent = 0; | |
/**/ | |
/// <summary> | |
/// 当前页号 | |
/// </summary> | |
public int PageCurrent | |
{ | |
get { return _pageCurrent; } | |
set { _pageCurrent = value; } | |
} | |
/// <summary> | |
/// 设置页面大小 | |
/// </summary> | |
private void GetPageCount() | |
{ | |
if (this.NMax > 0) | |
{ | |
this.PageCount = Convert.ToInt32(Math.Ceiling(Convert.ToDouble(this.NMax) / Convert.ToDouble(this.PageSize))); | |
lblPageCount.Text = " / " + PageCount.ToString(); | |
//lblPageCount1.Text = "每页 "+PageSize .ToString ()+" 条,共 "+PageCount.ToString()+" 页"; | |
lblPageCount1.Text = "Page no: " + PageSize.ToString() + ",Total:" + PageCount.ToString() + " pages"; | |
} | |
else | |
{ | |
this.PageCount = 0; | |
} | |
} | |
/**/ | |
/// <summary> | |
/// 翻页控件数据绑定的方法 关键是这步,都是调用这里 | |
/// </summary> | |
public void Bind() | |
{ | |
if (this.PageCurrent > this.PageCount) | |
{ | |
this.PageCurrent = this.PageCount; | |
} | |
if (this.PageCount == 1) | |
{ | |
this.PageCurrent = 1; | |
} | |
lblcurentpage.Text = PageCurrent.ToString(); | |
//lblRecordCount.Text = "共有 " + NMax.ToString() + " 条记录"; | |
lblRecordCount.Text = "Total: " + NMax.ToString() + " records"; | |
btnPrev.Enabled = true; | |
btnFirst.Enabled = true; | |
btnLast.Enabled = true; | |
btnNext.Enabled = true; | |
if (this.PageCurrent == 1) | |
{ | |
this.btnPrev.Enabled = false; | |
this.btnFirst.Enabled = false; | |
} | |
if (this.PageCurrent == this.PageCount) | |
{ | |
this.btnLast.Enabled = false; | |
this.btnNext.Enabled = false; | |
} | |
if (this.NMax == 0) | |
{ | |
btnNext.Enabled = false; | |
btnLast.Enabled = false; | |
btnFirst.Enabled = false; | |
btnPrev.Enabled = false; | |
} | |
cmbPagecount.Items.Clear(); | |
for (int i = 1; i <= PageCount; i++) | |
cmbPagecount.Items.Add(i.ToString()); | |
cmbPagecount.SelectedIndex = PageCurrent - 1; | |
} | |
/// <summary> | |
/// 首页 | |
/// </summary> | |
/// <param name="sender"></param> | |
/// <param name="e"></param> | |
private void btnFirst_Click(object sender, EventArgs e) | |
{ | |
PageCurrent = 1; | |
this.Bind(); | |
InvokePagingEvent(); | |
} | |
//上一页 | |
/// <summary> | |
/// | |
/// </summary> | |
/// <param name="sender"></param> | |
/// <param name="e"></param> | |
private void btnPrev_Click(object sender, EventArgs e) | |
{ | |
PageCurrent -= 1; | |
if (PageCurrent <= 0) | |
{ | |
PageCurrent = 1; | |
} | |
this.Bind(); | |
InvokePagingEvent(); | |
} | |
/// <summary> | |
/// 下一页 | |
/// </summary> | |
/// <param name="sender"></param> | |
/// <param name="e"></param> | |
private void btnNext_Click(object sender, EventArgs e) | |
{ | |
this.PageCurrent += 1; | |
if (PageCurrent > PageCount) | |
{ | |
PageCurrent = PageCount; | |
} | |
this.Bind(); | |
InvokePagingEvent(); | |
} | |
/// <summary> | |
/// 最后页 | |
/// </summary> | |
/// <param name="sender"></param> | |
/// <param name="e"></param> | |
private void btnLast_Click(object sender, EventArgs e) | |
{ | |
PageCurrent = PageCount; | |
this.Bind(); | |
InvokePagingEvent(); | |
} | |
/// <summary> | |
/// 转到新页 | |
/// </summary> | |
/// <param name="sender"></param> | |
/// <param name="e"></param> | |
public void btnGo_Click(object sender, EventArgs e) | |
{ | |
if (Int32.TryParse(cmbPagecount.SelectedItem.ToString(), out _pageCurrent)) | |
{ | |
this.Bind(); | |
InvokePagingEvent(); | |
} | |
} | |
private void InvokePagingEvent(){ | |
if (this.EventPaging != null) | |
{ | |
this.EventPaging(new EventPagingArg(this.PageCurrent)); | |
} | |
} | |
} | |
/**/ | |
/// <summary> | |
/// 自定义事件数据基类 | |
/// </summary> | |
public class EventPagingArg : EventArgs | |
{ | |
private int _intPageIndex; | |
public EventPagingArg(int PageIndex) | |
{ | |
_intPageIndex = PageIndex; | |
} | |
public int newPageIndex | |
{ | |
get { return _intPageIndex; } | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace HuishengFS.Controls | |
{ | |
partial class Pager | |
{ | |
/// <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.components = new System.ComponentModel.Container(); | |
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Pager)); | |
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); | |
this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components); | |
this.btnFirst = new System.Windows.Forms.ToolStripButton(); | |
this.btnPrev = new System.Windows.Forms.ToolStripButton(); | |
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); | |
this.lblcurentpage = new System.Windows.Forms.ToolStripTextBox(); | |
this.lblPageCount = new System.Windows.Forms.ToolStripLabel(); | |
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | |
this.btnNext = new System.Windows.Forms.ToolStripButton(); | |
this.btnLast = new System.Windows.Forms.ToolStripButton(); | |
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); | |
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | |
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); | |
this.cmbPagecount = new System.Windows.Forms.ToolStripComboBox(); | |
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); | |
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); | |
this.lblPageCount1 = new System.Windows.Forms.ToolStripLabel(); | |
this.lblMaxPage = new System.Windows.Forms.ToolStripLabel(); | |
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); | |
this.lblRecordCount = new System.Windows.Forms.ToolStripLabel(); | |
this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); | |
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); | |
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit(); | |
this.bindingNavigator1.SuspendLayout(); | |
this.SuspendLayout(); | |
// | |
// bindingNavigator1 | |
// | |
this.bindingNavigator1.AddNewItem = null; | |
this.bindingNavigator1.AutoSize = false; | |
this.bindingNavigator1.CanOverflow = false; | |
this.bindingNavigator1.CountItem = null; | |
this.bindingNavigator1.CountItemFormat = ""; | |
this.bindingNavigator1.DeleteItem = null; | |
this.bindingNavigator1.Dock = System.Windows.Forms.DockStyle.Bottom; | |
this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | |
this.toolStripLabel2, | |
this.btnFirst, | |
this.btnPrev, | |
this.bindingNavigatorSeparator, | |
this.lblcurentpage, | |
this.lblPageCount, | |
this.bindingNavigatorSeparator1, | |
this.btnNext, | |
this.btnLast, | |
this.bindingNavigatorSeparator2, | |
this.toolStripSeparator1, | |
this.toolStripLabel1, | |
this.cmbPagecount, | |
this.toolStripButton1, | |
this.toolStripSeparator2, | |
this.lblPageCount1, | |
this.lblMaxPage, | |
this.toolStripSeparator3, | |
this.lblRecordCount}); | |
this.bindingNavigator1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow; | |
this.bindingNavigator1.Location = new System.Drawing.Point(0, 1); | |
this.bindingNavigator1.Margin = new System.Windows.Forms.Padding(0, 0, 33, 0); | |
this.bindingNavigator1.MoveFirstItem = null; | |
this.bindingNavigator1.MoveLastItem = null; | |
this.bindingNavigator1.MoveNextItem = null; | |
this.bindingNavigator1.MovePreviousItem = null; | |
this.bindingNavigator1.Name = "bindingNavigator1"; | |
this.bindingNavigator1.PositionItem = null; | |
this.bindingNavigator1.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; | |
this.bindingNavigator1.RightToLeft = System.Windows.Forms.RightToLeft.No; | |
this.bindingNavigator1.Size = new System.Drawing.Size(822, 27); | |
this.bindingNavigator1.TabIndex = 3; | |
this.bindingNavigator1.Text = "bindingNavigator1"; | |
// | |
// btnFirst | |
// | |
this.btnFirst.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | |
this.btnFirst.Image = ((System.Drawing.Image)(resources.GetObject("btnFirst.Image"))); | |
this.btnFirst.Name = "btnFirst"; | |
this.btnFirst.RightToLeftAutoMirrorImage = true; | |
this.btnFirst.Size = new System.Drawing.Size(23, 20); | |
this.btnFirst.Text = "Moved to the first page"; | |
this.btnFirst.Click += new System.EventHandler(this.btnFirst_Click); | |
// | |
// btnPrev | |
// | |
this.btnPrev.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | |
this.btnPrev.Image = ((System.Drawing.Image)(resources.GetObject("btnPrev.Image"))); | |
this.btnPrev.Name = "btnPrev"; | |
this.btnPrev.RightToLeftAutoMirrorImage = true; | |
this.btnPrev.Size = new System.Drawing.Size(23, 20); | |
this.btnPrev.Text = "Move to previous page"; | |
this.btnPrev.Click += new System.EventHandler(this.btnPrev_Click); | |
// | |
// bindingNavigatorSeparator | |
// | |
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; | |
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 23); | |
// | |
// lblcurentpage | |
// | |
this.lblcurentpage.AccessibleName = "位置"; | |
this.lblcurentpage.AutoSize = false; | |
this.lblcurentpage.Font = new System.Drawing.Font("SimSun", 9F); | |
this.lblcurentpage.Margin = new System.Windows.Forms.Padding(1, 1, 1, 0); | |
this.lblcurentpage.Name = "lblcurentpage"; | |
this.lblcurentpage.Size = new System.Drawing.Size(30, 21); | |
this.lblcurentpage.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; | |
this.lblcurentpage.ToolTipText = "Location"; | |
// | |
// lblPageCount | |
// | |
this.lblPageCount.AutoSize = false; | |
this.lblPageCount.Font = new System.Drawing.Font("SimSun", 9F); | |
this.lblPageCount.Name = "lblPageCount"; | |
this.lblPageCount.Size = new System.Drawing.Size(50, 20); | |
this.lblPageCount.ToolTipText = "Total number of items"; | |
// | |
// bindingNavigatorSeparator1 | |
// | |
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; | |
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 23); | |
// | |
// btnNext | |
// | |
this.btnNext.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | |
this.btnNext.Image = ((System.Drawing.Image)(resources.GetObject("btnNext.Image"))); | |
this.btnNext.Name = "btnNext"; | |
this.btnNext.RightToLeftAutoMirrorImage = true; | |
this.btnNext.Size = new System.Drawing.Size(23, 20); | |
this.btnNext.Text = "Move to next page"; | |
this.btnNext.Click += new System.EventHandler(this.btnNext_Click); | |
// | |
// btnLast | |
// | |
this.btnLast.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | |
this.btnLast.Image = ((System.Drawing.Image)(resources.GetObject("btnLast.Image"))); | |
this.btnLast.Name = "btnLast"; | |
this.btnLast.RightToLeftAutoMirrorImage = true; | |
this.btnLast.Size = new System.Drawing.Size(23, 20); | |
this.btnLast.Text = "Moved to the last page"; | |
this.btnLast.Click += new System.EventHandler(this.btnLast_Click); | |
// | |
// bindingNavigatorSeparator2 | |
// | |
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; | |
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 23); | |
// | |
// toolStripSeparator1 | |
// | |
this.toolStripSeparator1.Name = "toolStripSeparator1"; | |
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23); | |
// | |
// toolStripLabel1 | |
// | |
this.toolStripLabel1.AutoSize = false; | |
this.toolStripLabel1.Font = new System.Drawing.Font("SimSun", 9F); | |
this.toolStripLabel1.Name = "toolStripLabel1"; | |
this.toolStripLabel1.Size = new System.Drawing.Size(50, 20); | |
this.toolStripLabel1.Text = "Page Of"; | |
// | |
// cmbPagecount | |
// | |
this.cmbPagecount.AutoSize = false; | |
this.cmbPagecount.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; | |
this.cmbPagecount.Font = new System.Drawing.Font("SimSun", 9F); | |
this.cmbPagecount.Name = "cmbPagecount"; | |
this.cmbPagecount.Size = new System.Drawing.Size(60, 20); | |
// | |
// toolStripButton1 | |
// | |
this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | |
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); | |
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; | |
this.toolStripButton1.Name = "toolStripButton1"; | |
this.toolStripButton1.Size = new System.Drawing.Size(23, 20); | |
this.toolStripButton1.Text = "Moved"; | |
this.toolStripButton1.Click += new System.EventHandler(this.btnGo_Click); | |
// | |
// toolStripSeparator2 | |
// | |
this.toolStripSeparator2.Name = "toolStripSeparator2"; | |
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 23); | |
// | |
// lblPageCount1 | |
// | |
this.lblPageCount1.AutoSize = false; | |
this.lblPageCount1.Font = new System.Drawing.Font("SimSun", 9F); | |
this.lblPageCount1.Name = "lblPageCount1"; | |
this.lblPageCount1.Size = new System.Drawing.Size(200, 20); | |
this.lblPageCount1.Text = "pagecount"; | |
// | |
// lblMaxPage | |
// | |
this.lblMaxPage.Name = "lblMaxPage"; | |
this.lblMaxPage.Size = new System.Drawing.Size(0, 0); | |
// | |
// toolStripSeparator3 | |
// | |
this.toolStripSeparator3.Name = "toolStripSeparator3"; | |
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 23); | |
// | |
// lblRecordCount | |
// | |
this.lblRecordCount.AutoSize = false; | |
this.lblRecordCount.Font = new System.Drawing.Font("SimSun", 9F); | |
this.lblRecordCount.Name = "lblRecordCount"; | |
this.lblRecordCount.Size = new System.Drawing.Size(140, 20); | |
this.lblRecordCount.Text = "recordcount"; | |
this.lblRecordCount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; | |
// | |
// toolStripLabel2 | |
// | |
this.toolStripLabel2.Name = "toolStripLabel2"; | |
this.toolStripLabel2.Size = new System.Drawing.Size(16, 15); | |
this.toolStripLabel2.Text = " "; | |
// | |
// Pager | |
// | |
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); | |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | |
this.Controls.Add(this.bindingNavigator1); | |
this.Name = "Pager"; | |
this.Size = new System.Drawing.Size(822, 28); | |
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); | |
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit(); | |
this.bindingNavigator1.ResumeLayout(false); | |
this.bindingNavigator1.PerformLayout(); | |
this.ResumeLayout(false); | |
} | |
#endregion | |
public System.Windows.Forms.BindingSource bindingSource1; | |
public System.Windows.Forms.BindingNavigator bindingNavigator1; | |
private System.Windows.Forms.ToolStripLabel lblPageCount; | |
private System.Windows.Forms.ToolStripButton btnFirst; | |
private System.Windows.Forms.ToolStripButton btnPrev; | |
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; | |
private System.Windows.Forms.ToolStripTextBox lblcurentpage; | |
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; | |
private System.Windows.Forms.ToolStripButton btnNext; | |
private System.Windows.Forms.ToolStripButton btnLast; | |
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; | |
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; | |
private System.Windows.Forms.ToolStripLabel toolStripLabel1; | |
private System.Windows.Forms.ToolStripComboBox cmbPagecount; | |
private System.Windows.Forms.ToolStripButton toolStripButton1; | |
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; | |
private System.Windows.Forms.ToolStripLabel lblMaxPage; | |
private System.Windows.Forms.ToolStripLabel lblPageCount1; | |
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; | |
private System.Windows.Forms.ToolStripLabel lblRecordCount; | |
private System.Windows.Forms.ToolStripLabel toolStripLabel2; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |
</resheader> | |
<resheader name="writer"> | |
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |
</resheader> | |
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | |
<value>17, 17</value> | |
</metadata> | |
<metadata name="bindingNavigator1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | |
<value>155, 17</value> | |
</metadata> | |
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | |
<data name="btnFirst.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |
<value> | |
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | |
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAStJREFUOE9jYBg0 | |
oHDW8/9NC57/z5z4+D8uR4W3P8Apx5A789n/VUfe/8elKL77wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+ | |
///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0v3f1BxRFoa33wJpb1wFt7/z73yX/AG4D | |
Apsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvgUXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF | |
7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbAIu/O/9T+11gVGSSd+C+b9vW/bvA83AYY | |
Zt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPulf8gBXgVDZqMh+wQAPB2wKsSwCgmAAAA | |
AElFTkSuQmCC | |
</value> | |
</data> | |
<data name="btnPrev.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |
<value> | |
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | |
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAL1JREFUOE9jYBgy | |
ILz9wX+yHRvf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3v | |
kn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ14A0ChbVd8+3/6nN///bu+/dcpfPffImE9aQaADNFP | |
Of/fpOjFf5WsT/+NI5eRbgDIEIOkE/9l077+1w2eR54BYJekXv6v4TuNfANAhqh4TKDMALKTMc01AgDQ | |
FGCYkuTLEQAAAABJRU5ErkJggg== | |
</value> | |
</data> | |
<data name="btnNext.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |
<value> | |
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | |
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAKtJREFUOE9jYBh0 | |
oHDW8/8UOSp35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ | |
ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuIN8Sj6v7/krnv4JoVXXqI1wyKPvvSu/8D | |
W56BbSZZM8gAi7w7/20KrpCnGWSAYdZt8jWDDNBJu0GanylKtoNCMwCgfl+gC2KedgAAAABJRU5ErkJg | |
gg== | |
</value> | |
</data> | |
<data name="btnLast.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |
<value> | |
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | |
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAATBJREFUOE9jYBhU | |
oHDW8/+4HASSa1rw/H/mxMc41TDkznz2P6H7HlYFILlVR97/D29/gNuAjClP/8/b//t/QtcdDEUguYX7 | |
PvwPbriG24CEnif/Z+/79b9z69//bqWXURSC5KZtef/fv/oCbgMiux79n7Lt1/+SpX//J0z/+98m9yxc | |
MUiud/WH/16lJ3AbENj88H/r2vdgzcYlX/5LR1/7bxy5DKwBJFc3/91/l/wDuA3wqLr/v2TuO7hmRZce | |
uGKQXP60N//tM7bjNsC+9O7/wJZnYJuRNYNcAJLLnvz6v0XCetwGWOTd+W9TcAVDM8gAkFxq/2u4l7Cm | |
F8Os21g1gxSD5MJaXv7XDZ6H2wU6aTdwSoLk/Kof/tfwnYbbAHz5yin3yn8VjwlgPKjyHwMAvtG/s0Vm | |
x8MAAAAASUVORK5CYII= | |
</value> | |
</data> | |
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |
<value> | |
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | |
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIkSURBVDhPhZJdSJNhFMf/txGo0MeFdVMXdmeoF5EJ2mR7 | |
dduNBHWRfUDRwCDpAy8EG+jEd5s1CEFlrjlGTmRdBFHRhRKVEcsyZTYrXliiU++8Krv5d56NYm+9sxce | |
Dud5z/md/znnASy+1kH0Ofz43qyDtgFQWfGpBTFpD2K3Vc6fO4cPq7ceHOGrdDezuVE5I3mrfHWvQK5B | |
dFpCNEkOPbNxOTfA6SUXk6lKPkwdyFvlq3v1XytANBOkNYC+6xOH+G7Fw8SHMt6dBi+GwbPDBRsSf3K+ | |
jHOrHt5IHKbTi58mQL0XPx5n2jiRKWdoNl+BtRdws0rD6eMd8LnvgPfegkmjnM+NU3QGQRPAIYN6ulbD | |
6GepGAVVkgRUyNklZ2/9NeiiMi9fWbeOLRNAE8CUUcHxDHhuDDx2BQ1/DWqf+HVF56gZIOR4GhxfEAUR | |
0O5DR3FASwDrsl6z7OKARj+2h14IQPqcmjvB88MHqQXg+R1jF4XptTib5V1YrrCpC+HLUjkuA4y+BJ/M | |
u9j/6CSdUrWpH+xJgvflfiHrLwmptOnY7JLA2HswkgJnDBcXN7xcXL/Nj7lejr4Bw6JwNnuV0pKlkmoF | |
uRSTlQkg9kXULAtMBju2JMkyo8gnUWe4SwJUe9UNnQg26th2SL9nRsB2aa1nRubzDUx8raG9MAe1kZLf | |
fvlTW7y2Fhmi/noP1br/l2xJVQ/HXVjjjpV3UqUezj/JvwCSXimrhDZHjAAAAABJRU5ErkJggg== | |
</value> | |
</data> | |
</root> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment