229 lines
11 KiB
C#
229 lines
11 KiB
C#
|
namespace ProductionControl.UI
|
|||
|
{
|
|||
|
partial class UIPagination
|
|||
|
{
|
|||
|
/// <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();
|
|||
|
this.label1 = new System.Windows.Forms.Label();
|
|||
|
this.numPageSize = new System.Windows.Forms.NumericUpDown();
|
|||
|
this.btnNext = new System.Windows.Forms.Button();
|
|||
|
this.cobPageNum = new System.Windows.Forms.ComboBox();
|
|||
|
this.btnLast = new System.Windows.Forms.Button();
|
|||
|
this.btnPre = new System.Windows.Forms.Button();
|
|||
|
this.btnFirst = new System.Windows.Forms.Button();
|
|||
|
this.lblPagesCount = new System.Windows.Forms.Label();
|
|||
|
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
|||
|
this.lblTotalCount = new System.Windows.Forms.Label();
|
|||
|
this.label2 = new System.Windows.Forms.Label();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.numPageSize)).BeginInit();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// label1
|
|||
|
//
|
|||
|
this.label1.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|||
|
this.label1.AutoSize = true;
|
|||
|
this.label1.Location = new System.Drawing.Point(74, 6);
|
|||
|
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|||
|
this.label1.Name = "label1";
|
|||
|
this.label1.Size = new System.Drawing.Size(35, 12);
|
|||
|
this.label1.TabIndex = 0;
|
|||
|
this.label1.Text = "条/页";
|
|||
|
//
|
|||
|
// numPageSize
|
|||
|
//
|
|||
|
this.numPageSize.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|||
|
this.numPageSize.Location = new System.Drawing.Point(15, 1);
|
|||
|
this.numPageSize.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|||
|
this.numPageSize.Maximum = new decimal(new int[] {
|
|||
|
10000,
|
|||
|
0,
|
|||
|
0,
|
|||
|
0});
|
|||
|
this.numPageSize.Minimum = new decimal(new int[] {
|
|||
|
1,
|
|||
|
0,
|
|||
|
0,
|
|||
|
0});
|
|||
|
this.numPageSize.Name = "numPageSize";
|
|||
|
this.numPageSize.Size = new System.Drawing.Size(55, 21);
|
|||
|
this.numPageSize.TabIndex = 1;
|
|||
|
this.numPageSize.Value = new decimal(new int[] {
|
|||
|
1,
|
|||
|
0,
|
|||
|
0,
|
|||
|
0});
|
|||
|
this.numPageSize.ValueChanged += new System.EventHandler(this.numPageSize_ValueChanged);
|
|||
|
//
|
|||
|
// btnNext
|
|||
|
//
|
|||
|
this.btnNext.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|||
|
this.btnNext.Cursor = System.Windows.Forms.Cursors.Hand;
|
|||
|
this.btnNext.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|||
|
this.btnNext.Location = new System.Drawing.Point(718, 1);
|
|||
|
this.btnNext.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|||
|
this.btnNext.Name = "btnNext";
|
|||
|
this.btnNext.Size = new System.Drawing.Size(25, 17);
|
|||
|
this.btnNext.TabIndex = 4;
|
|||
|
this.btnNext.Text = ">";
|
|||
|
this.toolTip1.SetToolTip(this.btnNext, "下一页");
|
|||
|
this.btnNext.UseVisualStyleBackColor = true;
|
|||
|
this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
|
|||
|
//
|
|||
|
// cobPageNum
|
|||
|
//
|
|||
|
this.cobPageNum.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|||
|
this.cobPageNum.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|||
|
this.cobPageNum.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
|||
|
this.cobPageNum.FormattingEnabled = true;
|
|||
|
this.cobPageNum.Items.AddRange(new object[] {
|
|||
|
"1000"});
|
|||
|
this.cobPageNum.Location = new System.Drawing.Point(613, 1);
|
|||
|
this.cobPageNum.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|||
|
this.cobPageNum.Name = "cobPageNum";
|
|||
|
this.cobPageNum.Size = new System.Drawing.Size(56, 20);
|
|||
|
this.cobPageNum.TabIndex = 5;
|
|||
|
this.cobPageNum.SelectedIndexChanged += new System.EventHandler(this.cobPageNum_SelectedIndexChanged);
|
|||
|
//
|
|||
|
// btnLast
|
|||
|
//
|
|||
|
this.btnLast.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|||
|
this.btnLast.Cursor = System.Windows.Forms.Cursors.Hand;
|
|||
|
this.btnLast.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|||
|
this.btnLast.Location = new System.Drawing.Point(747, 1);
|
|||
|
this.btnLast.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|||
|
this.btnLast.Name = "btnLast";
|
|||
|
this.btnLast.Size = new System.Drawing.Size(25, 17);
|
|||
|
this.btnLast.TabIndex = 6;
|
|||
|
this.btnLast.Text = ">>";
|
|||
|
this.toolTip1.SetToolTip(this.btnLast, "末页");
|
|||
|
this.btnLast.UseVisualStyleBackColor = true;
|
|||
|
this.btnLast.Click += new System.EventHandler(this.btnLast_Click);
|
|||
|
//
|
|||
|
// btnPre
|
|||
|
//
|
|||
|
this.btnPre.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|||
|
this.btnPre.Cursor = System.Windows.Forms.Cursors.Hand;
|
|||
|
this.btnPre.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|||
|
this.btnPre.Location = new System.Drawing.Point(567, 1);
|
|||
|
this.btnPre.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|||
|
this.btnPre.Name = "btnPre";
|
|||
|
this.btnPre.Size = new System.Drawing.Size(25, 17);
|
|||
|
this.btnPre.TabIndex = 8;
|
|||
|
this.btnPre.Text = "<";
|
|||
|
this.toolTip1.SetToolTip(this.btnPre, "上一页");
|
|||
|
this.btnPre.UseVisualStyleBackColor = true;
|
|||
|
this.btnPre.Click += new System.EventHandler(this.btnPre_Click);
|
|||
|
//
|
|||
|
// btnFirst
|
|||
|
//
|
|||
|
this.btnFirst.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|||
|
this.btnFirst.Cursor = System.Windows.Forms.Cursors.Hand;
|
|||
|
this.btnFirst.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|||
|
this.btnFirst.Location = new System.Drawing.Point(539, 1);
|
|||
|
this.btnFirst.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|||
|
this.btnFirst.Name = "btnFirst";
|
|||
|
this.btnFirst.Size = new System.Drawing.Size(25, 17);
|
|||
|
this.btnFirst.TabIndex = 7;
|
|||
|
this.btnFirst.Text = "<<";
|
|||
|
this.toolTip1.SetToolTip(this.btnFirst, "首页");
|
|||
|
this.btnFirst.UseVisualStyleBackColor = true;
|
|||
|
this.btnFirst.Click += new System.EventHandler(this.btnFirst_Click);
|
|||
|
//
|
|||
|
// lblPagesCount
|
|||
|
//
|
|||
|
this.lblPagesCount.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|||
|
this.lblPagesCount.AutoSize = true;
|
|||
|
this.lblPagesCount.Location = new System.Drawing.Point(667, 5);
|
|||
|
this.lblPagesCount.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|||
|
this.lblPagesCount.Name = "lblPagesCount";
|
|||
|
this.lblPagesCount.Size = new System.Drawing.Size(47, 12);
|
|||
|
this.lblPagesCount.TabIndex = 9;
|
|||
|
this.lblPagesCount.Text = "/1000页";
|
|||
|
//
|
|||
|
// lblTotalCount
|
|||
|
//
|
|||
|
this.lblTotalCount.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|||
|
this.lblTotalCount.AutoSize = true;
|
|||
|
this.lblTotalCount.Location = new System.Drawing.Point(129, 6);
|
|||
|
this.lblTotalCount.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|||
|
this.lblTotalCount.Name = "lblTotalCount";
|
|||
|
this.lblTotalCount.Size = new System.Drawing.Size(71, 12);
|
|||
|
this.lblTotalCount.TabIndex = 10;
|
|||
|
this.lblTotalCount.Text = "共 99999 条";
|
|||
|
//
|
|||
|
// label2
|
|||
|
//
|
|||
|
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
|||
|
this.label2.AutoSize = true;
|
|||
|
this.label2.Location = new System.Drawing.Point(596, 4);
|
|||
|
this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|||
|
this.label2.Name = "label2";
|
|||
|
this.label2.Size = new System.Drawing.Size(17, 12);
|
|||
|
this.label2.TabIndex = 11;
|
|||
|
this.label2.Text = "第";
|
|||
|
//
|
|||
|
// UIPagination
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.Controls.Add(this.cobPageNum);
|
|||
|
this.Controls.Add(this.label2);
|
|||
|
this.Controls.Add(this.lblTotalCount);
|
|||
|
this.Controls.Add(this.lblPagesCount);
|
|||
|
this.Controls.Add(this.btnPre);
|
|||
|
this.Controls.Add(this.btnFirst);
|
|||
|
this.Controls.Add(this.btnLast);
|
|||
|
this.Controls.Add(this.btnNext);
|
|||
|
this.Controls.Add(this.numPageSize);
|
|||
|
this.Controls.Add(this.label1);
|
|||
|
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
|||
|
this.Name = "UIPagination";
|
|||
|
this.Size = new System.Drawing.Size(778, 26);
|
|||
|
this.Load += new System.EventHandler(this.UIPagination_Load);
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.numPageSize)).EndInit();
|
|||
|
this.ResumeLayout(false);
|
|||
|
this.PerformLayout();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private System.Windows.Forms.Label label1;
|
|||
|
private System.Windows.Forms.NumericUpDown numPageSize;
|
|||
|
private System.Windows.Forms.Button btnNext;
|
|||
|
private System.Windows.Forms.ComboBox cobPageNum;
|
|||
|
private System.Windows.Forms.Button btnLast;
|
|||
|
private System.Windows.Forms.Button btnPre;
|
|||
|
private System.Windows.Forms.Button btnFirst;
|
|||
|
private System.Windows.Forms.Label lblPagesCount;
|
|||
|
private System.Windows.Forms.ToolTip toolTip1;
|
|||
|
private System.Windows.Forms.Label lblTotalCount;
|
|||
|
private System.Windows.Forms.Label label2;
|
|||
|
}
|
|||
|
}
|