FrmStock.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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.InventoryManagement
  11. {
  12. public partial class FrmStock : LYFZ.ComponentLibrary.BaseContentsFormMain
  13. {
  14. public FrmStock()
  15. {
  16. InitializeComponent();
  17. // this.IsCustomScrollBar = true;
  18. this.Load += new EventHandler(FrmStock_Load);;
  19. this.btnInventory.Click += btnInventory_Click;
  20. this.btnClose.Click += new EventHandler(btnClose_Click);
  21. panelEx3.BorderStyle = BorderStyle.FixedSingle;
  22. panelEx3.BorderColor = UIBlueThemeResources.BorderAreaColor;
  23. panelEx3.BackColor = UIBlueThemeResources.AreaBackgroundColor;
  24. UcNavigationTool.LabTitle = "库存查询";
  25. this.dgv1.RefreshTheme();
  26. this.dgv2.RefreshTheme();
  27. this.Shown += FrmStock_Shown;
  28. this.btnPurchaseOrder.Click += btnPurchaseOrder_Click;
  29. this.btnProcurementApplication.Click += btnProcurementApplication_Click;
  30. this.dgv1.DoubleClick += dgv1_DoubleClick;
  31. this.dgv2.CellValueChanged += dgv2_CellValueChanged;
  32. this.btnSave.Click += btnSave_Click;
  33. this.btndelete.Click += btndelete_Click;
  34. this.CtvSelect.ComboBoxTreeViewEx_TextChanged += CtvSelect_ComboBoxTreeViewEx_TextChanged;
  35. }
  36. protected virtual void CtvSelect_ComboBoxTreeViewEx_TextChanged(object sender, TreeViewEventArgs e)
  37. {
  38. //throw new NotImplementedException();
  39. }
  40. protected virtual void btndelete_Click(object sender, EventArgs e)
  41. {
  42. //throw new NotImplementedException();
  43. }
  44. protected virtual void btnSave_Click(object sender, EventArgs e)
  45. {
  46. //throw new NotImplementedException();
  47. }
  48. protected virtual void dgv2_CellValueChanged(object sender, DataGridViewCellEventArgs e)
  49. {
  50. //throw new NotImplementedException();
  51. }
  52. protected virtual void dgv1_DoubleClick(object sender, EventArgs e)
  53. {
  54. //throw new NotImplementedException();
  55. }
  56. protected virtual void btnProcurementApplication_Click(object sender, EventArgs e)
  57. {
  58. //throw new NotImplementedException();
  59. }
  60. protected virtual void btnPurchaseOrder_Click(object sender, EventArgs e)
  61. {
  62. //throw new NotImplementedException();
  63. }
  64. protected virtual void btnInventory_Click(object sender, EventArgs e)
  65. {
  66. //throw new NotImplementedException();
  67. }
  68. protected virtual void FrmStock_Shown(object sender, EventArgs e)
  69. {
  70. //throw new NotImplementedException();
  71. }
  72. protected virtual void cmbKeyWord_SelectedIndexChanged(object sender, EventArgs e)
  73. {
  74. }
  75. protected virtual void btnClose_Click(object sender, EventArgs e)
  76. {
  77. }
  78. protected virtual void btnSelect_Click(object sender, EventArgs e)
  79. {
  80. }
  81. protected virtual void FrmStock_Load(object sender, EventArgs e)
  82. {
  83. }
  84. }
  85. }