Exemplo n.º 1
0
 private void _helper_DomainObjectToExportRow(object sender, EventArgs e)
 {
     if ((e as DomainObjectToExportRowEventArgsNew).DomainObject != null)
     {
         QDOTSPerformance obj = (e as DomainObjectToExportRowEventArgsNew).DomainObject as QDOTSPerformance;
         (e as DomainObjectToExportRowEventArgsNew).ExportRow =
             new string[] {
             obj.TsOperator.ToString(),
                 obj.TsQuantity.ToString()
         };
     }
 }
Exemplo n.º 2
0
 private void _helper_DomainObjectToGridRow(object sender, EventArgs e)
 {
     if ((e as DomainObjectToGridRowEventArgsNew).DomainObject != null)
     {
         QDOTSPerformance obj = (e as DomainObjectToGridRowEventArgsNew).DomainObject as QDOTSPerformance;
         DataRow          row = DtSource.NewRow();
         row["TsOperator"]       = obj.TsOperator;
         row["TsOperatorHidden"] = obj.TsOperatorHidden;
         row["TsQuantity"]       = obj.TsQuantity;
         row["List"]             = "";
         (e as DomainObjectToGridRowEventArgsNew).GridRow = row;
     }
 }
Exemplo n.º 3
0
 private void _helper_DomainObjectToGridRow(object sender, EventArgs e)
 {
     if ((e as DomainObjectToGridRowEventArgs).DomainObject != null)
     {
         QDOTSPerformance obj = (e as DomainObjectToGridRowEventArgs).DomainObject as QDOTSPerformance;
         (e as DomainObjectToGridRowEventArgs).GridRow =
             new UltraGridRow(new object[] {
             obj.TsOperator,
             obj.TsQuantity,
             ""
         }
                              );
     }
 }