123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247 |
- namespace Ips.Library.DxpLib
- {
- partial class LogCtrl
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- #region Component Designer generated code
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- components = new System.ComponentModel.Container();
- grdLog = new DevExpress.XtraGrid.GridControl();
- gvLog = new DevExpress.XtraGrid.Views.Grid.GridView();
- gcLogType = new DevExpress.XtraGrid.Columns.GridColumn();
- repLogTypeImgCbx = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
- gcLogTime = new DevExpress.XtraGrid.Columns.GridColumn();
- gcLogContent = new DevExpress.XtraGrid.Columns.GridColumn();
- bmgMain = new DevExpress.XtraBars.BarManager(components);
- barDockControlTop = new DevExpress.XtraBars.BarDockControl();
- barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
- barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
- barDockControlRight = new DevExpress.XtraBars.BarDockControl();
- btnClearLog = new DevExpress.XtraBars.BarButtonItem();
- btnCopyRowCell = new DevExpress.XtraBars.BarButtonItem();
- btnCopyRow = new DevExpress.XtraBars.BarButtonItem();
- btnAutoMoveToLast = new DevExpress.XtraBars.BarCheckItem();
- logMenu = new DevExpress.XtraBars.PopupMenu(components);
- ((System.ComponentModel.ISupportInitialize)grdLog).BeginInit();
- ((System.ComponentModel.ISupportInitialize)gvLog).BeginInit();
- ((System.ComponentModel.ISupportInitialize)repLogTypeImgCbx).BeginInit();
- ((System.ComponentModel.ISupportInitialize)bmgMain).BeginInit();
- ((System.ComponentModel.ISupportInitialize)logMenu).BeginInit();
- SuspendLayout();
- //
- // grdLog
- //
- grdLog.Dock = DockStyle.Fill;
- grdLog.Location = new Point(0, 0);
- grdLog.MainView = gvLog;
- grdLog.Name = "grdLog";
- grdLog.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repLogTypeImgCbx });
- grdLog.Size = new Size(853, 513);
- grdLog.TabIndex = 0;
- grdLog.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gvLog });
- //
- // gvLog
- //
- gvLog.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { gcLogType, gcLogTime, gcLogContent });
- gvLog.GridControl = grdLog;
- gvLog.Name = "gvLog";
- gvLog.OptionsBehavior.Editable = false;
- gvLog.OptionsBehavior.ReadOnly = true;
- gvLog.OptionsClipboard.AllowCopy = DevExpress.Utils.DefaultBoolean.True;
- gvLog.OptionsClipboard.AllowCsvFormat = DevExpress.Utils.DefaultBoolean.True;
- gvLog.OptionsClipboard.ClipboardMode = DevExpress.Export.ClipboardMode.Formatted;
- gvLog.OptionsClipboard.CopyColumnHeaders = DevExpress.Utils.DefaultBoolean.False;
- gvLog.OptionsView.ShowGroupPanel = false;
- gvLog.OptionsView.ShowIndicator = false;
- gvLog.PopupMenuShowing += gvLog_PopupMenuShowing;
- //
- // gcLogType
- //
- gcLogType.AppearanceHeader.Options.UseTextOptions = true;
- gcLogType.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
- gcLogType.Caption = "类型";
- gcLogType.ColumnEdit = repLogTypeImgCbx;
- gcLogType.FieldName = "LogType";
- gcLogType.Name = "gcLogType";
- gcLogType.OptionsColumn.AllowFocus = false;
- gcLogType.OptionsColumn.FixedWidth = true;
- gcLogType.Visible = true;
- gcLogType.VisibleIndex = 0;
- gcLogType.Width = 40;
- //
- // repLogTypeImgCbx
- //
- repLogTypeImgCbx.AutoHeight = false;
- repLogTypeImgCbx.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) });
- repLogTypeImgCbx.GlyphAlignment = DevExpress.Utils.HorzAlignment.Center;
- repLogTypeImgCbx.Name = "repLogTypeImgCbx";
- //
- // gcLogTime
- //
- gcLogTime.Caption = "日志时间";
- gcLogTime.DisplayFormat.FormatString = "HH:mm:ss";
- gcLogTime.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
- gcLogTime.FieldName = "LogTime";
- gcLogTime.Name = "gcLogTime";
- gcLogTime.OptionsColumn.AllowFocus = false;
- gcLogTime.OptionsColumn.FixedWidth = true;
- gcLogTime.Visible = true;
- gcLogTime.VisibleIndex = 1;
- gcLogTime.Width = 60;
- //
- // gcLogContent
- //
- gcLogContent.Caption = "日志内容";
- gcLogContent.FieldName = "LogContent";
- gcLogContent.Name = "gcLogContent";
- gcLogContent.OptionsColumn.AllowFocus = false;
- gcLogContent.Visible = true;
- gcLogContent.VisibleIndex = 2;
- gcLogContent.Width = 728;
- //
- // bmgMain
- //
- bmgMain.DockControls.Add(barDockControlTop);
- bmgMain.DockControls.Add(barDockControlBottom);
- bmgMain.DockControls.Add(barDockControlLeft);
- bmgMain.DockControls.Add(barDockControlRight);
- bmgMain.Form = this;
- bmgMain.Items.AddRange(new DevExpress.XtraBars.BarItem[] { btnClearLog, btnCopyRowCell, btnCopyRow, btnAutoMoveToLast });
- bmgMain.MaxItemId = 4;
- //
- // barDockControlTop
- //
- barDockControlTop.CausesValidation = false;
- barDockControlTop.Dock = DockStyle.Top;
- barDockControlTop.Location = new Point(0, 0);
- barDockControlTop.Manager = bmgMain;
- barDockControlTop.Size = new Size(853, 0);
- //
- // barDockControlBottom
- //
- barDockControlBottom.CausesValidation = false;
- barDockControlBottom.Dock = DockStyle.Bottom;
- barDockControlBottom.Location = new Point(0, 513);
- barDockControlBottom.Manager = bmgMain;
- barDockControlBottom.Size = new Size(853, 0);
- //
- // barDockControlLeft
- //
- barDockControlLeft.CausesValidation = false;
- barDockControlLeft.Dock = DockStyle.Left;
- barDockControlLeft.Location = new Point(0, 0);
- barDockControlLeft.Manager = bmgMain;
- barDockControlLeft.Size = new Size(0, 513);
- //
- // barDockControlRight
- //
- barDockControlRight.CausesValidation = false;
- barDockControlRight.Dock = DockStyle.Right;
- barDockControlRight.Location = new Point(853, 0);
- barDockControlRight.Manager = bmgMain;
- barDockControlRight.Size = new Size(0, 513);
- //
- // btnClearLog
- //
- btnClearLog.Caption = "清空日志";
- btnClearLog.Id = 0;
- btnClearLog.ImageOptions.ImageUri.Uri = "Clear";
- btnClearLog.Name = "btnClearLog";
- btnClearLog.ItemClick += btnClearLog_ItemClick;
- //
- // btnCopyRowCell
- //
- btnCopyRowCell.Caption = "复制单元格";
- btnCopyRowCell.Id = 1;
- btnCopyRowCell.ImageOptions.ImageUri.Uri = "richedit/selecttablecell";
- btnCopyRowCell.Name = "btnCopyRowCell";
- btnCopyRowCell.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
- btnCopyRowCell.ItemClick += btnCopyRowCell_ItemClick;
- //
- // btnCopyRow
- //
- btnCopyRow.Caption = "复制行数据";
- btnCopyRow.Id = 2;
- btnCopyRow.ImageOptions.ImageUri.Uri = "richedit/selecttablerow";
- btnCopyRow.Name = "btnCopyRow";
- btnCopyRow.ItemClick += btnCopyRow_ItemClick;
- //
- // btnAutoMoveToLast
- //
- btnAutoMoveToLast.BindableChecked = true;
- btnAutoMoveToLast.Caption = "启用滚动";
- btnAutoMoveToLast.Checked = true;
- btnAutoMoveToLast.Id = 3;
- btnAutoMoveToLast.Name = "btnAutoMoveToLast";
- btnAutoMoveToLast.CheckedChanged += btnAutoMoveToLast_CheckedChanged;
- //
- // logMenu
- //
- logMenu.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(btnClearLog), new DevExpress.XtraBars.LinkPersistInfo(btnCopyRowCell), new DevExpress.XtraBars.LinkPersistInfo(btnCopyRow), new DevExpress.XtraBars.LinkPersistInfo(btnAutoMoveToLast) });
- logMenu.Manager = bmgMain;
- logMenu.Name = "logMenu";
- //
- // LogCtrl
- //
- AutoScaleDimensions = new SizeF(7F, 14F);
- AutoScaleMode = AutoScaleMode.Font;
- Controls.Add(grdLog);
- Controls.Add(barDockControlLeft);
- Controls.Add(barDockControlRight);
- Controls.Add(barDockControlBottom);
- Controls.Add(barDockControlTop);
- Name = "LogCtrl";
- Size = new Size(853, 513);
- Load += LogCtrl_Load;
- ((System.ComponentModel.ISupportInitialize)grdLog).EndInit();
- ((System.ComponentModel.ISupportInitialize)gvLog).EndInit();
- ((System.ComponentModel.ISupportInitialize)repLogTypeImgCbx).EndInit();
- ((System.ComponentModel.ISupportInitialize)bmgMain).EndInit();
- ((System.ComponentModel.ISupportInitialize)logMenu).EndInit();
- ResumeLayout(false);
- PerformLayout();
- }
- #endregion
- private DevExpress.XtraGrid.GridControl grdLog;
- private DevExpress.XtraGrid.Views.Grid.GridView gvLog;
- private DevExpress.XtraGrid.Columns.GridColumn gcLogType;
- private DevExpress.XtraGrid.Columns.GridColumn gcLogTime;
- private DevExpress.XtraGrid.Columns.GridColumn gcLogContent;
- private DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox repLogTypeImgCbx;
- private DevExpress.XtraBars.BarManager bmgMain;
- private DevExpress.XtraBars.BarDockControl barDockControlTop;
- private DevExpress.XtraBars.BarDockControl barDockControlBottom;
- private DevExpress.XtraBars.BarDockControl barDockControlLeft;
- private DevExpress.XtraBars.BarDockControl barDockControlRight;
- private DevExpress.XtraBars.BarButtonItem btnClearLog;
- private DevExpress.XtraBars.PopupMenu logMenu;
- private DevExpress.XtraBars.BarButtonItem btnCopyRowCell;
- private DevExpress.XtraBars.BarButtonItem btnCopyRow;
- private DevExpress.XtraBars.BarCheckItem btnAutoMoveToLast;
- }
- }
|