OrdersReportPrintFormMain.cs 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. namespace LYFZ.Software.UI.ReportPrint
  10. {
  11. public partial class OrdersReportPrintFormMain : LYFZ.ComponentLibrary.BaseContentsFormMain
  12. {
  13. public OrdersReportPrintFormMain()
  14. {
  15. InitializeComponent();
  16. this.Load += new EventHandler(OrdersReportPrintFormMain_Load);
  17. this.btnView.Click += new EventHandler(btnView_Click);
  18. this.cmbQueryText.SelectedIndexChanged += new EventHandler(cmbQueryText_SelectedIndexChanged);
  19. this.Resize += new EventHandler(OrdersReportPrintFormMain_Resize);
  20. this.btnPreview.Click += new EventHandler(btnPreview_Click);
  21. this.btnReset.Click += new EventHandler(btnReset_Click);
  22. this.btnSave.Click += new EventHandler(btnSave_Click);
  23. this.btnClose.Click += new EventHandler(btnClose_Click);
  24. this.treevListData.NodeMouseDoubleClick += new TreeNodeMouseClickEventHandler(treevListData_NodeMouseDoubleClick);
  25. this.contxtMenu.ItemClicked += new ToolStripItemClickedEventHandler(contxtMenu_ItemClicked);
  26. this.panlModel.MouseDown += new MouseEventHandler(panlModel_MouseDown);
  27. this.buttonEx1.Click += buttonEx1_Click;
  28. }
  29. protected virtual void buttonEx1_Click(object sender, EventArgs e)
  30. {
  31. //throw new NotImplementedException();
  32. }
  33. /// <summary>
  34. /// 窗体加载
  35. /// </summary>
  36. /// <param name="sender"></param>
  37. /// <param name="e"></param>
  38. protected virtual void OrdersReportPrintFormMain_Load(object sender, EventArgs e)
  39. {
  40. //throw new NotImplementedException();
  41. }
  42. /// <summary>
  43. /// 选择
  44. /// </summary>
  45. /// <param name="sender"></param>
  46. /// <param name="e"></param>
  47. protected virtual void btnView_Click(object sender, EventArgs e)
  48. {
  49. //throw new NotImplementedException();
  50. }
  51. /// <summary>
  52. /// 下拉列表更改事件
  53. /// </summary>
  54. /// <param name="sender"></param>
  55. /// <param name="e"></param>
  56. protected virtual void cmbQueryText_SelectedIndexChanged(object sender, EventArgs e)
  57. {
  58. //throw new NotImplementedException();
  59. }
  60. /// <summary>
  61. /// 窗体大小发生变化
  62. /// </summary>
  63. /// <param name="sender"></param>
  64. /// <param name="e"></param>
  65. protected virtual void OrdersReportPrintFormMain_Resize(object sender, EventArgs e)
  66. {
  67. //throw new NotImplementedException();
  68. }
  69. /// <summary>
  70. /// 浏览
  71. /// </summary>
  72. /// <param name="sender"></param>
  73. /// <param name="e"></param>
  74. protected virtual void btnPreview_Click(object sender, EventArgs e)
  75. {
  76. //throw new NotImplementedException();
  77. }
  78. /// <summary>
  79. /// 重置绘板
  80. /// </summary>
  81. /// <param name="sender"></param>
  82. /// <param name="e"></param>
  83. protected virtual void btnReset_Click(object sender, EventArgs e)
  84. {
  85. //throw new NotImplementedException();
  86. }
  87. /// <summary>
  88. /// 保存
  89. /// </summary>
  90. /// <param name="sender"></param>
  91. /// <param name="e"></param>
  92. protected virtual void btnSave_Click(object sender, EventArgs e)
  93. {
  94. //throw new NotImplementedException();
  95. }
  96. /// <summary>
  97. /// 关闭
  98. /// </summary>
  99. /// <param name="sender"></param>
  100. /// <param name="e"></param>
  101. protected virtual void btnClose_Click(object sender, EventArgs e)
  102. {
  103. //throw new NotImplementedException();
  104. }
  105. /// <summary>
  106. /// 用鼠标双击节点时间发生
  107. /// </summary>
  108. /// <param name="sender"></param>
  109. /// <param name="e"></param>
  110. protected virtual void treevListData_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
  111. {
  112. //throw new NotImplementedException();
  113. }
  114. /// <summary>
  115. /// 右键删除
  116. /// </summary>
  117. /// <param name="sender"></param>
  118. /// <param name="e"></param>
  119. protected virtual void contxtMenu_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
  120. {
  121. //throw new NotImplementedException();
  122. }
  123. /// <summary>
  124. /// Panel的右键——删除全部
  125. /// </summary>
  126. /// <param name="sender"></param>
  127. /// <param name="e"></param>
  128. protected virtual void panlModel_MouseDown(object sender, MouseEventArgs e)
  129. {
  130. //throw new NotImplementedException();
  131. }
  132. }
  133. }