Пример #1
0
            public SelectionTableRow AddSelectionTableRow(string ScheduleName, string ControlName, string Selection)
            {
                SelectionTableRow rowSelectionTableRow = ((SelectionTableRow)(this.NewRow()));

                object[] columnValuesArray = new object[] {
                    ScheduleName,
                    ControlName,
                    Selection
                };
                rowSelectionTableRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowSelectionTableRow);
                return(rowSelectionTableRow);
            }
Пример #2
0
            internal void NewSelectionTableRow(SelectionTableRowWraper _rowx)
            {
                SelectionTableRow _nr = this.NewSelectionTableRow();

                _nr.Batch      = _rowx.Batch.Trim();
                _nr.Created    = _rowx.Created.Date.ToString("d", CultureInfo.CurrentUICulture);
                _nr.Currency   = _rowx.Currency;
                _nr.DocumentNo = _rowx.DocumentNo.Trim();
                _nr.DebtDate   = _rowx.DebtDate.Date.ToString("d", CultureInfo.CurrentUICulture);
                _nr.Disposal   = _rowx.Disposal;
                _nr.ID         = _rowx.ID.ToString();
                _nr.SKU        = _rowx.SKU.Trim();
                _nr.Quantity   = _rowx.Quantity;
                _nr.Status     = _rowx.Status;
                _nr.UnitPrice  = _rowx.UnitPrice;
                _nr.ValidTo    = _rowx.ValidTo.Date.ToString("d", CultureInfo.CurrentUICulture);
                AddSelectionTableRow(_nr);
            }
Пример #3
0
 public SelectionTableRowChangeEvent(SelectionTableRow row, global::System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Пример #4
0
 public void RemoveSelectionTableRow(SelectionTableRow row)
 {
     this.Rows.Remove(row);
 }
Пример #5
0
 public void AddSelectionTableRow(SelectionTableRow row)
 {
     this.Rows.Add(row);
 }