|
@@ -30,42 +30,105 @@
|
|
|
{
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CtrlXl));
|
|
|
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
|
|
|
+ this.btnGo = new DevExpress.XtraEditors.SimpleButton();
|
|
|
+ this.txtGoPage = new DevExpress.XtraEditors.TextEdit();
|
|
|
+ this.dataNavigator1 = new DevExpress.XtraEditors.DataNavigator();
|
|
|
this.ucCtrlPage = new XdCxRhDW.App.UserControl.UcCtrlPage();
|
|
|
this.btnImp = new DevExpress.XtraEditors.SimpleButton();
|
|
|
this.gridXl = new DevExpress.XtraGrid.GridControl();
|
|
|
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
this.btnOpen = new DevExpress.XtraEditors.ButtonEdit();
|
|
|
+ this.txtCountPerPage = new DevExpress.XtraEditors.ComboBoxEdit();
|
|
|
this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
|
|
|
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
+ this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
+ this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
+ this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
+ this.simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem();
|
|
|
+ this.simpleLabelItem2 = new DevExpress.XtraLayout.SimpleLabelItem();
|
|
|
+ this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
+ this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
|
|
|
this.layoutControl1.SuspendLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtGoPage.Properties)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gridXl)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.btnOpen.Properties)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtCountPerPage.Properties)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem1)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem2)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// layoutControl1
|
|
|
//
|
|
|
+ this.layoutControl1.Controls.Add(this.btnGo);
|
|
|
+ this.layoutControl1.Controls.Add(this.txtGoPage);
|
|
|
+ this.layoutControl1.Controls.Add(this.dataNavigator1);
|
|
|
this.layoutControl1.Controls.Add(this.ucCtrlPage);
|
|
|
this.layoutControl1.Controls.Add(this.btnImp);
|
|
|
this.layoutControl1.Controls.Add(this.gridXl);
|
|
|
this.layoutControl1.Controls.Add(this.btnOpen);
|
|
|
+ this.layoutControl1.Controls.Add(this.txtCountPerPage);
|
|
|
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
this.layoutControl1.Location = new System.Drawing.Point(0, 0);
|
|
|
this.layoutControl1.Name = "layoutControl1";
|
|
|
+ this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(1044, 185, 650, 400);
|
|
|
this.layoutControl1.Root = this.Root;
|
|
|
this.layoutControl1.Size = new System.Drawing.Size(647, 473);
|
|
|
this.layoutControl1.TabIndex = 0;
|
|
|
this.layoutControl1.Text = "layoutControl1";
|
|
|
//
|
|
|
+ // btnGo
|
|
|
+ //
|
|
|
+ this.btnGo.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButton1.ImageOptions.SvgImage")));
|
|
|
+ this.btnGo.ImageOptions.SvgImageSize = new System.Drawing.Size(16, 16);
|
|
|
+ this.btnGo.Location = new System.Drawing.Point(615, 403);
|
|
|
+ this.btnGo.Name = "btnGo";
|
|
|
+ this.btnGo.Size = new System.Drawing.Size(20, 20);
|
|
|
+ this.btnGo.StyleController = this.layoutControl1;
|
|
|
+ this.btnGo.TabIndex = 11;
|
|
|
+ this.btnGo.ToolTip = "跳转";
|
|
|
+ //
|
|
|
+ // txtGoPage
|
|
|
+ //
|
|
|
+ this.txtGoPage.Location = new System.Drawing.Point(535, 403);
|
|
|
+ this.txtGoPage.Name = "txtGoPage";
|
|
|
+ this.txtGoPage.Properties.AutoHeight = false;
|
|
|
+ this.txtGoPage.Size = new System.Drawing.Size(76, 20);
|
|
|
+ this.txtGoPage.StyleController = this.layoutControl1;
|
|
|
+ this.txtGoPage.TabIndex = 9;
|
|
|
+ //
|
|
|
+ // dataNavigator1
|
|
|
+ //
|
|
|
+ this.dataNavigator1.Buttons.Append.Visible = false;
|
|
|
+ this.dataNavigator1.Buttons.CancelEdit.Visible = false;
|
|
|
+ this.dataNavigator1.Buttons.EndEdit.Visible = false;
|
|
|
+ this.dataNavigator1.Buttons.Next.Visible = false;
|
|
|
+ this.dataNavigator1.Buttons.Prev.Visible = false;
|
|
|
+ this.dataNavigator1.Buttons.Remove.Visible = false;
|
|
|
+ this.dataNavigator1.Location = new System.Drawing.Point(160, 403);
|
|
|
+ this.dataNavigator1.Name = "dataNavigator1";
|
|
|
+ this.dataNavigator1.Size = new System.Drawing.Size(152, 21);
|
|
|
+ this.dataNavigator1.StyleController = this.layoutControl1;
|
|
|
+ this.dataNavigator1.TabIndex = 8;
|
|
|
+ this.dataNavigator1.Text = "dataNavigator1";
|
|
|
+ this.dataNavigator1.TextLocation = DevExpress.XtraEditors.NavigatorButtonsTextLocation.Center;
|
|
|
+ this.dataNavigator1.TextStringFormat = "第{0}页/共{1}页";
|
|
|
+ this.dataNavigator1.ButtonClick += new DevExpress.XtraEditors.NavigatorButtonClickEventHandler(this.dataNavigator1_ButtonClick);
|
|
|
+ //
|
|
|
// ucCtrlPage
|
|
|
//
|
|
|
this.ucCtrlPage.CurrentPage = 0;
|
|
@@ -90,10 +153,19 @@
|
|
|
//
|
|
|
// gridXl
|
|
|
//
|
|
|
+ this.gridXl.EmbeddedNavigator.Buttons.Append.Visible = false;
|
|
|
+ this.gridXl.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
|
|
|
+ this.gridXl.EmbeddedNavigator.Buttons.Edit.Visible = false;
|
|
|
+ this.gridXl.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
|
|
|
+ this.gridXl.EmbeddedNavigator.Buttons.Next.Visible = false;
|
|
|
+ this.gridXl.EmbeddedNavigator.Buttons.Prev.Visible = false;
|
|
|
+ this.gridXl.EmbeddedNavigator.Buttons.Remove.Visible = false;
|
|
|
+ this.gridXl.EmbeddedNavigator.TextLocation = DevExpress.XtraEditors.NavigatorButtonsTextLocation.Begin;
|
|
|
+ this.gridXl.EmbeddedNavigator.TextStringFormat = "第{0}页/共{1}页";
|
|
|
this.gridXl.Location = new System.Drawing.Point(10, 38);
|
|
|
this.gridXl.MainView = this.gridView1;
|
|
|
this.gridXl.Name = "gridXl";
|
|
|
- this.gridXl.Size = new System.Drawing.Size(627, 388);
|
|
|
+ this.gridXl.Size = new System.Drawing.Size(627, 363);
|
|
|
this.gridXl.TabIndex = 5;
|
|
|
this.gridXl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
this.gridView1});
|
|
@@ -114,6 +186,25 @@
|
|
|
this.btnOpen.StyleController = this.layoutControl1;
|
|
|
this.btnOpen.TabIndex = 4;
|
|
|
//
|
|
|
+ // txtCountPerPage
|
|
|
+ //
|
|
|
+ this.txtCountPerPage.EditValue = "5000";
|
|
|
+ this.txtCountPerPage.Location = new System.Drawing.Point(42, 403);
|
|
|
+ this.txtCountPerPage.Name = "txtCountPerPage";
|
|
|
+ this.txtCountPerPage.Properties.AutoHeight = false;
|
|
|
+ this.txtCountPerPage.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
+ this.txtCountPerPage.Properties.Items.AddRange(new object[] {
|
|
|
+ "100",
|
|
|
+ "500",
|
|
|
+ "1000",
|
|
|
+ "2000",
|
|
|
+ "5000",
|
|
|
+ "10000"});
|
|
|
+ this.txtCountPerPage.Size = new System.Drawing.Size(76, 21);
|
|
|
+ this.txtCountPerPage.StyleController = this.layoutControl1;
|
|
|
+ this.txtCountPerPage.TabIndex = 10;
|
|
|
+ //
|
|
|
// Root
|
|
|
//
|
|
|
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
|
|
@@ -122,7 +213,14 @@
|
|
|
this.layoutControlItem1,
|
|
|
this.layoutControlItem2,
|
|
|
this.layoutControlItem3,
|
|
|
- this.layoutControlItem4});
|
|
|
+ this.layoutControlItem4,
|
|
|
+ this.layoutControlItem5,
|
|
|
+ this.layoutControlItem6,
|
|
|
+ this.layoutControlItem7,
|
|
|
+ this.simpleLabelItem1,
|
|
|
+ this.simpleLabelItem2,
|
|
|
+ this.layoutControlItem8,
|
|
|
+ this.emptySpaceItem1});
|
|
|
this.Root.Name = "Root";
|
|
|
this.Root.Size = new System.Drawing.Size(647, 473);
|
|
|
this.Root.TextVisible = false;
|
|
@@ -145,7 +243,7 @@
|
|
|
this.layoutControlItem2.Location = new System.Drawing.Point(0, 28);
|
|
|
this.layoutControlItem2.Name = "layoutControlItem2";
|
|
|
this.layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
|
|
|
- this.layoutControlItem2.Size = new System.Drawing.Size(627, 388);
|
|
|
+ this.layoutControlItem2.Size = new System.Drawing.Size(627, 363);
|
|
|
this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
|
|
|
this.layoutControlItem2.TextVisible = false;
|
|
|
//
|
|
@@ -173,6 +271,87 @@
|
|
|
this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0);
|
|
|
this.layoutControlItem4.TextVisible = false;
|
|
|
//
|
|
|
+ // layoutControlItem5
|
|
|
+ //
|
|
|
+ this.layoutControlItem5.Control = this.dataNavigator1;
|
|
|
+ this.layoutControlItem5.Location = new System.Drawing.Point(148, 391);
|
|
|
+ this.layoutControlItem5.MaxSize = new System.Drawing.Size(156, 25);
|
|
|
+ this.layoutControlItem5.MinSize = new System.Drawing.Size(156, 25);
|
|
|
+ this.layoutControlItem5.Name = "layoutControlItem5";
|
|
|
+ this.layoutControlItem5.Size = new System.Drawing.Size(156, 25);
|
|
|
+ this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
|
|
+ this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
|
|
|
+ this.layoutControlItem5.TextVisible = false;
|
|
|
+ //
|
|
|
+ // layoutControlItem6
|
|
|
+ //
|
|
|
+ this.layoutControlItem6.Control = this.txtGoPage;
|
|
|
+ this.layoutControlItem6.Location = new System.Drawing.Point(523, 391);
|
|
|
+ this.layoutControlItem6.MaxSize = new System.Drawing.Size(80, 24);
|
|
|
+ this.layoutControlItem6.MinSize = new System.Drawing.Size(80, 24);
|
|
|
+ this.layoutControlItem6.Name = "layoutControlItem6";
|
|
|
+ this.layoutControlItem6.Size = new System.Drawing.Size(80, 25);
|
|
|
+ this.layoutControlItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
|
|
+ this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0);
|
|
|
+ this.layoutControlItem6.TextVisible = false;
|
|
|
+ //
|
|
|
+ // layoutControlItem7
|
|
|
+ //
|
|
|
+ this.layoutControlItem7.Control = this.txtCountPerPage;
|
|
|
+ this.layoutControlItem7.Location = new System.Drawing.Point(30, 391);
|
|
|
+ this.layoutControlItem7.MaxSize = new System.Drawing.Size(80, 25);
|
|
|
+ this.layoutControlItem7.MinSize = new System.Drawing.Size(80, 25);
|
|
|
+ this.layoutControlItem7.Name = "layoutControlItem7";
|
|
|
+ this.layoutControlItem7.Size = new System.Drawing.Size(80, 25);
|
|
|
+ this.layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
|
|
+ this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0);
|
|
|
+ this.layoutControlItem7.TextVisible = false;
|
|
|
+ //
|
|
|
+ // simpleLabelItem1
|
|
|
+ //
|
|
|
+ this.simpleLabelItem1.AllowHotTrack = false;
|
|
|
+ this.simpleLabelItem1.Location = new System.Drawing.Point(0, 391);
|
|
|
+ this.simpleLabelItem1.MaxSize = new System.Drawing.Size(30, 25);
|
|
|
+ this.simpleLabelItem1.MinSize = new System.Drawing.Size(30, 25);
|
|
|
+ this.simpleLabelItem1.Name = "simpleLabelItem1";
|
|
|
+ this.simpleLabelItem1.Size = new System.Drawing.Size(30, 25);
|
|
|
+ this.simpleLabelItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
|
|
+ this.simpleLabelItem1.Text = "每页";
|
|
|
+ this.simpleLabelItem1.TextSize = new System.Drawing.Size(52, 14);
|
|
|
+ //
|
|
|
+ // simpleLabelItem2
|
|
|
+ //
|
|
|
+ this.simpleLabelItem2.AllowHotTrack = false;
|
|
|
+ this.simpleLabelItem2.Location = new System.Drawing.Point(110, 391);
|
|
|
+ this.simpleLabelItem2.MaxSize = new System.Drawing.Size(38, 25);
|
|
|
+ this.simpleLabelItem2.MinSize = new System.Drawing.Size(38, 25);
|
|
|
+ this.simpleLabelItem2.Name = "simpleLabelItem2";
|
|
|
+ this.simpleLabelItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 20, 2, 2);
|
|
|
+ this.simpleLabelItem2.Size = new System.Drawing.Size(38, 25);
|
|
|
+ this.simpleLabelItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
|
|
+ this.simpleLabelItem2.Text = "条";
|
|
|
+ this.simpleLabelItem2.TextSize = new System.Drawing.Size(52, 14);
|
|
|
+ //
|
|
|
+ // layoutControlItem8
|
|
|
+ //
|
|
|
+ this.layoutControlItem8.Control = this.btnGo;
|
|
|
+ this.layoutControlItem8.Location = new System.Drawing.Point(603, 391);
|
|
|
+ this.layoutControlItem8.MaxSize = new System.Drawing.Size(24, 24);
|
|
|
+ this.layoutControlItem8.MinSize = new System.Drawing.Size(24, 24);
|
|
|
+ this.layoutControlItem8.Name = "layoutControlItem8";
|
|
|
+ this.layoutControlItem8.Size = new System.Drawing.Size(24, 25);
|
|
|
+ this.layoutControlItem8.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
|
|
+ this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0);
|
|
|
+ this.layoutControlItem8.TextVisible = false;
|
|
|
+ //
|
|
|
+ // emptySpaceItem1
|
|
|
+ //
|
|
|
+ this.emptySpaceItem1.AllowHotTrack = false;
|
|
|
+ this.emptySpaceItem1.Location = new System.Drawing.Point(304, 391);
|
|
|
+ this.emptySpaceItem1.Name = "emptySpaceItem1";
|
|
|
+ this.emptySpaceItem1.Size = new System.Drawing.Size(219, 25);
|
|
|
+ this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
|
|
|
+ //
|
|
|
// CtrlXl
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
@@ -183,14 +362,23 @@
|
|
|
this.Load += new System.EventHandler(this.CtrlXl_Load);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
|
|
|
this.layoutControl1.ResumeLayout(false);
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtGoPage.Properties)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gridXl)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.btnOpen.Properties)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtCountPerPage.Properties)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem1)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem2)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
}
|
|
@@ -208,5 +396,16 @@
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
|
|
|
private UcCtrlPage ucCtrlPage;
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
|
|
|
+ private DevExpress.XtraEditors.TextEdit txtGoPage;
|
|
|
+ private DevExpress.XtraEditors.DataNavigator dataNavigator1;
|
|
|
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
|
|
|
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
|
|
|
+ private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1;
|
|
|
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7;
|
|
|
+ private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem1;
|
|
|
+ private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem2;
|
|
|
+ private DevExpress.XtraEditors.SimpleButton btnGo;
|
|
|
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8;
|
|
|
+ private DevExpress.XtraEditors.ComboBoxEdit txtCountPerPage;
|
|
|
}
|
|
|
}
|