DesignerTransactionCloseEventArgs.cs 530 B

12345678910111213141516171819202122232425262728
  1. // System.ComponentModel.Design.DesignerTransactionCloseEventArgs.cs
  2. //
  3. // Author:
  4. // Alejandro Sánchez Acosta <[email protected]>
  5. //
  6. // (C) Alejandro Sánchez Acosta
  7. //
  8. using System.Runtime.InteropServices;
  9. namespace System.ComponentModel.Design
  10. {
  11. [ComVisible(true)]
  12. public class DesignerTransactionCloseEventArgs : EventArgs
  13. {
  14. private bool commit;
  15. public DesignerTransactionCloseEventArgs (bool commit) {
  16. this.commit = commit;
  17. }
  18. public bool TransactionCommitted
  19. {
  20. get {
  21. return commit;
  22. }
  23. }
  24. }
  25. }