private void _helper_DomainObjectToGridRow(object sender, EventArgs e)
 {
     if ((e as DomainObjectToGridRowEventArgsNew).DomainObject != null)
     {
         QDOIntegrated obj = (e as DomainObjectToGridRowEventArgsNew).DomainObject as QDOIntegrated;
         DataRow       row = DtSource.NewRow();
         row["MOCode"]   = obj.MoCode;
         row["ItemCode"] = obj.ItemCode;
         row["SN"]       = obj.SN;
         row["ComponentLoadingOPCode"]           = obj.OperationCode;
         row["ComponentLoadingStepSequenceCode"] = obj.StepSequenceCode;
         row["ComponentLoadingResourceCode"]     = obj.ResourceCode;
         row["PackedNo"]             = obj.INNO;
         row["EmployeeNo"]           = obj.MaintainUser;
         row["ComponentLoadingDate"] = FormatHelper.ToDateString(obj.MaintainDate);
         row["ComponentLoadingTime"] = FormatHelper.ToTimeString(obj.MaintainTime);
         (e as DomainObjectToGridRowEventArgsNew).GridRow = row;
     }
 }
 private void _helper_DomainObjectToExportRow(object sender, EventArgs e)
 {
     if ((e as DomainObjectToExportRowEventArgsNew).DomainObject != null)
     {
         QDOIntegrated obj = (e as DomainObjectToExportRowEventArgsNew).DomainObject as QDOIntegrated;
         (e as DomainObjectToExportRowEventArgsNew).ExportRow =
             new string[] {
             obj.MoCode,
             obj.ItemCode,
             obj.SN,
             obj.OperationCode,
             obj.StepSequenceCode,
             obj.ResourceCode,
             obj.INNO,
             obj.MaintainUser,
             FormatHelper.ToDateString(obj.MaintainDate),
             FormatHelper.ToTimeString(obj.MaintainTime)
         };
     }
 }