using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using Core.StlMes.Client.SaleOrder.BLL; using CoreFS.CA06; using Core.Mes.Client.Comm.Tool; namespace Core.StlMes.Client.SaleOrder.Control { public partial class CraftOrdDesignMscJgPlStiCtrl : UserControl { private CraftOrdDesignMscJgPlStiBLL _designMscJgPlStiBLL; public CraftOrdDesignMscJgPlStiCtrl(System.Windows.Forms.Control container, OpeBase ob) { InitializeComponent(); _designMscJgPlStiBLL = new CraftOrdDesignMscJgPlStiBLL(ob); container.Controls.Add(this); this.Dock = DockStyle.Fill; EntityHelper.ShowGridCaption(ultraGrid1.DisplayLayout.Bands[0]); } public void Query(CraftOrdDesignMscJgPlStiEntity designMscJgPlStiEntity) { this.CraftOrdDesignMscJgPlStiEntityBindingSource.DataSource = _designMscJgPlStiBLL.Query(designMscJgPlStiEntity); } private void ultraGrid1_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e) { } } }