FrmPayroll.cs 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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
  11. {
  12. public partial class FrmPayroll : LYFZ.ComponentLibrary.BaseContentsFormMain
  13. {
  14. public FrmPayroll()
  15. {
  16. InitializeComponent();
  17. this.dgv.RefreshTheme();
  18. this.dgvAll.RefreshTheme();
  19. //this.flowLayoutPanel1.BorderStyle = BorderStyle.FixedSingle;
  20. //panelEx1.BorderColor = UIBlueThemeResources.BorderAreaColor;
  21. this.flowLayoutPanel1.BackColor = UIBlueThemeResources.AreaBackgroundColor;
  22. this.panelEx16.BackColor = UIBlueThemeResources.AreaBackgroundColor;
  23. this.panelEx18.BackColor = UIBlueThemeResources.AreaBackgroundColor;
  24. this.UcNavigationTool.LabTitle = "工资管理";
  25. this.btnClose.Click += btnClose_Click;
  26. this.Shown += FrmPayroll_Shown;
  27. this.btnSelect.Click += btnSelect_Click;
  28. this.cmbEmployeeName.ComboBoxTree_NodeMouseClick += cmbEmployeeName_ComboBoxTree_NodeMouseClick;
  29. this.cmbItemCategory.ComboBoxTree_NodeMouseClick += cmbItemCategory_ComboBoxTree_NodeMouseClick;
  30. this.cmbProjectTitle.ComboBoxTree_NodeMouseClick += cmbProjectTitle_ComboBoxTree_NodeMouseClick;
  31. this.cmbProcessStatus.ComboBoxTree_NodeMouseClick += cmbProcessStatus_ComboBoxTree_NodeMouseClick;
  32. this.txtAmountRange1.KeyPress += txtAmountRange1_KeyPress;
  33. this.txtAmountRange2.KeyPress += txtAmountRange2_KeyPress;
  34. this.cmbCustomerSource.ComboBoxTree_NodeMouseClick += cmbPay_PaymentMethod_ComboBoxTree_NodeMouseClick;
  35. this.CtvPak_Name.ComboBoxTree_NodeMouseClick += CtvPak_Name_ComboBoxTree_NodeMouseClick;
  36. this.dgvAll.SortCompare += dgvAll_SortCompare;
  37. this.btnSave.Click += btnSave_Click;
  38. this.cmbCommissionScheme.ComboBoxTree_NodeMouseClick += cmbCommissionScheme_ComboBoxTree_NodeMouseClick;
  39. this.btnSearchRecord.Click += btnSearchRecord_Click;
  40. this.btnExPort.Click += btnExPort_Click;
  41. this.txtScores1.KeyPress += txtScores1_KeyPress;
  42. this.txtScores2.KeyPress += txtScores2_KeyPress;
  43. }
  44. protected virtual void txtScores2_KeyPress(object sender, KeyPressEventArgs e)
  45. {
  46. //throw new NotImplementedException();
  47. }
  48. protected virtual void txtScores1_KeyPress(object sender, KeyPressEventArgs e)
  49. {
  50. //throw new NotImplementedException();
  51. }
  52. protected virtual void btnExPort_Click(object sender, EventArgs e)
  53. {
  54. //throw new NotImplementedException();
  55. }
  56. protected virtual void btnSearchRecord_Click(object sender, EventArgs e)
  57. {
  58. //throw new NotImplementedException();
  59. }
  60. protected virtual void cmbCommissionScheme_ComboBoxTree_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
  61. {
  62. //throw new NotImplementedException();
  63. }
  64. protected virtual void btnSave_Click(object sender, EventArgs e)
  65. {
  66. //throw new NotImplementedException();
  67. }
  68. protected virtual void dgvAll_SortCompare(object sender, DataGridViewSortCompareEventArgs e)
  69. {
  70. //throw new NotImplementedException();
  71. }
  72. protected virtual void btnCalculate_Click(object sender, EventArgs e)
  73. {
  74. //throw new NotImplementedException();
  75. }
  76. protected virtual void CtvPak_Name_ComboBoxTree_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
  77. {
  78. //throw new NotImplementedException();
  79. }
  80. protected virtual void cmbPay_PaymentMethod_ComboBoxTree_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
  81. {
  82. //throw new NotImplementedException();
  83. }
  84. protected virtual void txtAmountRange2_KeyPress(object sender, KeyPressEventArgs e)
  85. {
  86. //throw new NotImplementedException();
  87. }
  88. protected virtual void txtAmountRange1_KeyPress(object sender, KeyPressEventArgs e)
  89. {
  90. //throw new NotImplementedException();
  91. }
  92. protected virtual void cmbEmployeeName_ComboBoxTree_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
  93. {
  94. //throw new NotImplementedException();
  95. }
  96. protected virtual void cmbProcessStatus_ComboBoxTree_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
  97. {
  98. //throw new NotImplementedException();
  99. }
  100. protected virtual void cmbProjectTitle_ComboBoxTree_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
  101. {
  102. //throw new NotImplementedException();
  103. }
  104. protected virtual void cmbItemCategory_ComboBoxTree_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
  105. {
  106. //throw new NotImplementedException();
  107. }
  108. protected virtual void cmbEmployeeName_ComboBoxTreeViewEx_TextChanged(object sender, TreeViewEventArgs e)
  109. {
  110. //throw new NotImplementedException();
  111. }
  112. protected virtual void btnSelect_Click(object sender, EventArgs e)
  113. {
  114. //throw new NotImplementedException();
  115. }
  116. protected virtual void FrmPayroll_Shown(object sender, EventArgs e)
  117. {
  118. //throw new NotImplementedException();
  119. }
  120. protected virtual void btnClose_Click(object sender, EventArgs e)
  121. {
  122. //throw new NotImplementedException();
  123. }
  124. }
  125. }