Exemplo n.º 1
0
 private void _helper_DomainObjectToGridRow(object sender, EventArgs e)
 {
     if ((e as DomainObjectToGridRowEventArgsNew).DomainObject != null)
     {
         OnWipInfoOnOperation obj = (e as DomainObjectToGridRowEventArgsNew).DomainObject as OnWipInfoOnOperation;
         DataRow row = DtSource.NewRow();
         row["OperationCode"]       = obj.OperationCode;
         row["QuantityOnOperation"] = obj.OnWipQuantityOnOperation;
         row["OnWipDistributing"]   = "";
         (e as DomainObjectToGridRowEventArgsNew).GridRow = row;
     }
 }
Exemplo n.º 2
0
 private void _helper_DomainObjectToExportRow(object sender, EventArgs e)
 {
     if ((e as DomainObjectToExportRowEventArgsNew).DomainObject != null)
     {
         OnWipInfoOnOperation obj = (e as DomainObjectToExportRowEventArgsNew).DomainObject as OnWipInfoOnOperation;
         (e as DomainObjectToExportRowEventArgsNew).ExportRow =
             new string[] {
             this.ViewState["ItemCode"].ToString(),
             obj.OperationCode,
             obj.OnWipQuantityOnOperation.ToString()
         };
     }
 }
Exemplo n.º 3
0
 private void _helper_DomainObjectToGridRow(object sender, EventArgs e)
 {
     if ((e as DomainObjectToGridRowEventArgs).DomainObject != null)
     {
         OnWipInfoOnOperation obj = (e as DomainObjectToGridRowEventArgs).DomainObject as OnWipInfoOnOperation;
         (e as DomainObjectToGridRowEventArgs).GridRow =
             new UltraGridRow(new object[] {
             obj.OperationCode,
             obj.OnWipQuantityOnOperation,
             ""
         }
                              );
     }
 }