FrmPurchase.cs 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. namespace LYFZ.Software.UI.InventoryManagement.PurchasingManagement
  10. {
  11. public partial class FrmPurchase : LYFZ.ComponentLibrary.BaseContentsFormMain
  12. {
  13. public FrmPurchase()
  14. {
  15. InitializeComponent();
  16. this.dgv1.RefreshTheme();
  17. this.Shown += FrmPurchase_Shown;
  18. this.btnPurchase.Click += btnPurchase_Click;
  19. this.btnNotPurchase.Click += btnNotPurchase_Click;
  20. this.btnSave.Click += btnSave_Click;
  21. this.btnClose.Click += btnClose_Click;
  22. this.dgv1.CellValueChanged += dgv1_CellValueChanged;
  23. this.dgv1.Scroll += dgv1_Scroll;
  24. dgv1.ColumnWidthChanged += dgv1_ColumnWidthChanged;
  25. dgv1.DataBindingComplete += dgv1_DataBindingComplete;
  26. this.dgv1.Click += dgv1_Click;
  27. this.cmbFactory.SelectedIndexChanged += cmbFactory_SelectedIndexChanged;
  28. this.btnExport.Click += btnExport_Click;
  29. this.btnPrint.Click += btnPrint_Click;
  30. this.dgv1.CellMouseDoubleClick += dgv1_CellMouseDoubleClick;
  31. this.cmbFactory.Leave += cmbFactory_Leave;
  32. }
  33. protected virtual void btnPrint_Click(object sender, EventArgs e)
  34. {
  35. //throw new NotImplementedException();
  36. }
  37. protected virtual void btnExport_Click(object sender, EventArgs e)
  38. {
  39. //throw new NotImplementedException();
  40. }
  41. protected virtual void cmbFactory_SelectedIndexChanged(object sender, EventArgs e)
  42. {
  43. //throw new NotImplementedException();
  44. }
  45. protected virtual void dgv1_Click(object sender, EventArgs e)
  46. {
  47. //throw new NotImplementedException();
  48. }
  49. protected virtual void dgv1_DataBindingComplete(object sender, DataGridViewBindingCompleteEventArgs e)
  50. {
  51. //throw new NotImplementedException();
  52. }
  53. protected virtual void dgv1_ColumnWidthChanged(object sender, DataGridViewColumnEventArgs e)
  54. {
  55. //throw new NotImplementedException();
  56. }
  57. protected virtual void dgv1_Scroll(object sender, ScrollEventArgs e)
  58. {
  59. //throw new NotImplementedException();
  60. }
  61. protected virtual void dgv1_CellValueChanged(object sender, DataGridViewCellEventArgs e)
  62. {
  63. //throw new NotImplementedException();
  64. }
  65. protected virtual void btnClose_Click(object sender, EventArgs e)
  66. {
  67. //throw new NotImplementedException();
  68. }
  69. protected virtual void btnSave_Click(object sender, EventArgs e)
  70. {
  71. //throw new NotImplementedException();
  72. }
  73. protected virtual void btnNotPurchase_Click(object sender, EventArgs e)
  74. {
  75. //throw new NotImplementedException();
  76. }
  77. protected virtual void btnPurchase_Click(object sender, EventArgs e)
  78. {
  79. //throw new NotImplementedException();
  80. }
  81. protected virtual void FrmPurchase_Shown(object sender, EventArgs e)
  82. {
  83. //throw new NotImplementedException();
  84. }
  85. /// <summary>
  86. ///
  87. /// </summary>
  88. /// <param name="sender"></param>
  89. /// <param name="e"></param>
  90. protected virtual void dgv1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
  91. {
  92. //throw new NotImplementedException();
  93. }
  94. /// <summary>
  95. ///
  96. /// </summary>
  97. /// <param name="sender"></param>
  98. /// <param name="e"></param>
  99. protected virtual void cmbFactory_Leave(object sender, EventArgs e)
  100. {
  101. //throw new NotImplementedException();
  102. }
  103. }
  104. }