|
@@ -36,15 +36,15 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.txtStartTime = new DevExpress.XtraEditors.DateEdit();
|
|
|
this.txtEndTime = new DevExpress.XtraEditors.DateEdit();
|
|
|
this.btnSearch = new DevExpress.XtraEditors.SimpleButton();
|
|
|
+ this.txtTask = new DevExpress.XtraEditors.SearchLookUpEdit();
|
|
|
+ this.searchLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
|
|
|
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.layoutControlItemStartTime = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
+ this.layoutControlItemEndTime = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
|
|
|
- this.txtTask = new DevExpress.XtraEditors.SearchLookUpEdit();
|
|
|
- this.searchLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
|
|
|
this.layoutControl1.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gridCg)).BeginInit();
|
|
@@ -54,15 +54,15 @@ namespace XdCxRhDW.App.UserControl
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtStartTime.Properties.CalendarTimeProperties)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtEndTime.Properties)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtEndTime.Properties.CalendarTimeProperties)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtTask.Properties)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).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.layoutControlItemStartTime)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemEndTime)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtTask.Properties)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// layoutControl1
|
|
@@ -110,9 +110,10 @@ namespace XdCxRhDW.App.UserControl
|
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("最近1天", 24, -1),
|
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("最近3天", 72, -1),
|
|
|
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("自定义", 0, -1)});
|
|
|
- this.txtTimeCho.Size = new System.Drawing.Size(99, 22);
|
|
|
+ this.txtTimeCho.Size = new System.Drawing.Size(99, 20);
|
|
|
this.txtTimeCho.StyleController = this.layoutControl1;
|
|
|
this.txtTimeCho.TabIndex = 11;
|
|
|
+ this.txtTimeCho.SelectedIndexChanged += new System.EventHandler(this.txtTimeCho_SelectedIndexChanged);
|
|
|
//
|
|
|
// txtStartTime
|
|
|
//
|
|
@@ -123,7 +124,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
this.txtStartTime.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
- this.txtStartTime.Size = new System.Drawing.Size(149, 22);
|
|
|
+ this.txtStartTime.Size = new System.Drawing.Size(149, 20);
|
|
|
this.txtStartTime.StyleController = this.layoutControl1;
|
|
|
this.txtStartTime.TabIndex = 7;
|
|
|
//
|
|
@@ -136,7 +137,7 @@ namespace XdCxRhDW.App.UserControl
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
this.txtEndTime.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
- this.txtEndTime.Size = new System.Drawing.Size(149, 22);
|
|
|
+ this.txtEndTime.Size = new System.Drawing.Size(149, 20);
|
|
|
this.txtEndTime.StyleController = this.layoutControl1;
|
|
|
this.txtEndTime.TabIndex = 8;
|
|
|
//
|
|
@@ -149,6 +150,27 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.btnSearch.TabIndex = 9;
|
|
|
this.btnSearch.Text = "查询";
|
|
|
//
|
|
|
+ // txtTask
|
|
|
+ //
|
|
|
+ this.txtTask.EditValue = 1;
|
|
|
+ this.txtTask.Location = new System.Drawing.Point(35, 4);
|
|
|
+ this.txtTask.Name = "txtTask";
|
|
|
+ this.txtTask.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
+ this.txtTask.Properties.NullText = "";
|
|
|
+ this.txtTask.Properties.PopupSizeable = false;
|
|
|
+ this.txtTask.Properties.PopupView = this.searchLookUpEdit1View;
|
|
|
+ this.txtTask.Size = new System.Drawing.Size(213, 20);
|
|
|
+ this.txtTask.StyleController = this.layoutControl1;
|
|
|
+ this.txtTask.TabIndex = 11;
|
|
|
+ //
|
|
|
+ // searchLookUpEdit1View
|
|
|
+ //
|
|
|
+ this.searchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
|
|
|
+ this.searchLookUpEdit1View.Name = "searchLookUpEdit1View";
|
|
|
+ this.searchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
|
|
|
+ this.searchLookUpEdit1View.OptionsView.ShowGroupPanel = false;
|
|
|
+ //
|
|
|
// layoutControlGroup1
|
|
|
//
|
|
|
this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
|
|
@@ -156,8 +178,8 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
|
|
this.layoutControlItem2,
|
|
|
this.layoutControlItem3,
|
|
|
- this.layoutControlItem4,
|
|
|
- this.layoutControlItem5,
|
|
|
+ this.layoutControlItemStartTime,
|
|
|
+ this.layoutControlItemEndTime,
|
|
|
this.layoutControlItem6,
|
|
|
this.layoutControlItem1});
|
|
|
this.layoutControlGroup1.Name = "Root";
|
|
@@ -191,41 +213,41 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.layoutControlItem3.TextSize = new System.Drawing.Size(48, 14);
|
|
|
this.layoutControlItem3.TextToControlDistance = 5;
|
|
|
//
|
|
|
- // layoutControlItem4
|
|
|
- //
|
|
|
- this.layoutControlItem4.Control = this.txtStartTime;
|
|
|
- this.layoutControlItem4.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
|
|
|
- this.layoutControlItem4.CustomizationFormText = "开始时间";
|
|
|
- this.layoutControlItem4.Location = new System.Drawing.Point(410, 0);
|
|
|
- this.layoutControlItem4.MaxSize = new System.Drawing.Size(210, 28);
|
|
|
- this.layoutControlItem4.MinSize = new System.Drawing.Size(210, 28);
|
|
|
- this.layoutControlItem4.Name = "layoutControlItem4";
|
|
|
- this.layoutControlItem4.Size = new System.Drawing.Size(210, 28);
|
|
|
- this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
|
|
- this.layoutControlItem4.Spacing = new DevExpress.XtraLayout.Utils.Padding(4, 0, 2, 0);
|
|
|
- this.layoutControlItem4.Text = "开始时间";
|
|
|
- this.layoutControlItem4.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
|
|
|
- this.layoutControlItem4.TextSize = new System.Drawing.Size(48, 14);
|
|
|
- this.layoutControlItem4.TextToControlDistance = 5;
|
|
|
- this.layoutControlItem4.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
|
|
|
- //
|
|
|
- // layoutControlItem5
|
|
|
- //
|
|
|
- this.layoutControlItem5.Control = this.txtEndTime;
|
|
|
- this.layoutControlItem5.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
|
|
|
- this.layoutControlItem5.CustomizationFormText = "结束时间";
|
|
|
- this.layoutControlItem5.Location = new System.Drawing.Point(620, 0);
|
|
|
- this.layoutControlItem5.MaxSize = new System.Drawing.Size(210, 28);
|
|
|
- this.layoutControlItem5.MinSize = new System.Drawing.Size(210, 28);
|
|
|
- this.layoutControlItem5.Name = "layoutControlItem5";
|
|
|
- this.layoutControlItem5.Size = new System.Drawing.Size(210, 28);
|
|
|
- this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
|
|
- this.layoutControlItem5.Spacing = new DevExpress.XtraLayout.Utils.Padding(4, 0, 2, 0);
|
|
|
- this.layoutControlItem5.Text = "结束时间";
|
|
|
- this.layoutControlItem5.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
|
|
|
- this.layoutControlItem5.TextSize = new System.Drawing.Size(48, 14);
|
|
|
- this.layoutControlItem5.TextToControlDistance = 5;
|
|
|
- this.layoutControlItem5.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
|
|
|
+ // layoutControlItemStartTime
|
|
|
+ //
|
|
|
+ this.layoutControlItemStartTime.Control = this.txtStartTime;
|
|
|
+ this.layoutControlItemStartTime.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
|
|
|
+ this.layoutControlItemStartTime.CustomizationFormText = "开始时间";
|
|
|
+ this.layoutControlItemStartTime.Location = new System.Drawing.Point(410, 0);
|
|
|
+ this.layoutControlItemStartTime.MaxSize = new System.Drawing.Size(210, 28);
|
|
|
+ this.layoutControlItemStartTime.MinSize = new System.Drawing.Size(210, 28);
|
|
|
+ this.layoutControlItemStartTime.Name = "layoutControlItemStartTime";
|
|
|
+ this.layoutControlItemStartTime.Size = new System.Drawing.Size(210, 28);
|
|
|
+ this.layoutControlItemStartTime.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
|
|
+ this.layoutControlItemStartTime.Spacing = new DevExpress.XtraLayout.Utils.Padding(4, 0, 2, 0);
|
|
|
+ this.layoutControlItemStartTime.Text = "开始时间";
|
|
|
+ this.layoutControlItemStartTime.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
|
|
|
+ this.layoutControlItemStartTime.TextSize = new System.Drawing.Size(48, 14);
|
|
|
+ this.layoutControlItemStartTime.TextToControlDistance = 5;
|
|
|
+ this.layoutControlItemStartTime.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
|
|
|
+ //
|
|
|
+ // layoutControlItemEndTime
|
|
|
+ //
|
|
|
+ this.layoutControlItemEndTime.Control = this.txtEndTime;
|
|
|
+ this.layoutControlItemEndTime.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
|
|
|
+ this.layoutControlItemEndTime.CustomizationFormText = "结束时间";
|
|
|
+ this.layoutControlItemEndTime.Location = new System.Drawing.Point(620, 0);
|
|
|
+ this.layoutControlItemEndTime.MaxSize = new System.Drawing.Size(210, 28);
|
|
|
+ this.layoutControlItemEndTime.MinSize = new System.Drawing.Size(210, 28);
|
|
|
+ this.layoutControlItemEndTime.Name = "layoutControlItemEndTime";
|
|
|
+ this.layoutControlItemEndTime.Size = new System.Drawing.Size(210, 28);
|
|
|
+ this.layoutControlItemEndTime.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
|
|
|
+ this.layoutControlItemEndTime.Spacing = new DevExpress.XtraLayout.Utils.Padding(4, 0, 2, 0);
|
|
|
+ this.layoutControlItemEndTime.Text = "结束时间";
|
|
|
+ this.layoutControlItemEndTime.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
|
|
|
+ this.layoutControlItemEndTime.TextSize = new System.Drawing.Size(48, 14);
|
|
|
+ this.layoutControlItemEndTime.TextToControlDistance = 5;
|
|
|
+ this.layoutControlItemEndTime.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
|
|
|
//
|
|
|
// layoutControlItem6
|
|
|
//
|
|
@@ -260,27 +282,6 @@ namespace XdCxRhDW.App.UserControl
|
|
|
this.layoutControlItem1.TextSize = new System.Drawing.Size(24, 14);
|
|
|
this.layoutControlItem1.TextToControlDistance = 5;
|
|
|
//
|
|
|
- // txtTask
|
|
|
- //
|
|
|
- this.txtTask.EditValue = 1;
|
|
|
- this.txtTask.Location = new System.Drawing.Point(35, 4);
|
|
|
- this.txtTask.Name = "txtTask";
|
|
|
- this.txtTask.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
- new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
- this.txtTask.Properties.NullText = "";
|
|
|
- this.txtTask.Properties.PopupSizeable = false;
|
|
|
- this.txtTask.Properties.PopupView = this.searchLookUpEdit1View;
|
|
|
- this.txtTask.Size = new System.Drawing.Size(213, 22);
|
|
|
- this.txtTask.StyleController = this.layoutControl1;
|
|
|
- this.txtTask.TabIndex = 11;
|
|
|
- //
|
|
|
- // searchLookUpEdit1View
|
|
|
- //
|
|
|
- this.searchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
|
|
|
- this.searchLookUpEdit1View.Name = "searchLookUpEdit1View";
|
|
|
- this.searchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
|
|
|
- this.searchLookUpEdit1View.OptionsView.ShowGroupPanel = false;
|
|
|
- //
|
|
|
// CtrlCgRes
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
@@ -298,15 +299,15 @@ namespace XdCxRhDW.App.UserControl
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtStartTime.Properties)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtEndTime.Properties.CalendarTimeProperties)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtEndTime.Properties)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.txtTask.Properties)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).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.layoutControlItemStartTime)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemEndTime)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtTask.Properties)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
}
|
|
@@ -320,8 +321,8 @@ namespace XdCxRhDW.App.UserControl
|
|
|
private DevExpress.XtraEditors.ImageComboBoxEdit txtTimeCho;
|
|
|
private DevExpress.XtraEditors.DateEdit txtStartTime;
|
|
|
private DevExpress.XtraEditors.DateEdit txtEndTime;
|
|
|
- private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
|
|
|
- private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
|
|
|
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItemStartTime;
|
|
|
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItemEndTime;
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
|
|
|
private DevExpress.XtraEditors.SimpleButton btnSearch;
|
|
|
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
|