public ImportForm(ProductionPlanControl parent, string filePath) { InitializeComponent(); m_parent = parent; m_productionPlanDao = new ProductionPlanDao(); FillExcelGrid(filePath); //充填grid }
public AddForm2(ProductionPlanControl parent) { InitializeComponent(); m_parent = parent; m_productionPlanDao = new ProductionPlanDao(); gridControl.DataSource = m_productionPlanDao.GetDataSource(); }
public AddForm3(ProductionPlanControl parent) { InitializeComponent(); m_parent = parent; m_productionPlanDao = new ProductionPlanDao(); this.txt_BatchNo.EditValue = DateTime.Now.ToString("yyyyMMdd"); gridControl.DataSource = m_productionPlanDao.GetDataSource(); }