Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / ComponentModel / Design / DesignerTransactionCloseEvent.cs / 1 / DesignerTransactionCloseEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel.Design { using Microsoft.Win32; using System; using System.ComponentModel; using System.Diagnostics; using System.Reflection; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [System.Runtime.InteropServices.ComVisible(true)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class DesignerTransactionCloseEventArgs : EventArgs { private bool commit; private bool lastTransaction; ///[To be supplied.] ////// Creates a new event args. Commit is true if the transaction is committed. This /// defaults the LastTransaction property to true. /// [Obsolete("This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead. http://go.microsoft.com/fwlink/?linkid=14202")] public DesignerTransactionCloseEventArgs(bool commit) : this(commit, true) { } ////// Creates a new event args. Commit is true if the transaction is committed, and /// lastTransaction is true if this is the last transaction to close. /// public DesignerTransactionCloseEventArgs(bool commit, bool lastTransaction) { this.commit = commit; this.lastTransaction = lastTransaction; } ////// public bool TransactionCommitted { get { return commit; } } ///[To be supplied.] ////// Returns true if this is the last transaction to close. /// public bool LastTransaction { get { return lastTransaction; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel.Design { using Microsoft.Win32; using System; using System.ComponentModel; using System.Diagnostics; using System.Reflection; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [System.Runtime.InteropServices.ComVisible(true)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class DesignerTransactionCloseEventArgs : EventArgs { private bool commit; private bool lastTransaction; ///[To be supplied.] ////// Creates a new event args. Commit is true if the transaction is committed. This /// defaults the LastTransaction property to true. /// [Obsolete("This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead. http://go.microsoft.com/fwlink/?linkid=14202")] public DesignerTransactionCloseEventArgs(bool commit) : this(commit, true) { } ////// Creates a new event args. Commit is true if the transaction is committed, and /// lastTransaction is true if this is the last transaction to close. /// public DesignerTransactionCloseEventArgs(bool commit, bool lastTransaction) { this.commit = commit; this.lastTransaction = lastTransaction; } ////// public bool TransactionCommitted { get { return commit; } } ///[To be supplied.] ////// Returns true if this is the last transaction to close. /// public bool LastTransaction { get { return lastTransaction; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RowVisual.cs
- CodeAttributeArgumentCollection.cs
- PointKeyFrameCollection.cs
- ExpressionBuilderContext.cs
- OpacityConverter.cs
- ObjectDataSourceChooseMethodsPanel.cs
- AnimationTimeline.cs
- ToolBar.cs
- ExceptionTrace.cs
- HttpModuleCollection.cs
- EncodingNLS.cs
- OleDbReferenceCollection.cs
- ConfigurationStrings.cs
- BuilderInfo.cs
- SiteMapNode.cs
- InvalidPrinterException.cs
- TypeValidationEventArgs.cs
- WindowsGraphicsWrapper.cs
- SQLInt32.cs
- ProcessManager.cs
- ZipIOLocalFileBlock.cs
- Regex.cs
- OuterGlowBitmapEffect.cs
- SettingsPropertyValue.cs
- FtpWebRequest.cs
- PrePrepareMethodAttribute.cs
- JoinSymbol.cs
- ManifestResourceInfo.cs
- UIElement.cs
- IResourceProvider.cs
- UnsafeNativeMethods.cs
- NativeRightsManagementAPIsStructures.cs
- SectionVisual.cs
- ArgIterator.cs
- UnsafeNativeMethodsTablet.cs
- IListConverters.cs
- DataGridViewCellFormattingEventArgs.cs
- ToolboxDataAttribute.cs
- PersonalizationProviderHelper.cs
- EntityKey.cs
- X509WindowsSecurityToken.cs
- ProcessThreadCollection.cs
- ObjectHandle.cs
- DocumentPageTextView.cs
- BuildDependencySet.cs
- HtmlLiteralTextAdapter.cs
- DispatcherExceptionEventArgs.cs
- UdpDiscoveryEndpointElement.cs
- ClientBuildManager.cs
- PositiveTimeSpanValidatorAttribute.cs
- WebDescriptionAttribute.cs
- DBPropSet.cs
- SortQuery.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- SkewTransform.cs
- PieceDirectory.cs
- SubclassTypeValidator.cs
- GeometryDrawing.cs
- RefreshEventArgs.cs
- DataServiceContext.cs
- ScalarType.cs
- EFAssociationProvider.cs
- WSHttpBindingElement.cs
- NativeBuffer.cs
- SqlFacetAttribute.cs
- HwndTarget.cs
- TypedDatasetGenerator.cs
- ListBox.cs
- SecurityContext.cs
- ToolboxItemWrapper.cs
- ControlBindingsCollection.cs
- XPathParser.cs
- TraceProvider.cs
- BitmapEffectDrawing.cs
- SafeEventLogReadHandle.cs
- GenericWebPart.cs
- securitycriticaldata.cs
- ProjectedSlot.cs
- UnsafeNativeMethods.cs
- XPathAncestorQuery.cs
- MarkupCompiler.cs
- CryptographicAttribute.cs
- ProviderBase.cs
- SqlAggregateChecker.cs
- FrameworkElementAutomationPeer.cs
- DataListItemEventArgs.cs
- ObjectDisposedException.cs
- ClientFormsAuthenticationCredentials.cs
- SiteMembershipCondition.cs
- CodeTypeReferenceExpression.cs
- RoleManagerModule.cs
- dbenumerator.cs
- HttpListenerException.cs
- DrawingAttributes.cs
- SimpleBitVector32.cs
- ReaderWriterLockSlim.cs
- NativeMethods.cs
- ResourceReferenceExpression.cs
- Update.cs
- HwndMouseInputProvider.cs