ReferralPointsSuperSmallForm.cs 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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.SuperSmallForm
  11. {
  12. public partial class ReferralPointsSuperSmallForm : LYFZ.ComponentLibrary.BaseContentsFormMain
  13. {
  14. public ReferralPointsSuperSmallForm()
  15. {
  16. InitializeComponent();
  17. this.panelEx1.BackColor = UIBlueThemeResources.UCNavigationToolColor;
  18. this.panelEx2.BackColor = UIBlueThemeResources.BorderAreaColor;
  19. this.panelEx2.BorderStyle = BorderStyle.FixedSingle;
  20. this.panelEx2.BackColor = UIBlueThemeResources.AreaBackgroundColor;
  21. this.panelEx3.BackColor = UIBlueThemeResources.BorderAreaColor;
  22. this.labelEx2.ForeColor = UIBlueThemeResources.TitleTextColor;
  23. this.labelEx7.ForeColor = UIBlueThemeResources.TitleTextColor;
  24. this.Load += ReferralPointsSuperSmallForm_Load;
  25. this.FormClosing += ReferralPointsSuperSmallForm_FormClosing;
  26. this.btnOK.Click += btnOK_Click;
  27. this.btnCancel.Click += btnCancel_Click;
  28. this.lstTextQuery.MouseDoubleClick += lstTextQuery_MouseDoubleClick;
  29. this.lstTextQuery.KeyDown += lstTextQuery_KeyDown;
  30. this.txtTextQuery.EventTextBoxEx_TextChanged += txtTextQuery_EventTextBoxEx_TextChanged;
  31. this.txtTextQuery.Click += txtTextQuery_Click;
  32. this.txtTextQuery.KeyDown += txtTextQuery_KeyDown;
  33. this.panelEx2.Click += panelEx2_Click;
  34. }
  35. /// <summary>
  36. /// 窗体加载事件
  37. /// </summary>
  38. /// <param name="sender"></param>
  39. /// <param name="e"></param>
  40. protected virtual void ReferralPointsSuperSmallForm_Load(object sender, EventArgs e)
  41. {
  42. //throw new NotImplementedException();
  43. }
  44. /// <summary>
  45. /// 关闭窗体后发生事件
  46. /// </summary>
  47. /// <param name="sender"></param>
  48. /// <param name="e"></param>
  49. protected virtual void ReferralPointsSuperSmallForm_FormClosing(object sender, FormClosingEventArgs e)
  50. {
  51. //throw new NotImplementedException();
  52. }
  53. /// <summary>
  54. /// 确定
  55. /// </summary>
  56. /// <param name="sender"></param>
  57. /// <param name="e"></param>
  58. protected virtual void btnOK_Click(object sender, EventArgs e)
  59. {
  60. //throw new NotImplementedException();
  61. }
  62. /// <summary>
  63. /// 取消
  64. /// </summary>
  65. /// <param name="sender"></param>
  66. /// <param name="e"></param>
  67. protected virtual void btnCancel_Click(object sender, EventArgs e)
  68. {
  69. //throw new NotImplementedException();
  70. }
  71. /// <summary>
  72. /// 列表事件双击
  73. /// </summary>
  74. /// <param name="sender"></param>
  75. /// <param name="e"></param>
  76. protected virtual void lstTextQuery_MouseDoubleClick(object sender, MouseEventArgs e)
  77. {
  78. //throw new NotImplementedException();
  79. }
  80. /// <summary>
  81. /// 回车
  82. /// </summary>
  83. /// <param name="sender"></param>
  84. /// <param name="e"></param>
  85. protected virtual void lstTextQuery_KeyDown(object sender, KeyEventArgs e)
  86. {
  87. //throw new NotImplementedException();
  88. }
  89. /// <summary>
  90. /// 列表失去焦点
  91. /// </summary>
  92. /// <param name="sender"></param>
  93. /// <param name="e"></param>
  94. protected virtual void panelEx2_Click(object sender, EventArgs e)
  95. {
  96. //throw new NotImplementedException();
  97. }
  98. /// <summary>
  99. /// 输入值变化
  100. /// </summary>
  101. /// <param name="sender"></param>
  102. /// <param name="e"></param>
  103. protected virtual void txtTextQuery_EventTextBoxEx_TextChanged(object sender, EventArgs e)
  104. {
  105. //throw new NotImplementedException();
  106. }
  107. /// <summary>
  108. /// 点击输入框
  109. /// </summary>
  110. /// <param name="sender"></param>
  111. /// <param name="e"></param>
  112. protected virtual void txtTextQuery_Click(object sender, EventArgs e)
  113. {
  114. //throw new NotImplementedException();
  115. }
  116. /// <summary>
  117. /// 按键盘上的下健时
  118. /// </summary>
  119. /// <param name="sender"></param>
  120. /// <param name="e"></param>
  121. protected virtual void txtTextQuery_KeyDown(object sender, KeyEventArgs e)
  122. {
  123. //throw new NotImplementedException();
  124. }
  125. }
  126. }