|
@@ -28,114 +28,111 @@
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
- this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
|
|
|
- this.gridLog = new DevExpress.XtraGrid.GridControl();
|
|
|
- this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
- this.txtLogModules = new DevExpress.XtraEditors.ImageComboBoxEdit();
|
|
|
- this.txtStart = new DevExpress.XtraEditors.DateEdit();
|
|
|
- this.txtEnd = new DevExpress.XtraEditors.DateEdit();
|
|
|
- this.btnQuery = new DevExpress.XtraEditors.SimpleButton();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
|
|
|
- this.panelControl1.SuspendLayout();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.gridLog)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtLogModules.Properties)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtStart.Properties)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtStart.Properties.CalendarTimeProperties)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtEnd.Properties)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtEnd.Properties.CalendarTimeProperties)).BeginInit();
|
|
|
- this.SuspendLayout();
|
|
|
+ panelControl1 = new DevExpress.XtraEditors.PanelControl();
|
|
|
+ btnQuery = new DevExpress.XtraEditors.SimpleButton();
|
|
|
+ txtEnd = new DevExpress.XtraEditors.DateEdit();
|
|
|
+ txtStart = new DevExpress.XtraEditors.DateEdit();
|
|
|
+ txtLogModules = new DevExpress.XtraEditors.ImageComboBoxEdit();
|
|
|
+ gridLog = new DevExpress.XtraGrid.GridControl();
|
|
|
+ gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)panelControl1).BeginInit();
|
|
|
+ panelControl1.SuspendLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)txtEnd.Properties).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)txtEnd.Properties.CalendarTimeProperties).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)txtStart.Properties).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)txtStart.Properties.CalendarTimeProperties).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)txtLogModules.Properties).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)gridLog).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit();
|
|
|
+ SuspendLayout();
|
|
|
//
|
|
|
// panelControl1
|
|
|
//
|
|
|
- this.panelControl1.Controls.Add(this.btnQuery);
|
|
|
- this.panelControl1.Controls.Add(this.txtEnd);
|
|
|
- this.panelControl1.Controls.Add(this.txtStart);
|
|
|
- this.panelControl1.Controls.Add(this.txtLogModules);
|
|
|
- this.panelControl1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
- this.panelControl1.Location = new System.Drawing.Point(0, 0);
|
|
|
- this.panelControl1.Name = "panelControl1";
|
|
|
- this.panelControl1.Size = new System.Drawing.Size(805, 31);
|
|
|
- this.panelControl1.TabIndex = 2;
|
|
|
+ panelControl1.Controls.Add(btnQuery);
|
|
|
+ panelControl1.Controls.Add(txtEnd);
|
|
|
+ panelControl1.Controls.Add(txtStart);
|
|
|
+ panelControl1.Controls.Add(txtLogModules);
|
|
|
+ panelControl1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
+ panelControl1.Location = new System.Drawing.Point(0, 0);
|
|
|
+ panelControl1.Name = "panelControl1";
|
|
|
+ panelControl1.Size = new System.Drawing.Size(805, 31);
|
|
|
+ panelControl1.TabIndex = 2;
|
|
|
//
|
|
|
- // gridLog
|
|
|
+ // btnQuery
|
|
|
//
|
|
|
- this.gridLog.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
- this.gridLog.Location = new System.Drawing.Point(0, 31);
|
|
|
- this.gridLog.MainView = this.gridView1;
|
|
|
- this.gridLog.Name = "gridLog";
|
|
|
- this.gridLog.Size = new System.Drawing.Size(805, 459);
|
|
|
- this.gridLog.TabIndex = 3;
|
|
|
- this.gridLog.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
- this.gridView1});
|
|
|
+ btnQuery.Location = new System.Drawing.Point(642, 4);
|
|
|
+ btnQuery.Name = "btnQuery";
|
|
|
+ btnQuery.Size = new System.Drawing.Size(75, 23);
|
|
|
+ btnQuery.TabIndex = 2;
|
|
|
+ btnQuery.Text = "查询";
|
|
|
+ btnQuery.Click += btnQuery_Click;
|
|
|
//
|
|
|
- // gridView1
|
|
|
+ // txtEnd
|
|
|
//
|
|
|
- this.gridView1.GridControl = this.gridLog;
|
|
|
- this.gridView1.Name = "gridView1";
|
|
|
+ txtEnd.EditValue = null;
|
|
|
+ txtEnd.Location = new System.Drawing.Point(420, 5);
|
|
|
+ txtEnd.Name = "txtEnd";
|
|
|
+ txtEnd.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) });
|
|
|
+ txtEnd.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) });
|
|
|
+ txtEnd.Properties.NullText = "结束时间";
|
|
|
+ txtEnd.Properties.NullValuePrompt = "所示";
|
|
|
+ txtEnd.Size = new System.Drawing.Size(216, 20);
|
|
|
+ txtEnd.TabIndex = 1;
|
|
|
+ txtEnd.ToolTip = "dd";
|
|
|
//
|
|
|
- // txtLogModules
|
|
|
+ // txtStart
|
|
|
//
|
|
|
- this.txtLogModules.Location = new System.Drawing.Point(5, 5);
|
|
|
- this.txtLogModules.Name = "txtLogModules";
|
|
|
- this.txtLogModules.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
- new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
- this.txtLogModules.Size = new System.Drawing.Size(187, 20);
|
|
|
- this.txtLogModules.TabIndex = 0;
|
|
|
+ txtStart.EditValue = null;
|
|
|
+ txtStart.Location = new System.Drawing.Point(198, 5);
|
|
|
+ txtStart.Name = "txtStart";
|
|
|
+ txtStart.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) });
|
|
|
+ txtStart.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) });
|
|
|
+ txtStart.Properties.NullText = "开始时间";
|
|
|
+ txtStart.Size = new System.Drawing.Size(216, 20);
|
|
|
+ txtStart.TabIndex = 1;
|
|
|
//
|
|
|
- // txtStart
|
|
|
+ // txtLogModules
|
|
|
//
|
|
|
- this.txtStart.EditValue = null;
|
|
|
- this.txtStart.Location = new System.Drawing.Point(198, 5);
|
|
|
- this.txtStart.Name = "txtStart";
|
|
|
- this.txtStart.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
- new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
- this.txtStart.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
- new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
- this.txtStart.Size = new System.Drawing.Size(216, 20);
|
|
|
- this.txtStart.TabIndex = 1;
|
|
|
+ txtLogModules.Location = new System.Drawing.Point(5, 5);
|
|
|
+ txtLogModules.Name = "txtLogModules";
|
|
|
+ txtLogModules.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) });
|
|
|
+ txtLogModules.Size = new System.Drawing.Size(187, 20);
|
|
|
+ txtLogModules.TabIndex = 0;
|
|
|
//
|
|
|
- // txtEnd
|
|
|
+ // gridLog
|
|
|
//
|
|
|
- this.txtEnd.EditValue = null;
|
|
|
- this.txtEnd.Location = new System.Drawing.Point(420, 5);
|
|
|
- this.txtEnd.Name = "txtEnd";
|
|
|
- this.txtEnd.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
- new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
- this.txtEnd.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
- new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
- this.txtEnd.Size = new System.Drawing.Size(216, 20);
|
|
|
- this.txtEnd.TabIndex = 1;
|
|
|
+ gridLog.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
+ gridLog.Location = new System.Drawing.Point(0, 31);
|
|
|
+ gridLog.MainView = gridView1;
|
|
|
+ gridLog.Name = "gridLog";
|
|
|
+ gridLog.Size = new System.Drawing.Size(805, 459);
|
|
|
+ gridLog.TabIndex = 3;
|
|
|
+ gridLog.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 });
|
|
|
//
|
|
|
- // btnQuery
|
|
|
+ // gridView1
|
|
|
//
|
|
|
- this.btnQuery.Location = new System.Drawing.Point(642, 4);
|
|
|
- this.btnQuery.Name = "btnQuery";
|
|
|
- this.btnQuery.Size = new System.Drawing.Size(75, 23);
|
|
|
- this.btnQuery.TabIndex = 2;
|
|
|
- this.btnQuery.Text = "查询";
|
|
|
- this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
|
|
|
+ gridView1.GridControl = gridLog;
|
|
|
+ gridView1.Name = "gridView1";
|
|
|
//
|
|
|
// CtrlSvrLog
|
|
|
//
|
|
|
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
|
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.Controls.Add(this.gridLog);
|
|
|
- this.Controls.Add(this.panelControl1);
|
|
|
- this.Name = "CtrlSvrLog";
|
|
|
- this.Size = new System.Drawing.Size(805, 490);
|
|
|
- this.Load += new System.EventHandler(this.CtrlSvrs_Load);
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
|
|
|
- this.panelControl1.ResumeLayout(false);
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.gridLog)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtLogModules.Properties)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtStart.Properties.CalendarTimeProperties)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtStart.Properties)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtEnd.Properties.CalendarTimeProperties)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.txtEnd.Properties)).EndInit();
|
|
|
- this.ResumeLayout(false);
|
|
|
-
|
|
|
+ AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
|
+ AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
+ Controls.Add(gridLog);
|
|
|
+ Controls.Add(panelControl1);
|
|
|
+ Name = "CtrlSvrLog";
|
|
|
+ Size = new System.Drawing.Size(805, 490);
|
|
|
+ Load += CtrlSvrs_Load;
|
|
|
+ ((System.ComponentModel.ISupportInitialize)panelControl1).EndInit();
|
|
|
+ panelControl1.ResumeLayout(false);
|
|
|
+ ((System.ComponentModel.ISupportInitialize)txtEnd.Properties.CalendarTimeProperties).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)txtEnd.Properties).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)txtStart.Properties.CalendarTimeProperties).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)txtStart.Properties).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)txtLogModules.Properties).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)gridLog).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)gridView1).EndInit();
|
|
|
+ ResumeLayout(false);
|
|
|
}
|
|
|
|
|
|
#endregion
|