| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- 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 CraftOrdDesignMscPlCtrl : UserControl
- {
- private CraftOrdDesignMscPlBLL _designMscPlBLL;
- private CraftOrdDesignMscJgPlBLL _designMscJgPlBLL;
- public CraftOrdDesignMscPlCtrl(System.Windows.Forms.Control container, OpeBase ob)
- {
- InitializeComponent();
- _designMscPlBLL = new CraftOrdDesignMscPlBLL(ob);
- _designMscJgPlBLL = new CraftOrdDesignMscJgPlBLL(ob);
- container.Controls.Add(this);
- this.Dock = DockStyle.Fill;
- EntityHelper.ShowGridCaption<CraftOrdDesignMscPlEntity>(ultraGrid1.DisplayLayout.Bands[0]);
- }
- public void Query(CraftOrdDesignMscPlEntity designMscPlEntity)
- {
- this.CraftOrdDesignMscPlEntityBindingSource.DataSource = _designMscPlBLL.Query(designMscPlEntity);
- }
- public void Query(CraftOrdDesignMscJgPlEntity designMscJgPlEntity)
- {
- this.CraftOrdDesignMscPlEntityBindingSource.DataSource = _designMscJgPlBLL.Query(designMscJgPlEntity);
- }
- }
- }
|