SetProcessAlertSuperSmallForm.cs 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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.CameraControlBook.SuperSmallForm
  11. {
  12. public partial class SetProcessAlertSuperSmallForm : LYFZ.ComponentLibrary.BaseContentsFormMain
  13. {
  14. public SetProcessAlertSuperSmallForm()
  15. {
  16. InitializeComponent();
  17. this.panelEx1.BackColor = UIBlueThemeResources.BorderAreaColor;
  18. this.Load += SetProcessAlertSuperSmallForm_Load;
  19. this.btnSave.Click += btnSave_Click;
  20. this.btnCancel.Click += btnCancel_Click;
  21. this.txtF.KeyPress += txtF_KeyPress;
  22. this.txtE.KeyPress += txtE_KeyPress;
  23. this.txtD.KeyPress += txtD_KeyPress;
  24. this.txtC.KeyPress += txtC_KeyPress;
  25. this.txtB.KeyPress += txtB_KeyPress;
  26. this.txtA.KeyPress += txtA_KeyPress;
  27. }
  28. /// <summary>
  29. /// 窗体加载
  30. /// </summary>
  31. /// <param name="sender"></param>
  32. /// <param name="e"></param>
  33. protected virtual void SetProcessAlertSuperSmallForm_Load(object sender, EventArgs e)
  34. {
  35. //throw new NotImplementedException();
  36. }
  37. /// <summary>
  38. /// 保存
  39. /// </summary>
  40. /// <param name="sender"></param>
  41. /// <param name="e"></param>
  42. protected virtual void btnSave_Click(object sender, EventArgs e)
  43. {
  44. //throw new NotImplementedException();
  45. }
  46. /// <summary>
  47. /// 取消
  48. /// </summary>
  49. /// <param name="sender"></param>
  50. /// <param name="e"></param>
  51. protected virtual void btnCancel_Click(object sender, EventArgs e)
  52. {
  53. //throw new NotImplementedException();
  54. }
  55. /// <summary>
  56. ///
  57. /// </summary>
  58. /// <param name="sender"></param>
  59. /// <param name="e"></param>
  60. protected virtual void txtF_KeyPress(object sender, KeyPressEventArgs e)
  61. {
  62. //throw new NotImplementedException();
  63. }
  64. /// <summary>
  65. ///
  66. /// </summary>
  67. /// <param name="sender"></param>
  68. /// <param name="e"></param>
  69. protected virtual void txtE_KeyPress(object sender, KeyPressEventArgs e)
  70. {
  71. //throw new NotImplementedException();
  72. }
  73. /// <summary>
  74. ///
  75. /// </summary>
  76. /// <param name="sender"></param>
  77. /// <param name="e"></param>
  78. protected virtual void txtD_KeyPress(object sender, KeyPressEventArgs e)
  79. {
  80. //throw new NotImplementedException();
  81. }
  82. /// <summary>
  83. ///
  84. /// </summary>
  85. /// <param name="sender"></param>
  86. /// <param name="e"></param>
  87. protected virtual void txtC_KeyPress(object sender, KeyPressEventArgs e)
  88. {
  89. //throw new NotImplementedException();
  90. }
  91. /// <summary>
  92. ///
  93. /// </summary>
  94. /// <param name="sender"></param>
  95. /// <param name="e"></param>
  96. protected virtual void txtB_KeyPress(object sender, KeyPressEventArgs e)
  97. {
  98. //throw new NotImplementedException();
  99. }
  100. /// <summary>
  101. ///
  102. /// </summary>
  103. /// <param name="sender"></param>
  104. /// <param name="e"></param>
  105. protected virtual void txtA_KeyPress(object sender, KeyPressEventArgs e)
  106. {
  107. //throw new NotImplementedException();
  108. }
  109. }
  110. }