DataSetServicePackageSetSmallForm.cs 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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 DataSetServicePackageSetSmallForm : LYFZ.ComponentLibrary.BaseContentsFormMain
  13. {
  14. public DataSetServicePackageSetSmallForm()
  15. {
  16. InitializeComponent();
  17. this.panelEx1.BackColor = UIBlueThemeResources.AreaBackgroundColor;
  18. this.panelEx1.BorderColor = UIBlueThemeResources.BorderAreaColor;
  19. this.panelEx1.BorderStyle = BorderStyle.FixedSingle;
  20. this.Shown += DataSetServicePackageSetSmallForm_Shown;
  21. this.dgvData.CellMouseDoubleClick += dgvData_CellMouseDoubleClick;
  22. this.cmbtreevClass.ComboBoxTreeViewEx_TextChanged += cmbtreevClass_ComboBoxTreeViewEx_TextChanged;
  23. this.txtPrice.KeyPress += txtPrice_KeyPress;
  24. this.btnSet.Click += btnSet_Click;
  25. this.btnSave.Click += btnSave_Click;
  26. this.btnDelete.Click += btnDelete_Click;
  27. this.btnClear.Click += btnClear_Click;
  28. }
  29. /// <summary>
  30. /// 窗体加载
  31. /// </summary>
  32. /// <param name="sender"></param>
  33. /// <param name="e"></param>
  34. protected virtual void DataSetServicePackageSetSmallForm_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 dgvData_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs 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 cmbtreevClass_ComboBoxTreeViewEx_TextChanged(object sender, TreeViewEventArgs 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 txtPrice_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 btnSet_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 btnSave_Click(object sender, EventArgs e)
  80. {
  81. //throw new NotImplementedException();
  82. }
  83. /// <summary>
  84. /// 删除
  85. /// </summary>
  86. /// <param name="sender"></param>
  87. /// <param name="e"></param>
  88. protected virtual void btnDelete_Click(object sender, EventArgs e)
  89. {
  90. //throw new NotImplementedException();
  91. }
  92. /// <summary>
  93. /// 清空
  94. /// </summary>
  95. /// <param name="sender"></param>
  96. /// <param name="e"></param>
  97. protected virtual void btnClear_Click(object sender, EventArgs e)
  98. {
  99. //throw new NotImplementedException();
  100. }
  101. }
  102. }