FrmSelectPayOpenSingle.cs 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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.FinancialManagement.OrdersReceivables
  11. {
  12. public partial class FrmSelectPayOpenSingle : LYFZ.ComponentLibrary.BaseContentsFormMain
  13. {
  14. public FrmSelectPayOpenSingle()
  15. {
  16. InitializeComponent();
  17. this.panelEx1.BackColor = UIBlueThemeResources.UCNavigationToolColor;
  18. this.panelEx2.BackColor = UIBlueThemeResources.AreaBackgroundColor;
  19. this.panelEx2.BorderColor = UIBlueThemeResources.BorderAreaColor;
  20. this.panelEx2.BorderStyle = BorderStyle.FixedSingle;
  21. this.dgvData.RefreshTheme();
  22. this.labelEx1.ForeColor = UIBlueThemeResources.TitleTextColor;
  23. this.panelEx3.BackColor = UIBlueThemeResources.ProductSelectTitleBackgroundColor;
  24. this.labelEx3.ForeColor = UIBlueThemeResources.DefaultReverseTextColor;
  25. this.treevOrdersPersonnel.NodeMouseDoubleClick += new TreeNodeMouseClickEventHandler(treevOrdersPersonnel_NodeMouseDoubleClick);
  26. this.dgvData.MouseDoubleClick += dgvData_MouseDoubleClick;
  27. this.btnLeft.Click += new EventHandler(btnLeft_Click);
  28. this.btnRight.Click += new EventHandler(btnRight_Click);
  29. this.btnOK.Click += new EventHandler(btnOK_Click);
  30. this.btnCancel.Click += new EventHandler(btnCancel_Click);
  31. this.dgvData.Click += dgvData_Click;
  32. this.dgvData.KeyUp += dgvData_KeyUp;
  33. this.Shown += FrmSelectPayOpenSingle_Shown;
  34. this.dgvData.CellValueChanged += dgvData_CellValueChanged;
  35. }
  36. protected virtual void dgvData_CellValueChanged(object sender, DataGridViewCellEventArgs e)
  37. {
  38. // throw new NotImplementedException();
  39. }
  40. protected virtual void FrmSelectPayOpenSingle_Shown(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 treevOrdersPersonnel_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs 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 dgvData_MouseDoubleClick(object sender, MouseEventArgs 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 btnLeft_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 btnRight_Click(object sender, EventArgs 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 btnOK_Click(object sender, EventArgs 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 btnCancel_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 dgvData_Click(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 dgvData_KeyUp(object sender, KeyEventArgs e)
  113. {
  114. //throw new NotImplementedException();
  115. }
  116. }
  117. }