ProcessExtensionSetSuperSmallForm.cs 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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 ProcessExtensionSetSuperSmallForm : LYFZ.ComponentLibrary.BaseContentsFormMain
  13. {
  14. public ProcessExtensionSetSuperSmallForm()
  15. {
  16. InitializeComponent();
  17. this.panelEx2.BackColor = UIBlueThemeResources.UCNavigationToolColor;
  18. this.panelEx1.BackColor = UIBlueThemeResources.AreaBackgroundColor;
  19. this.panelEx1.BorderColor = UIBlueThemeResources.BorderAreaColor;
  20. this.panelEx1.BorderStyle = BorderStyle.FixedSingle;
  21. this.Shown += ProcessExtensionSetSuperSmallForm_Shown;
  22. this.txtDays.KeyPress += txtDays_KeyPress;
  23. this.txtDays.KeyDown += txtDays_KeyDown;
  24. this.txtDays.Leave += txtDays_Leave;
  25. this.btnOk.Click += btnOk_Click;
  26. this.btnCancel.Click += btnCancel_Click;
  27. }
  28. /// <summary>
  29. /// 窗体加载事件
  30. /// </summary>
  31. /// <param name="sender"></param>
  32. /// <param name="e"></param>
  33. protected virtual void ProcessExtensionSetSuperSmallForm_Shown(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 txtDays_KeyPress(object sender, KeyPressEventArgs 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 txtDays_KeyDown(object sender, KeyEventArgs 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 txtDays_Leave(object sender, EventArgs 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 btnOk_Click(object sender, EventArgs 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 btnCancel_Click(object sender, EventArgs e)
  79. {
  80. //throw new NotImplementedException();
  81. }
  82. }
  83. }