FillGridListCtrlQueryxd股票是什么意思思

posts - 83,&
comments - 7,&
trackbacks - 0
& 这个小小的功能实现起来还是有一点点复杂, 分页单独一个usercontrol 出来,导致查询换页 与gridcontrol页面分离, &一般通过换页事件通知girdcontrol 做出查询
查询来说有时是查询所有,有时是查询一个月,或者别的时间. 在分页控件内的控件上做相应的赋值.想想实现起来还是有一定的复杂度.
如果数据量足够大 : 第一步是先查出数据总量,根据总量,把分页上的 数量,页数.当前页等做初始化,把第一页的数据通过数据库查询先赋值给gridcontrol,其余页面等用户点击时进行赋值
查询数据总数:
/// &summary&
/// 查询记录条数
/// &/summary&
/// &returns&记录条数&/returns&
public int Count()
const string sql = "SELECT count(*) as id FROM [dbo].[Contacts]";
using (SqlConnection connection = new SqlConnection(connstr))
int list = Convert.ToInt32(connection.ExecuteScalar(sql));
数据库查询分页代码:
/// &summary&
/// &/summary&
/// &param name="pageIndex"&&/param&
/// &param name="pageSize"&&/param&
/// &returns&&/returns&
public IEnumerable&Model.ScanAllData& Page(int pageIndex, int pageSize)
const string sql = @"select * from(select *,(ROW_NUMBER() over(order by id asc))as newId from Contacts) as t
where t.newId between (@pageIndex-1)*@pageSize+1 and
@pageSize*@pageIndex";
using (SqlConnection connection = new SqlConnection(connstr))
var reader = connection.Query&Model.ScanAllData&(sql, new { pageIndex = pageIndex, pageSize = pageSize });
分页控件样式图
新建一个usercontrol , 加上panelcontorl &然后 从左到右 需 button , 输入框,下拉框 ,labelcontrol 挨个拖进 &
using System.Collections.G
using ponentM
using System.D
using System.D
using System.L
using System.T
using System.Windows.F
//QQ:1981633
namespace WORKALERT
public partial class MgncPager : UserControl
private int allCount = <span style="color: #;
private int pageSize = <span style="color: #;
private int curPage = <span style="color: #;
public delegate void MyPagerEvents(int curPage,int pageSize);
public delegate void ExportEvents(bool singlePage);//单页,所有
public event MyPagerEvents myPagerE
public event ExportEvents exportE
public MgncPager()
InitializeComponent();
//计算分页,分页大小,总记录数。
public void RefreshPager(int pageSize,int allCount,int curPage)
this.allCount = allC
this.pageSize = pageS
this.curPage = curP
this.textEditAllPageCount.Text = GetPageCount().ToString();
lcStatus.Text = string.Format("(共{0}条记录,每页{1}条,共{2}页)", allCount, pageSize, GetPageCount());
textEditCurPage.Text = curPage.ToString() ;
textEditToPage.Text = curPage.ToString();
comboBoxEditPageSize.Text = pageSize.ToString();
if (curPage == <span style="color: #)
if (GetPageCount() & <span style="color: #)
curPage = <span style="color: #;
myPagerEvents(curPage, pageSize);
if (curPage & GetPageCount())
curPage = GetPageCount();
myPagerEvents(curPage, pageSize);
//获取总记录数
public int GetAllCount()
return allC
//获得当前页编号,从1开始
public int GetCurPage()
return curP
//获得总页数
public int GetPageCount()
int count = <span style="color: #;
if (allCount % pageSize == <span style="color: #)
count = allCount / pageS
count = allCount / pageSize+<span style="color: #;
private void simpleButtonNext_Click(object sender, EventArgs e)
if (myPagerEvents != null)
if(curPage&GetPageCount())
curPage += <span style="color: #;
myPagerEvents(curPage,pageSize);
private void simpleButtonEnd_Click(object sender, EventArgs e)
if (myPagerEvents != null)
curPage = GetPageCount();
myPagerEvents(curPage, pageSize);
private void simpleButtonPre_Click(object sender, EventArgs e)
if (myPagerEvents != null)
if (curPage & <span style="color: #)
curPage -= <span style="color: #;
myPagerEvents(curPage, pageSize);
private void simpleButtonFirst_Click(object sender, EventArgs e)
if (myPagerEvents != null)
curPage = <span style="color: #;
myPagerEvents(curPage, pageSize);
private void simpleButtonToPage_Click(object sender, EventArgs e)
int selPage = Convert.ToInt32(textEditToPage.Text);
if (myPagerEvents != null)
if ((selPage &= <span style="color: #) && (selPage &= GetPageCount()))
curPage = selP
myPagerEvents(curPage, pageSize);
catch (Exception)
private void simpleButtonExportCurPage_Click(object sender, EventArgs e)
if (exportEvents != null)
exportEvents(true);
catch (Exception)
private void simpleButtonExportAllPage_Click(object sender, EventArgs e)
if (exportEvents != null)
exportEvents(false);
catch (Exception)
private void comboBoxEditPageSize_EditValueChanged(object sender, EventArgs e)
int pageSize = Convert.ToInt32(comboBoxEditPageSize.Text);
if ((pageSize & <span style="color: #))
this.pageSize = pageS
myPagerEvents(curPage, pageSize);
catch (Exception)
加两个事件:
mgncPager1.myPagerEvents += MyPagerE //new MgncPager.MyPagerEvents(MyPagerEvents);
mgncPager1.exportEvents += ExportE// new MgncPager.ExportEvents(ExportEvents);
public int curPage = <span style="color: #;
public int pageSize = <span style="color: #;
public int allcount = <span style="color: #;
public void ExportEvents(bool singlePage)//单页,所有
//导出GridControl代码写在这。
public void RefreshGridList()
FillGridListCtrlQuery(curPage);//自己实现FillGridListCtrlQuery函数。
private void FillGridListCtrlQuery(int curPage = <span style="color: #)
//更新控件
GridControl1.DataSource = WebService.Pager(。。。。。//显示分页结果
mgncPager1.RefreshPager(pageSize, allcount, curPage);//更新分页控件显示。
private void MyPagerEvents(int curPage, int pageSize)
this.curPage = curP
this.pageSize = pageS
FillGridListCtrlQuery(curPage);
& mgncPager1.RefreshPager(pageSize, allcount, curPage);//更新分页控件显示。 &
每次查询数据量大需要分页,需要初始化这个控件上的值.
这边上还没实现数据保存,可以借鉴 别的博文里边你的文章,下边有上一页下一页 &操作代码,包括内容导出
using System.Collections.G
using ponentM
using System.D
using System.Data.SqlC
using System.D
using System.T
using System.L
using System.Threading.T
using System.Windows.F
using DevExpress.XtraE
using DZAMS.DBU
namespace DZAMS.Demo
public partial class GridPage_Frm : DevExpress.XtraEditors.XtraForm
public DataTable dt = new DataTable();
private int pageSize = <span style="color: #;
//每页显示行数
private int nMax = <span style="color: #;
//总记录数
private int pageCount = <span style="color: #;
//页数=总记录数/每页显示行数
private int pageCurrent = <span style="color: #;
//当前页号
private DataSet ds = new DataSet();
private DataTable dtInfo = new DataTable();
public GridPage_Frm()
InitializeComponent();
private void GridPage_Frm_Load(object sender, EventArgs e)
string strQuery = string.Format("SELECT
Id, UserCode, UserName, RoleName, Ip, Mac, LoginTime FROM
DZ_LoginLog");
dt = SqlHelper.ExecuteDataset(SqlHelper.conn, CommandType.Text, strQuery.ToString()).Tables[<span style="color: #];
gridControl1.DataSource =
string strConn = "SERVER=(local);DATABASE=DZ;UID=PWD=XXXX";
//数据库连接字符串
SqlConnection conn = new SqlConnection(strConn);
conn.Open();
string strSql = "SELECT count(*) as num FROM DZ_LoginLog";
SqlDataAdapter sda = new SqlDataAdapter(strSql, conn);
sda.Fill(ds, "ds");
conn.Close();
nMax = Convert.ToInt32(ds.Tables[<span style="color: #].Rows[<span style="color: #]["num"].ToString());
lblTotalCount.Text = nMax.ToString();
lblPageSize.Text = pageSize.ToString();
sp = new StoreProcedure("Pr_Monitor_Pagination", strConn);
dtInfo = sp.ExecuteDataTable("DZ_LoginLog", "Id", "Id desc", pageCurrent++, pageSize);
InitDataSet();
private void InitDataSet()
pageCount = (nMax / pageSize);
//计算出总页数
if ((nMax % pageSize) & <span style="color: #) pageCount++;
pageCurrent = <span style="color: #;
//当前页数从1开始
LoadData();
private void LoadData()
lblPageCount.Text = "/"+pageCount.ToString();
txtCurrentPage.Text = Convert.ToString(pageCurrent);
this.bdsInfo.DataSource = dtI
this.bdnInfo.BindingSource = bdsI
this.gridControl1.DataSource = bdsI
private void bdnInfo_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
if (e.ClickedItem.Text == "导出当前页")
SaveFileDialog saveFileDialog = new SaveFileDialog();
saveFileDialog.Title = "导出Excel";
saveFileDialog.Filter = "Excel文件(*.xls)|*.xls";
DialogResult dialogResult = saveFileDialog.ShowDialog(this);
if (dialogResult == DialogResult.OK)
DevExpress.XtraPrinting.XlsExportOptions options = new DevExpress.XtraPrinting.XlsExportOptions();
gridControl1.ExportToXls(saveFileDialog.FileName, options);
// gridControl1.ExportToExcelOld(saveFileDialog.FileName);
DevExpress.XtraEditors.XtraMessageBox.Show("保存成功!", "提示", MessageBoxButtons.OK, rmation);
if (e.ClickedItem.Text == "关闭")
this.Close();
if (e.ClickedItem.Text == "首页")
pageCurrent--;
if (pageCurrent &= <span style="color: #)
MessageBox.Show("已经是首页,请点击“下一页”查看!");
pageCurrent = <span style="color: #;
dtInfo = sp.ExecuteDataTable("DZ_LoginLog", "Id", "Id desc", pageCurrent, pageSize);
if (e.ClickedItem.Text == "上一页")
pageCurrent--;
if (pageCurrent &= <span style="color: #)
MessageBox.Show("已经是第一页,请点击“下一页”查看!");
dtInfo = sp.ExecuteDataTable("DZ_LoginLog", "Id", "Id desc", pageCurrent, pageSize);
if (e.ClickedItem.Text == "下一页")
pageCurrent++;
if (pageCurrent & pageCount)
MessageBox.Show("已经是最后一页,请点击“上一页”查看!");
dtInfo = sp.ExecuteDataTable("DZ_LoginLog", "Id", "Id desc", pageCurrent, pageSize);
if (e.ClickedItem.Text == "尾页")
pageCurrent++;
if (pageCurrent & pageCount)
MessageBox.Show("已经是尾页,请点击“上一页”查看!");
pageCurrent = pageC
dtInfo = sp.ExecuteDataTable("DZ_LoginLog", "Id", "Id desc", pageCount, pageSize);
LoadData();
&附 控件MgncPager.Designer.cs
namespace WORKALERT
partial class MgncPager
/// &summary&
/// 必需的设计器变量。
/// &/summary&
private ponentModel.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()
ponentResourceManager resources = new ponentResourceManager(typeof(MgncPager));
this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
this.lcStatus = new DevExpress.XtraEditors.LabelControl();
this.simpleButtonToPage = new DevExpress.XtraEditors.SimpleButton();
this.textEditToPage = new DevExpress.XtraEditors.TextEdit();
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
this.simpleButtonExportCurPage = new DevExpress.XtraEditors.SimpleButton();
this.simpleButtonExportAllPage = new DevExpress.XtraEditors.SimpleButton();
this.textEditAllPageCount = new DevExpress.XtraEditors.TextEdit();
this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
this.comboBoxEditPageSize = new boBoxEdit();
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
this.simpleButtonEnd = new DevExpress.XtraEditors.SimpleButton();
this.simpleButtonNext = new DevExpress.XtraEditors.SimpleButton();
this.textEditCurPage = new DevExpress.XtraEditors.TextEdit();
this.simpleButtonPre = new DevExpress.XtraEditors.SimpleButton();
this.simpleButtonFirst = new DevExpress.XtraEditors.SimpleButton();
((ponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
this.panelControl1.SuspendLayout();
((ponentModel.ISupportInitialize)(this.textEditToPage.Properties)).BeginInit();
((ponentModel.ISupportInitialize)(this.textEditAllPageCount.Properties)).BeginInit();
((ponentModel.ISupportInitialize)(this.comboBoxEditPageSize.Properties)).BeginInit();
((ponentModel.ISupportInitialize)(this.textEditCurPage.Properties)).BeginInit();
this.SuspendLayout();
// panelControl1
this.panelControl1.Appearance.BackColor = System.Drawing.Color.W
this.panelControl1.Appearance.Options.UseBackColor = true;
this.panelControl1.Controls.Add(this.lcStatus);
this.panelControl1.Controls.Add(this.simpleButtonToPage);
this.panelControl1.Controls.Add(this.textEditToPage);
this.panelControl1.Controls.Add(this.labelControl2);
this.panelControl1.Controls.Add(this.simpleButtonExportCurPage);
this.panelControl1.Controls.Add(this.simpleButtonExportAllPage);
this.panelControl1.Controls.Add(this.textEditAllPageCount);
this.panelControl1.Controls.Add(this.labelControl4);
this.panelControl1.Controls.Add(this.comboBoxEditPageSize);
this.panelControl1.Controls.Add(this.labelControl1);
this.panelControl1.Controls.Add(this.simpleButtonEnd);
this.panelControl1.Controls.Add(this.simpleButtonNext);
this.panelControl1.Controls.Add(this.textEditCurPage);
this.panelControl1.Controls.Add(this.simpleButtonPre);
this.panelControl1.Controls.Add(this.simpleButtonFirst);
this.panelControl1.Dock = System.Windows.Forms.DockStyle.F
this.panelControl1.Location = new System.Drawing.Point(<span style="color: #, <span style="color: #);
this.panelControl1.Margin = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.panelControl1.Name = "panelControl1";
this.panelControl1.Size = new System.Drawing.Size(<span style="color: #89, <span style="color: #);
this.panelControl1.TabIndex = <span style="color: #;
// lcStatus
this.lcStatus.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.N
this.lcStatus.Dock = System.Windows.Forms.DockStyle.F
this.lcStatus.Location = new System.Drawing.Point(<span style="color: #7, <span style="color: #);
this.lcStatus.Margin = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.lcStatus.Name = "lcStatus";
this.lcStatus.Padding = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.lcStatus.Size = new System.Drawing.Size(<span style="color: #0, <span style="color: #);
this.lcStatus.TabIndex = <span style="color: #;
this.lcStatus.Text = "(共XXX条记录,每页XX条,共XX页)";
// simpleButtonToPage
this.simpleButtonToPage.Dock = System.Windows.Forms.DockStyle.L
this.simpleButtonToPage.Location = new System.Drawing.Point(<span style="color: #4, <span style="color: #);
this.simpleButtonToPage.Margin = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.simpleButtonToPage.Name = "simpleButtonToPage";
this.simpleButtonToPage.Size = new System.Drawing.Size(<span style="color: #, <span style="color: #);
this.simpleButtonToPage.TabIndex = <span style="color: #;
this.simpleButtonToPage.Text = "跳转";
this.simpleButtonToPage.Click += new System.EventHandler(this.simpleButtonToPage_Click);
// textEditToPage
this.textEditToPage.Dock = System.Windows.Forms.DockStyle.L
this.textEditToPage.EditValue = "<span style="color: #";
this.textEditToPage.Location = new System.Drawing.Point(<span style="color: #4, <span style="color: #);
this.textEditToPage.Margin = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.textEditToPage.Name = "textEditToPage";
this.textEditToPage.Properties.Appearance.Options.UseTextOptions = true;
this.textEditToPage.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.C
this.textEditToPage.Properties.AutoHeight = false;
this.textEditToPage.Size = new System.Drawing.Size(<span style="color: #, <span style="color: #);
this.textEditToPage.TabIndex = <span style="color: #;
// labelControl2
this.labelControl2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.N
this.labelControl2.Dock = System.Windows.Forms.DockStyle.L
this.labelControl2.Location = new System.Drawing.Point(<span style="color: #1, <span style="color: #);
this.labelControl2.Margin = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.labelControl2.Name = "labelControl2";
this.labelControl2.Size = new System.Drawing.Size(<span style="color: #, <span style="color: #);
this.labelControl2.TabIndex = <span style="color: #;
this.labelControl2.Text = "当前页:";
// simpleButtonExportCurPage
this.simpleButtonExportCurPage.Dock = System.Windows.Forms.DockStyle.R
this.simpleButtonExportCurPage.Location = new System.Drawing.Point(<span style="color: #7, <span style="color: #);
this.simpleButtonExportCurPage.Margin = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.simpleButtonExportCurPage.Name = "simpleButtonExportCurPage";
this.simpleButtonExportCurPage.Size = new System.Drawing.Size(<span style="color: #0, <span style="color: #);
this.simpleButtonExportCurPage.TabIndex = <span style="color: #;
this.simpleButtonExportCurPage.Text = "导出当前页";
this.simpleButtonExportCurPage.Click += new System.EventHandler(this.simpleButtonExportCurPage_Click);
// simpleButtonExportAllPage
this.simpleButtonExportAllPage.Dock = System.Windows.Forms.DockStyle.R
this.simpleButtonExportAllPage.Location = new System.Drawing.Point(<span style="color: #7, <span style="color: #);
this.simpleButtonExportAllPage.Margin = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.simpleButtonExportAllPage.Name = "simpleButtonExportAllPage";
this.simpleButtonExportAllPage.Size = new System.Drawing.Size(<span style="color: #0, <span style="color: #);
this.simpleButtonExportAllPage.TabIndex = <span style="color: #;
this.simpleButtonExportAllPage.Text = "导出全部页";
this.simpleButtonExportAllPage.Click += new System.EventHandler(this.simpleButtonExportAllPage_Click);
// textEditAllPageCount
this.textEditAllPageCount.Dock = System.Windows.Forms.DockStyle.L
this.textEditAllPageCount.Location = new System.Drawing.Point(<span style="color: #2, <span style="color: #);
this.textEditAllPageCount.Margin = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.textEditAllPageCount.Name = "textEditAllPageCount";
this.textEditAllPageCount.Properties.Appearance.ForeColor = System.Drawing.Color.R
this.textEditAllPageCount.Properties.Appearance.Options.UseForeColor = true;
this.textEditAllPageCount.Properties.AutoHeight = false;
this.textEditAllPageCount.Properties.ReadOnly = true;
this.textEditAllPageCount.Size = new System.Drawing.Size(<span style="color: #, <span style="color: #);
this.textEditAllPageCount.TabIndex = <span style="color: #;
// labelControl4
this.labelControl4.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.N
this.labelControl4.Dock = System.Windows.Forms.DockStyle.L
this.labelControl4.Location = new System.Drawing.Point(<span style="color: #6, <span style="color: #);
this.labelControl4.Margin = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.labelControl4.Name = "labelControl4";
this.labelControl4.Size = new System.Drawing.Size(<span style="color: #, <span style="color: #);
this.labelControl4.TabIndex = <span style="color: #;
this.labelControl4.Text = "总页数:";
// comboBoxEditPageSize
this.comboBoxEditPageSize.Dock = System.Windows.Forms.DockStyle.L
this.comboBoxEditPageSize.EditValue = "<span style="color: #0";
this.comboBoxEditPageSize.Location = new System.Drawing.Point(<span style="color: #1, <span style="color: #);
this.comboBoxEditPageSize.Margin = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.comboBoxEditPageSize.Name = "comboBoxEditPageSize";
this.comboBoxEditPageSize.Properties.Appearance.Options.UseTextOptions = true;
this.comboBoxEditPageSize.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.C
this.comboBoxEditPageSize.Properties.AutoHeight = false;
this.comboBoxEditPageSize.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.bo)});
this.comboBoxEditPageSize.Properties.DisplayFormat.FormatString = "d";
this.comboBoxEditPageSize.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.N
this.comboBoxEditPageSize.Properties.EditFormat.FormatString = "d";
this.comboBoxEditPageSize.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.N
this.comboBoxEditPageSize.Properties.EditValueChangedDelay = <span style="color: #;
this.comboBoxEditPageSize.Properties.Items.AddRange(new object[] {
"<span style="color: #",
"<span style="color: #",
"<span style="color: #",
"<span style="color: #",
"<span style="color: #",
"<span style="color: #0"});
this.comboBoxEditPageSize.Size = new System.Drawing.Size(<span style="color: #, <span style="color: #);
this.comboBoxEditPageSize.TabIndex = <span style="color: #;
this.comboBoxEditPageSize.EditValueChanged += new System.EventHandler(this.comboBoxEditPageSize_EditValueChanged);
// labelControl1
this.labelControl1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.N
this.labelControl1.Dock = System.Windows.Forms.DockStyle.L
this.labelControl1.Location = new System.Drawing.Point(<span style="color: #1, <span style="color: #);
this.labelControl1.Margin = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.labelControl1.Name = "labelControl1";
this.labelControl1.Size = new System.Drawing.Size(<span style="color: #, <span style="color: #);
this.labelControl1.TabIndex = <span style="color: #;
this.labelControl1.Text = " 分页大小:";
// simpleButtonEnd
this.simpleButtonEnd.Appearance.Options.UseTextOptions = true;
this.simpleButtonEnd.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.C
this.simpleButtonEnd.Dock = System.Windows.Forms.DockStyle.L
this.simpleButtonEnd.Image = ((System.Drawing.Image)(resources.GetObject("simpleButtonEnd.Image")));
this.simpleButtonEnd.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleC
this.simpleButtonEnd.Location = new System.Drawing.Point(<span style="color: #2, <span style="color: #);
this.simpleButtonEnd.Margin = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.simpleButtonEnd.Name = "simpleButtonEnd";
this.simpleButtonEnd.Size = new System.Drawing.Size(<span style="color: #, <span style="color: #);
this.simpleButtonEnd.TabIndex = <span style="color: #;
this.simpleButtonEnd.Click += new System.EventHandler(this.simpleButtonEnd_Click);
// simpleButtonNext
this.simpleButtonNext.Appearance.Options.UseTextOptions = true;
this.simpleButtonNext.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.C
this.simpleButtonNext.Dock = System.Windows.Forms.DockStyle.L
this.simpleButtonNext.Image = ((System.Drawing.Image)(resources.GetObject("simpleButtonNext.Image")));
this.simpleButtonNext.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleC
this.simpleButtonNext.Location = new System.Drawing.Point(<span style="color: #3, <span style="color: #);
this.simpleButtonNext.Margin = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.simpleButtonNext.Name = "simpleButtonNext";
this.simpleButtonNext.Size = new System.Drawing.Size(<span style="color: #, <span style="color: #);
this.simpleButtonNext.TabIndex = <span style="color: #;
this.simpleButtonNext.Click += new System.EventHandler(this.simpleButtonNext_Click);
// textEditCurPage
this.textEditCurPage.Dock = System.Windows.Forms.DockStyle.L
this.textEditCurPage.EditValue = "<span style="color: #";
this.textEditCurPage.Location = new System.Drawing.Point(<span style="color: #, <span style="color: #);
this.textEditCurPage.Margin = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.textEditCurPage.Name = "textEditCurPage";
this.textEditCurPage.Properties.Appearance.Options.UseTextOptions = true;
this.textEditCurPage.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.C
this.textEditCurPage.Properties.AutoHeight = false;
this.textEditCurPage.Properties.ReadOnly = true;
this.textEditCurPage.Size = new System.Drawing.Size(<span style="color: #, <span style="color: #);
this.textEditCurPage.TabIndex = <span style="color: #;
// simpleButtonPre
this.simpleButtonPre.Appearance.Options.UseTextOptions = true;
this.simpleButtonPre.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.C
this.simpleButtonPre.Dock = System.Windows.Forms.DockStyle.L
this.simpleButtonPre.Image = ((System.Drawing.Image)(resources.GetObject("simpleButtonPre.Image")));
this.simpleButtonPre.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleC
this.simpleButtonPre.Location = new System.Drawing.Point(<span style="color: #, <span style="color: #);
this.simpleButtonPre.Margin = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.simpleButtonPre.Name = "simpleButtonPre";
this.simpleButtonPre.Size = new System.Drawing.Size(<span style="color: #, <span style="color: #);
this.simpleButtonPre.TabIndex = <span style="color: #;
this.simpleButtonPre.Click += new System.EventHandler(this.simpleButtonPre_Click);
// simpleButtonFirst
this.simpleButtonFirst.Appearance.Options.UseTextOptions = true;
this.simpleButtonFirst.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.C
this.simpleButtonFirst.Dock = System.Windows.Forms.DockStyle.L
this.simpleButtonFirst.Image = ((System.Drawing.Image)(resources.GetObject("simpleButtonFirst.Image")));
this.simpleButtonFirst.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleC
this.simpleButtonFirst.Location = new System.Drawing.Point(<span style="color: #, <span style="color: #);
this.simpleButtonFirst.Margin = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.simpleButtonFirst.Name = "simpleButtonFirst";
this.simpleButtonFirst.Size = new System.Drawing.Size(<span style="color: #, <span style="color: #);
this.simpleButtonFirst.TabIndex = <span style="color: #;
this.simpleButtonFirst.Click += new System.EventHandler(this.simpleButtonFirst_Click);
// MgncPager
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.F
this.Controls.Add(this.panelControl1);
this.Margin = new System.Windows.Forms.Padding(<span style="color: #, <span style="color: #, <span style="color: #, <span style="color: #);
this.Name = "MgncPager";
this.Size = new System.Drawing.Size(<span style="color: #89, <span style="color: #);
((ponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
this.panelControl1.ResumeLayout(false);
((ponentModel.ISupportInitialize)(this.textEditToPage.Properties)).EndInit();
((ponentModel.ISupportInitialize)(this.textEditAllPageCount.Properties)).EndInit();
((ponentModel.ISupportInitialize)(this.comboBoxEditPageSize.Properties)).EndInit();
((ponentModel.ISupportInitialize)(this.textEditCurPage.Properties)).EndInit();
this.ResumeLayout(false);
#endregion
private DevExpress.XtraEditors.PanelControl panelControl1;
private DevExpress.XtraEditors.TextEdit textEditCurP
private DevExpress.XtraEditors.SimpleButton simpleButtonExportAllP
private DevExpress.XtraEditors.SimpleButton simpleButtonExportCurP
private DevExpress.XtraEditors.SimpleButton simpleButtonE
private DevExpress.XtraEditors.SimpleButton simpleButtonN
private DevExpress.XtraEditors.SimpleButton simpleButtonP
private DevExpress.XtraEditors.SimpleButton simpleButtonF
private DevExpress.XtraEditors.LabelControl labelControl1;
private boBoxEdit comboBoxEditPageS
private DevExpress.XtraEditors.TextEdit textEditToP
private DevExpress.XtraEditors.LabelControl labelControl2;
private DevExpress.XtraEditors.LabelControl lcS
private DevExpress.XtraEditors.SimpleButton simpleButtonToP
private DevExpress.XtraEditors.TextEdit textEditAllPageC
private DevExpress.XtraEditors.LabelControl labelControl4;
不爱动弹自己整理就从这个地址下1分:http://download.csdn.net/detail/flyman105/9906644
阅读(...) 评论()}

我要回帖

更多关于 庞氏骗局是什么意思 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信