DataTableNewRowEvent.cs 882 B

123456789101112131415161718192021222324252627
  1. //------------------------------------------------------------------------------
  2. // <copyright file="DataTableNewRowEvent.cs" company="Microsoft">
  3. // Copyright (c) Microsoft Corporation. All rights reserved.
  4. // </copyright>
  5. // <owner current="true" primary="true">[....]</owner>
  6. // <owner current="true" primary="false">[....]</owner>
  7. //------------------------------------------------------------------------------
  8. namespace System.Data {
  9. using System;
  10. using System.Diagnostics;
  11. public sealed class DataTableNewRowEventArgs : EventArgs {
  12. private readonly DataRow dataRow;
  13. public DataTableNewRowEventArgs(DataRow dataRow) {
  14. this.dataRow = dataRow;
  15. }
  16. public DataRow Row{
  17. get {
  18. return dataRow;
  19. }
  20. }
  21. }
  22. }