df04a7bb02d32ad1bd81fb53a12c3098515313e5.svn-base 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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.RollManager
  8. {
  9. /// <summary>
  10. /// FrmPrint 的摘要说明。
  11. /// </summary>
  12. public class FrmPrint : System.Windows.Forms.Form
  13. {
  14. private UCGridPrint ucGridPrint1;
  15. /// <summary>
  16. /// 必需的设计器变量。
  17. /// </summary>
  18. private System.ComponentModel.Container components = null;
  19. public FrmPrint()
  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 UCGridPrint();
  68. this.SuspendLayout();
  69. //
  70. // ucGridPrint1
  71. //
  72. this.ucGridPrint1.FootHeight = 30;
  73. this.ucGridPrint1.FootText = "";
  74. this.ucGridPrint1.HeadHeight = 20;
  75. this.ucGridPrint1.HeadText = "";
  76. this.ucGridPrint1.Location = new System.Drawing.Point(0, 0);
  77. this.ucGridPrint1.Name = "ucGridPrint1";
  78. this.ucGridPrint1.Size = new System.Drawing.Size(216, 302);
  79. this.ucGridPrint1.SubFootHeight = 30;
  80. this.ucGridPrint1.SubFootLeftText = "";
  81. this.ucGridPrint1.SubfootRightText = "";
  82. this.ucGridPrint1.SubHeadHeight = 20;
  83. this.ucGridPrint1.SubHeadLeftText = "";
  84. this.ucGridPrint1.SubHeadRightText = "";
  85. this.ucGridPrint1.TabIndex = 0;
  86. //
  87. // FrmPrint
  88. //
  89. this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
  90. this.ClientSize = new System.Drawing.Size(208, 302);
  91. this.Controls.Add(this.ucGridPrint1);
  92. this.Name = "FrmPrint";
  93. this.Text = "打印";
  94. this.ResumeLayout(false);
  95. }
  96. #endregion
  97. }
  98. }