ServiceKoufeiSuperSmallForm.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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.MembershipManage.SuperSmallForm
  10. {
  11. public partial class ServiceKoufeiSuperSmallForm : LYFZ.ComponentLibrary.BaseContentsFormMain
  12. {
  13. public ServiceKoufeiSuperSmallForm()
  14. {
  15. InitializeComponent();
  16. this.Shown += ServiceKoufeiSuperSmallForm_Shown;
  17. this.txtCount.KeyPress += txtCount_KeyPress;
  18. this.txtCount.Leave += txtCount_Leave;
  19. this.dgvData.CellMouseDoubleClick += dgvData_CellMouseDoubleClick;
  20. this.dgvData.CellMouseClick += dgvData_CellMouseClick;
  21. this.btnOK.Click += btnOK_Click;
  22. this.btnCancel.Click += btnCancel_Click;
  23. this.FormClosing += ServiceKoufeiSuperSmallForm_FormClosing;
  24. }
  25. /// <summary>
  26. /// 窗体加载事件
  27. /// </summary>
  28. /// <param name="sender"></param>
  29. /// <param name="e"></param>
  30. protected virtual void ServiceKoufeiSuperSmallForm_Shown(object sender, EventArgs e)
  31. {
  32. //throw new NotImplementedException();
  33. }
  34. /// <summary>
  35. /// 服务次数离开事件
  36. /// </summary>
  37. /// <param name="sender"></param>
  38. /// <param name="e"></param>
  39. protected virtual void txtCount_KeyPress(object sender, KeyPressEventArgs e)
  40. {
  41. //throw new NotImplementedException();
  42. }
  43. /// <summary>
  44. /// 服务次数离开事件
  45. /// </summary>
  46. /// <param name="sender"></param>
  47. /// <param name="e"></param>
  48. protected virtual void txtCount_Leave(object sender, EventArgs e)
  49. {
  50. //throw new NotImplementedException();
  51. }
  52. /// <summary>
  53. /// 数据列表双击事件
  54. /// </summary>
  55. /// <param name="sender"></param>
  56. /// <param name="e"></param>
  57. protected virtual void dgvData_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
  58. {
  59. //throw new NotImplementedException();
  60. }
  61. /// <summary>
  62. /// 数据列表单击事件
  63. /// </summary>
  64. /// <param name="sender"></param>
  65. /// <param name="e"></param>
  66. protected virtual void dgvData_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
  67. {
  68. //throw new NotImplementedException();
  69. }
  70. /// <summary>
  71. /// 确定
  72. /// </summary>
  73. /// <param name="sender"></param>
  74. /// <param name="e"></param>
  75. protected virtual void btnOK_Click(object sender, EventArgs e)
  76. {
  77. //throw new NotImplementedException();
  78. }
  79. /// <summary>
  80. /// 取消
  81. /// </summary>
  82. /// <param name="sender"></param>
  83. /// <param name="e"></param>
  84. protected virtual void btnCancel_Click(object sender, EventArgs e)
  85. {
  86. //throw new NotImplementedException();
  87. }
  88. /// <summary>
  89. /// 关闭
  90. /// </summary>
  91. /// <param name="sender"></param>
  92. /// <param name="e"></param>
  93. protected virtual void ServiceKoufeiSuperSmallForm_FormClosing(object sender, FormClosingEventArgs e)
  94. {
  95. //throw new NotImplementedException();
  96. }
  97. }
  98. }