SlmOrdDesignMscJgPlStiCtrl.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Drawing;
  5. using System.Data;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. using Core.StlMes.Client.SaleOrder.BLL;
  10. using CoreFS.CA06;
  11. using Core.Mes.Client.Comm.Tool;
  12. namespace Core.StlMes.Client.SaleOrder.Control
  13. {
  14. public partial class SlmOrdDesignMscJgPlStiCtrl : UserControl
  15. {
  16. private SlmOrdDesignMscJgPlStiBLL _designMscJgPlStiBLL;
  17. public SlmOrdDesignMscJgPlStiCtrl(System.Windows.Forms.Control container, OpeBase ob)
  18. {
  19. InitializeComponent();
  20. _designMscJgPlStiBLL = new SlmOrdDesignMscJgPlStiBLL(ob);
  21. container.Controls.Add(this);
  22. this.Dock = DockStyle.Fill;
  23. EntityHelper.ShowGridCaption<SlmOrdDesignMscJgPlStiEntity>(ultraGrid1.DisplayLayout.Bands[0]);
  24. }
  25. public void Query(SlmOrdDesignMscJgPlStiEntity designMscJgPlStiEntity)
  26. {
  27. this.slmOrdDesignMscJgPlStiEntityBindingSource.DataSource = _designMscJgPlStiBLL.Query(designMscJgPlStiEntity);
  28. }
  29. private void ultraGrid1_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
  30. {
  31. }
  32. }
  33. }