LogCtrl.Designer.cs 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. namespace Ips.Library.DxpLib
  2. {
  3. partial class LogCtrl
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Component Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. components = new System.ComponentModel.Container();
  29. grdLog = new DevExpress.XtraGrid.GridControl();
  30. gvLog = new DevExpress.XtraGrid.Views.Grid.GridView();
  31. gcLogType = new DevExpress.XtraGrid.Columns.GridColumn();
  32. repLogTypeImgCbx = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
  33. gcLogTime = new DevExpress.XtraGrid.Columns.GridColumn();
  34. gcLogContent = new DevExpress.XtraGrid.Columns.GridColumn();
  35. bmgMain = new DevExpress.XtraBars.BarManager(components);
  36. barDockControlTop = new DevExpress.XtraBars.BarDockControl();
  37. barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
  38. barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
  39. barDockControlRight = new DevExpress.XtraBars.BarDockControl();
  40. btnClearLog = new DevExpress.XtraBars.BarButtonItem();
  41. btnCopyRowCell = new DevExpress.XtraBars.BarButtonItem();
  42. btnCopyRow = new DevExpress.XtraBars.BarButtonItem();
  43. btnAutoMoveToLast = new DevExpress.XtraBars.BarCheckItem();
  44. logMenu = new DevExpress.XtraBars.PopupMenu(components);
  45. ((System.ComponentModel.ISupportInitialize)grdLog).BeginInit();
  46. ((System.ComponentModel.ISupportInitialize)gvLog).BeginInit();
  47. ((System.ComponentModel.ISupportInitialize)repLogTypeImgCbx).BeginInit();
  48. ((System.ComponentModel.ISupportInitialize)bmgMain).BeginInit();
  49. ((System.ComponentModel.ISupportInitialize)logMenu).BeginInit();
  50. SuspendLayout();
  51. //
  52. // grdLog
  53. //
  54. grdLog.Dock = DockStyle.Fill;
  55. grdLog.Location = new Point(0, 0);
  56. grdLog.MainView = gvLog;
  57. grdLog.Name = "grdLog";
  58. grdLog.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repLogTypeImgCbx });
  59. grdLog.Size = new Size(853, 513);
  60. grdLog.TabIndex = 0;
  61. grdLog.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gvLog });
  62. //
  63. // gvLog
  64. //
  65. gvLog.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { gcLogType, gcLogTime, gcLogContent });
  66. gvLog.GridControl = grdLog;
  67. gvLog.Name = "gvLog";
  68. gvLog.OptionsBehavior.Editable = false;
  69. gvLog.OptionsBehavior.ReadOnly = true;
  70. gvLog.OptionsClipboard.AllowCopy = DevExpress.Utils.DefaultBoolean.True;
  71. gvLog.OptionsClipboard.AllowCsvFormat = DevExpress.Utils.DefaultBoolean.True;
  72. gvLog.OptionsClipboard.ClipboardMode = DevExpress.Export.ClipboardMode.Formatted;
  73. gvLog.OptionsClipboard.CopyColumnHeaders = DevExpress.Utils.DefaultBoolean.False;
  74. gvLog.OptionsView.ShowGroupPanel = false;
  75. gvLog.OptionsView.ShowIndicator = false;
  76. gvLog.PopupMenuShowing += gvLog_PopupMenuShowing;
  77. //
  78. // gcLogType
  79. //
  80. gcLogType.AppearanceHeader.Options.UseTextOptions = true;
  81. gcLogType.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
  82. gcLogType.Caption = "类型";
  83. gcLogType.ColumnEdit = repLogTypeImgCbx;
  84. gcLogType.FieldName = "LogType";
  85. gcLogType.Name = "gcLogType";
  86. gcLogType.OptionsColumn.AllowFocus = false;
  87. gcLogType.OptionsColumn.FixedWidth = true;
  88. gcLogType.Visible = true;
  89. gcLogType.VisibleIndex = 0;
  90. gcLogType.Width = 40;
  91. //
  92. // repLogTypeImgCbx
  93. //
  94. repLogTypeImgCbx.AutoHeight = false;
  95. repLogTypeImgCbx.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) });
  96. repLogTypeImgCbx.GlyphAlignment = DevExpress.Utils.HorzAlignment.Center;
  97. repLogTypeImgCbx.Name = "repLogTypeImgCbx";
  98. //
  99. // gcLogTime
  100. //
  101. gcLogTime.Caption = "日志时间";
  102. gcLogTime.DisplayFormat.FormatString = "HH:mm:ss";
  103. gcLogTime.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
  104. gcLogTime.FieldName = "LogTime";
  105. gcLogTime.Name = "gcLogTime";
  106. gcLogTime.OptionsColumn.AllowFocus = false;
  107. gcLogTime.OptionsColumn.FixedWidth = true;
  108. gcLogTime.Visible = true;
  109. gcLogTime.VisibleIndex = 1;
  110. gcLogTime.Width = 60;
  111. //
  112. // gcLogContent
  113. //
  114. gcLogContent.Caption = "日志内容";
  115. gcLogContent.FieldName = "LogContent";
  116. gcLogContent.Name = "gcLogContent";
  117. gcLogContent.OptionsColumn.AllowFocus = false;
  118. gcLogContent.Visible = true;
  119. gcLogContent.VisibleIndex = 2;
  120. gcLogContent.Width = 728;
  121. //
  122. // bmgMain
  123. //
  124. bmgMain.DockControls.Add(barDockControlTop);
  125. bmgMain.DockControls.Add(barDockControlBottom);
  126. bmgMain.DockControls.Add(barDockControlLeft);
  127. bmgMain.DockControls.Add(barDockControlRight);
  128. bmgMain.Form = this;
  129. bmgMain.Items.AddRange(new DevExpress.XtraBars.BarItem[] { btnClearLog, btnCopyRowCell, btnCopyRow, btnAutoMoveToLast });
  130. bmgMain.MaxItemId = 4;
  131. //
  132. // barDockControlTop
  133. //
  134. barDockControlTop.CausesValidation = false;
  135. barDockControlTop.Dock = DockStyle.Top;
  136. barDockControlTop.Location = new Point(0, 0);
  137. barDockControlTop.Manager = bmgMain;
  138. barDockControlTop.Size = new Size(853, 0);
  139. //
  140. // barDockControlBottom
  141. //
  142. barDockControlBottom.CausesValidation = false;
  143. barDockControlBottom.Dock = DockStyle.Bottom;
  144. barDockControlBottom.Location = new Point(0, 513);
  145. barDockControlBottom.Manager = bmgMain;
  146. barDockControlBottom.Size = new Size(853, 0);
  147. //
  148. // barDockControlLeft
  149. //
  150. barDockControlLeft.CausesValidation = false;
  151. barDockControlLeft.Dock = DockStyle.Left;
  152. barDockControlLeft.Location = new Point(0, 0);
  153. barDockControlLeft.Manager = bmgMain;
  154. barDockControlLeft.Size = new Size(0, 513);
  155. //
  156. // barDockControlRight
  157. //
  158. barDockControlRight.CausesValidation = false;
  159. barDockControlRight.Dock = DockStyle.Right;
  160. barDockControlRight.Location = new Point(853, 0);
  161. barDockControlRight.Manager = bmgMain;
  162. barDockControlRight.Size = new Size(0, 513);
  163. //
  164. // btnClearLog
  165. //
  166. btnClearLog.Caption = "清空日志";
  167. btnClearLog.Id = 0;
  168. btnClearLog.ImageOptions.ImageUri.Uri = "Clear";
  169. btnClearLog.Name = "btnClearLog";
  170. btnClearLog.ItemClick += btnClearLog_ItemClick;
  171. //
  172. // btnCopyRowCell
  173. //
  174. btnCopyRowCell.Caption = "复制单元格";
  175. btnCopyRowCell.Id = 1;
  176. btnCopyRowCell.ImageOptions.ImageUri.Uri = "richedit/selecttablecell";
  177. btnCopyRowCell.Name = "btnCopyRowCell";
  178. btnCopyRowCell.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
  179. btnCopyRowCell.ItemClick += btnCopyRowCell_ItemClick;
  180. //
  181. // btnCopyRow
  182. //
  183. btnCopyRow.Caption = "复制行数据";
  184. btnCopyRow.Id = 2;
  185. btnCopyRow.ImageOptions.ImageUri.Uri = "richedit/selecttablerow";
  186. btnCopyRow.Name = "btnCopyRow";
  187. btnCopyRow.ItemClick += btnCopyRow_ItemClick;
  188. //
  189. // btnAutoMoveToLast
  190. //
  191. btnAutoMoveToLast.BindableChecked = true;
  192. btnAutoMoveToLast.Caption = "启用滚动";
  193. btnAutoMoveToLast.Checked = true;
  194. btnAutoMoveToLast.Id = 3;
  195. btnAutoMoveToLast.Name = "btnAutoMoveToLast";
  196. btnAutoMoveToLast.CheckedChanged += btnAutoMoveToLast_CheckedChanged;
  197. //
  198. // logMenu
  199. //
  200. 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) });
  201. logMenu.Manager = bmgMain;
  202. logMenu.Name = "logMenu";
  203. //
  204. // LogCtrl
  205. //
  206. AutoScaleDimensions = new SizeF(7F, 14F);
  207. AutoScaleMode = AutoScaleMode.Font;
  208. Controls.Add(grdLog);
  209. Controls.Add(barDockControlLeft);
  210. Controls.Add(barDockControlRight);
  211. Controls.Add(barDockControlBottom);
  212. Controls.Add(barDockControlTop);
  213. Name = "LogCtrl";
  214. Size = new Size(853, 513);
  215. Load += LogCtrl_Load;
  216. ((System.ComponentModel.ISupportInitialize)grdLog).EndInit();
  217. ((System.ComponentModel.ISupportInitialize)gvLog).EndInit();
  218. ((System.ComponentModel.ISupportInitialize)repLogTypeImgCbx).EndInit();
  219. ((System.ComponentModel.ISupportInitialize)bmgMain).EndInit();
  220. ((System.ComponentModel.ISupportInitialize)logMenu).EndInit();
  221. ResumeLayout(false);
  222. PerformLayout();
  223. }
  224. #endregion
  225. private DevExpress.XtraGrid.GridControl grdLog;
  226. private DevExpress.XtraGrid.Views.Grid.GridView gvLog;
  227. private DevExpress.XtraGrid.Columns.GridColumn gcLogType;
  228. private DevExpress.XtraGrid.Columns.GridColumn gcLogTime;
  229. private DevExpress.XtraGrid.Columns.GridColumn gcLogContent;
  230. private DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox repLogTypeImgCbx;
  231. private DevExpress.XtraBars.BarManager bmgMain;
  232. private DevExpress.XtraBars.BarDockControl barDockControlTop;
  233. private DevExpress.XtraBars.BarDockControl barDockControlBottom;
  234. private DevExpress.XtraBars.BarDockControl barDockControlLeft;
  235. private DevExpress.XtraBars.BarDockControl barDockControlRight;
  236. private DevExpress.XtraBars.BarButtonItem btnClearLog;
  237. private DevExpress.XtraBars.PopupMenu logMenu;
  238. private DevExpress.XtraBars.BarButtonItem btnCopyRowCell;
  239. private DevExpress.XtraBars.BarButtonItem btnCopyRow;
  240. private DevExpress.XtraBars.BarCheckItem btnAutoMoveToLast;
  241. }
  242. }