2fc22babdbacb4df151af92118cc4dc28c322cee.svn-base 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. using System;
  2. using System.Drawing;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.Windows.Forms;
  6. using Core.Client.WinCommon;
  7. namespace Core.XgMes.Client.JGKC.SteelPlateManager
  8. {
  9. /// <summary>
  10. /// FrmPrintButtress 的摘要说明。
  11. /// </summary>
  12. public class FrmPrintButtress : System.Windows.Forms.Form
  13. {
  14. private UCGridPrint ucGridPrint1;
  15. /// <summary>
  16. /// 必需的设计器变量。
  17. /// </summary>
  18. private System.ComponentModel.Container components = null;
  19. public FrmPrintButtress()
  20. {
  21. //
  22. // Windows 窗体设计器支持所必需的
  23. //
  24. InitializeComponent();
  25. //
  26. // TODO: 在 InitializeComponent 调用后添加任何构造函数代码
  27. //
  28. }
  29. /// <summary>
  30. /// 清理所有正在使用的资源。
  31. /// </summary>
  32. protected override void Dispose( bool disposing )
  33. {
  34. if( disposing )
  35. {
  36. if(components != null)
  37. {
  38. components.Dispose();
  39. }
  40. }
  41. base.Dispose( disposing );
  42. }
  43. public UCGridPrint UCGridPrint
  44. {
  45. get
  46. {
  47. return ucGridPrint1;
  48. }
  49. }
  50. public Control UltraGrid
  51. {
  52. set
  53. {
  54. if(value != null)
  55. {
  56. ucGridPrint1.DataSource = value;
  57. }
  58. }
  59. }
  60. #region Windows 窗体设计器生成的代码
  61. /// <summary>
  62. /// 设计器支持所需的方法 - 不要使用代码编辑器修改
  63. /// 此方法的内容。
  64. /// </summary>
  65. private void InitializeComponent()
  66. {
  67. this.ucGridPrint1 = new Core.Client.WinCommon.UCGridPrint();
  68. this.SuspendLayout();
  69. //
  70. // ucGridPrint1
  71. //
  72. this.ucGridPrint1.FootFont = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
  73. this.ucGridPrint1.FootHeight = 30;
  74. this.ucGridPrint1.FootText = "";
  75. this.ucGridPrint1.HeadFont = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
  76. this.ucGridPrint1.HeadHeight = 20;
  77. this.ucGridPrint1.HeadText = "";
  78. this.ucGridPrint1.Location = new System.Drawing.Point(0, 0);
  79. this.ucGridPrint1.Name = "ucGridPrint1";
  80. this.ucGridPrint1.Size = new System.Drawing.Size(216, 302);
  81. this.ucGridPrint1.SubFootFont = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
  82. this.ucGridPrint1.SubFootHeight = 30;
  83. this.ucGridPrint1.SubFootLeftText = "";
  84. this.ucGridPrint1.SubfootRightText = "";
  85. this.ucGridPrint1.SubHeadFont = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
  86. this.ucGridPrint1.SubHeadHeight = 20;
  87. this.ucGridPrint1.SubHeadLeftText = "";
  88. this.ucGridPrint1.SubHeadRightText = "";
  89. this.ucGridPrint1.TabIndex = 0;
  90. this.ucGridPrint1.TableFont = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
  91. //
  92. // FrmPrintButtress
  93. //
  94. this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
  95. this.ClientSize = new System.Drawing.Size(208, 302);
  96. this.Controls.Add(this.ucGridPrint1);
  97. this.Name = "FrmPrintButtress";
  98. this.Text = "打印";
  99. this.ResumeLayout(false);
  100. }
  101. #endregion
  102. }
  103. }