Exemplo n.º 1
0
 private void _helper_DomainObjectToExportRow(object sender, EventArgs e)
 {
     if ((e as DomainObjectToExportRowEventArgs).DomainObject != null)
     {
         TSSMTItem obj = (e as DomainObjectToExportRowEventArgs).DomainObject as TSSMTItem;
         (e as DomainObjectToExportRowEventArgs).ExportRow =
             new string[] {
             obj.SourceItemCode,
             obj.SourceItemCode,
             obj.LotNO,
             obj.DateCode,
             obj.Location,
             obj.MEMO
         };
     }
 }
Exemplo n.º 2
0
 private void _helper_DomainObjectToGridRow(object sender, EventArgs e)
 {
     if ((e as DomainObjectToGridRowEventArgs).DomainObject != null)
     {
         TSSMTItem obj = (e as DomainObjectToGridRowEventArgs).DomainObject as TSSMTItem;
         (e as DomainObjectToGridRowEventArgs).GridRow =
             new UltraGridRow(new object[] {
             obj.MItemCode,
             obj.SourceItemCode,
             obj.LotNO,
             obj.DateCode,
             obj.Location,
             obj.MEMO
         }
                              );
     }
 }