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 SlmOrdDesignMscPlGzCtrl : UserControl { private SlmOrdDesignMscPlGzBLL _designMscPlGzBLL; public SlmOrdDesignMscPlGzCtrl(System.Windows.Forms.Control container, OpeBase ob) { InitializeComponent(); _designMscPlGzBLL = new SlmOrdDesignMscPlGzBLL(ob); container.Controls.Add(this); this.Dock = DockStyle.Fill; EntityHelper.ShowGridCaption(ultraGrid1.DisplayLayout.Bands[0]); } /// /// 查询质量设计钢种 /// /// public void Query(SlmOrdDesignMscPlGzEntity designMscPlGzEntity) { this.slmOrdDesignMscPlGzEntityBindingSource.DataSource = _designMscPlGzBLL.Query(designMscPlGzEntity); } } }