BackCashCardCashSuperSmallForm.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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 BackCashCardCashSuperSmallForm : LYFZ.ComponentLibrary.BaseContentsFormMain
  13. {
  14. public BackCashCardCashSuperSmallForm()
  15. {
  16. InitializeComponent();
  17. this.panelEx2.BackColor = UIBlueThemeResources.UCNavigationToolColor;
  18. this.panelEx1.BackColor = UIBlueThemeResources.AreaBackgroundColor;
  19. this.panelEx1.BorderColor = UIBlueThemeResources.BorderAreaColor;
  20. this.labelEx1.ForeColor = UIBlueThemeResources.TitleTextColor;
  21. this.labelEx6.ForeColor = UIBlueThemeResources.TitleTextColor;
  22. this.Shown += BackCashCardCashSuperSmallForm_Shown;
  23. this.txtCashAmount.KeyDown += txtCashAmount_KeyDown;
  24. this.txtHaveReturnedAmoun.MouseDoubleClick += txtHaveReturnedAmoun_MouseDoubleClick;
  25. this.txtCashAmount.KeyPress += txtCashAmount_KeyPress;
  26. this.btnSave.Click += btnSave_Click;
  27. this.btnCancel.Click += btnCancel_Click;
  28. }
  29. /// <summary>
  30. /// 窗体加载事件
  31. /// </summary>
  32. /// <param name="sender"></param>
  33. /// <param name="e"></param>
  34. protected virtual void BackCashCardCashSuperSmallForm_Shown(object sender, EventArgs e)
  35. {
  36. //throw new NotImplementedException();
  37. }
  38. /// <summary>
  39. /// 回车键
  40. /// </summary>
  41. /// <param name="sender"></param>
  42. /// <param name="e"></param>
  43. protected virtual void txtCashAmount_KeyDown(object sender, KeyEventArgs e)
  44. {
  45. //throw new NotImplementedException();
  46. }
  47. /// <summary>
  48. /// 双击已返金额
  49. /// </summary>
  50. /// <param name="sender"></param>
  51. /// <param name="e"></param>
  52. protected virtual void txtHaveReturnedAmoun_MouseDoubleClick(object sender, MouseEventArgs e)
  53. {
  54. //throw new NotImplementedException();
  55. }
  56. /// <summary>
  57. /// 金额输入限制
  58. /// </summary>
  59. /// <param name="sender"></param>
  60. /// <param name="e"></param>
  61. protected virtual void txtCashAmount_KeyPress(object sender, KeyPressEventArgs e)
  62. {
  63. //throw new NotImplementedException();
  64. }
  65. /// <summary>
  66. /// 保存
  67. /// </summary>
  68. /// <param name="sender"></param>
  69. /// <param name="e"></param>
  70. protected virtual void btnSave_Click(object sender, EventArgs e)
  71. {
  72. //throw new NotImplementedException();
  73. }
  74. /// <summary>
  75. /// 取消
  76. /// </summary>
  77. /// <param name="sender"></param>
  78. /// <param name="e"></param>
  79. protected virtual void btnCancel_Click(object sender, EventArgs e)
  80. {
  81. //throw new NotImplementedException();
  82. }
  83. }
  84. }