private void _helper_DomainObjectToExportRow(object sender, EventArgs e) { BenQGuru.eMES.Domain.DataCollect.SimulationReport obj = (e as DomainObjectToExportRowEventArgsNew).DomainObject as BenQGuru.eMES.Domain.DataCollect.SimulationReport; (e as DomainObjectToExportRowEventArgsNew).ExportRow = new string[] { obj.RunningCard, obj.ItemCode, obj.MOCode }; }
private void _helper_DomainObjectToGridRow(object sender, EventArgs e) { BenQGuru.eMES.Domain.DataCollect.SimulationReport obj = (e as DomainObjectToGridRowEventArgsNew).DomainObject as BenQGuru.eMES.Domain.DataCollect.SimulationReport; DataRow row = this.DtSource.NewRow(); row["RCard"] = obj.RunningCard; row["ItemCode"] = obj.ItemCode; row["MOCode"] = obj.MOCode; (e as DomainObjectToGridRowEventArgsNew).GridRow = row; //new UltraGridRow( new object[]{ // obj.RunningCard, // obj.ItemCode, // obj.MOCode // } //); }