DataSetServiceBoxSetSmallForm.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. using LYFZ.ComponentLibrary;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel;
  5. using System.Data;
  6. using System.Drawing;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Windows.Forms;
  10. namespace LYFZ.Software.UI.MembershipManage.SetSmallForm
  11. {
  12. public partial class DataSetServiceBoxSetSmallForm : LYFZ.ComponentLibrary.BaseContentsFormMain
  13. {
  14. public DataSetServiceBoxSetSmallForm()
  15. {
  16. InitializeComponent();
  17. this.panelEx1.BackColor = UIBlueThemeResources.AreaBackgroundColor;
  18. this.panelEx1.BorderColor = UIBlueThemeResources.BorderAreaColor;
  19. this.panelEx1.BorderStyle = BorderStyle.FixedSingle;
  20. this.Shown += DataSetServiceBoxSetSmallForm_Shown;
  21. this.dgvData.CellMouseDoubleClick += dgvData_CellMouseDoubleClick;
  22. this.dgvData.CellMouseClick += dgvData_CellMouseClick;
  23. this.txtCount.Leave += txtCount_Leave;
  24. this.txtCount.KeyPress += txtCount_KeyPress;
  25. this.btnPayment.Click += btnPayment_Click;
  26. this.btnToolbox.Click += btnToolbox_Click;
  27. this.btnRemove.Click += btnRemove_Click;
  28. this.FormClosing += DataSetServiceBoxSetSmallForm_FormClosing;
  29. }
  30. /// <summary>
  31. /// 窗体加载事件
  32. /// </summary>
  33. /// <param name="sender"></param>
  34. /// <param name="e"></param>
  35. protected virtual void DataSetServiceBoxSetSmallForm_Shown(object sender, EventArgs e)
  36. {
  37. //throw new NotImplementedException();
  38. }
  39. /// <summary>
  40. /// 数据列表双击事件
  41. /// </summary>
  42. /// <param name="sender"></param>
  43. /// <param name="e"></param>
  44. protected virtual void dgvData_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
  45. {
  46. //throw new NotImplementedException();
  47. }
  48. /// <summary>
  49. /// 数据列表单击事件
  50. /// </summary>
  51. /// <param name="sender"></param>
  52. /// <param name="e"></param>
  53. protected virtual void dgvData_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
  54. {
  55. //throw new NotImplementedException();
  56. }
  57. /// <summary>
  58. /// 服务次数离开事件
  59. /// </summary>
  60. /// <param name="sender"></param>
  61. /// <param name="e"></param>
  62. protected virtual void txtCount_Leave(object sender, EventArgs e)
  63. {
  64. //throw new NotImplementedException();
  65. }
  66. /// <summary>
  67. /// 服务次数输入限制
  68. /// </summary>
  69. /// <param name="sender"></param>
  70. /// <param name="e"></param>
  71. protected virtual void txtCount_KeyPress(object sender, KeyPressEventArgs e)
  72. {
  73. //throw new NotImplementedException();
  74. }
  75. /// <summary>
  76. /// 支付
  77. /// </summary>
  78. /// <param name="sender"></param>
  79. /// <param name="e"></param>
  80. protected virtual void btnPayment_Click(object sender, EventArgs e)
  81. {
  82. //throw new NotImplementedException();
  83. }
  84. /// <summary>
  85. /// 服务工具箱
  86. /// </summary>
  87. /// <param name="sender"></param>
  88. /// <param name="e"></param>
  89. protected virtual void btnToolbox_Click(object sender, EventArgs e)
  90. {
  91. //throw new NotImplementedException();
  92. }
  93. /// <summary>
  94. /// 移除
  95. /// </summary>
  96. /// <param name="sender"></param>
  97. /// <param name="e"></param>
  98. protected virtual void btnRemove_Click(object sender, EventArgs e)
  99. {
  100. //throw new NotImplementedException();
  101. }
  102. /// <summary>
  103. /// 关闭
  104. /// </summary>
  105. /// <param name="sender"></param>
  106. /// <param name="e"></param>
  107. protected virtual void DataSetServiceBoxSetSmallForm_FormClosing(object sender, FormClosingEventArgs e)
  108. {
  109. //throw new NotImplementedException();
  110. }
  111. }
  112. }