Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- BeginStoryboard.cs
- SiteMapProvider.cs
- SystemIcmpV6Statistics.cs
- __Filters.cs
- WaitForChangedResult.cs
- SynchronizedDispatch.cs
- updatecommandorderer.cs
- XmlSchemaObjectTable.cs
- WebServiceData.cs
- SelfIssuedSamlTokenFactory.cs
- InternalsVisibleToAttribute.cs
- SettingsPropertyValueCollection.cs
- DragDeltaEventArgs.cs
- MemberAssignment.cs
- MetadataPropertyCollection.cs
- CollectionContainer.cs
- GridItemCollection.cs
- CompressEmulationStream.cs
- RenameRuleObjectDialog.cs
- MailDefinition.cs
- SchemaTypeEmitter.cs
- EditingCoordinator.cs
- TableRowCollection.cs
- HandlerFactoryWrapper.cs
- ping.cs
- SerialPort.cs
- ConfigurationLocation.cs
- RectangleConverter.cs
- SimpleType.cs
- FileLevelControlBuilderAttribute.cs
- DataServiceEntityAttribute.cs
- TextContainerChangedEventArgs.cs
- BevelBitmapEffect.cs
- IListConverters.cs
- ArcSegment.cs
- CodeNamespaceCollection.cs
- GridViewCancelEditEventArgs.cs
- TrackingMemoryStreamFactory.cs
- ErrorFormatter.cs
- ProcessHostConfigUtils.cs
- SourceFileBuildProvider.cs
- WindowClosedEventArgs.cs
- DBParameter.cs
- HtmlSelect.cs
- connectionpool.cs
- BaseDataBoundControl.cs
- BCryptNative.cs
- UnknownBitmapDecoder.cs
- WsatServiceCertificate.cs
- SoapHelper.cs
- ChannelManager.cs
- AuthStoreRoleProvider.cs
- ColorAnimation.cs
- Rect3D.cs
- CapacityStreamGeometryContext.cs
- ThemeInfoAttribute.cs
- HtmlAnchor.cs
- CodeArrayIndexerExpression.cs
- DataList.cs
- CapabilitiesUse.cs
- QilLiteral.cs
- TextSpan.cs
- XmlAttributeHolder.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- PropertyGridView.cs
- ArgumentNullException.cs
- WebConfigurationManager.cs
- MulticastIPAddressInformationCollection.cs
- SoapAttributeOverrides.cs
- PartManifestEntry.cs
- CorrelationActionMessageFilter.cs
- HttpRuntime.cs
- SoapExtensionReflector.cs
- PassportIdentity.cs
- XsltContext.cs
- CompilationSection.cs
- AdornedElementPlaceholder.cs
- FontFaceLayoutInfo.cs
- IdentityReference.cs
- BitmapFrame.cs
- MetadataItemEmitter.cs
- Menu.cs
- PointAnimationUsingKeyFrames.cs
- Condition.cs
- DataTableClearEvent.cs
- FontDriver.cs
- WS2007FederationHttpBindingElement.cs
- RegexWriter.cs
- TabletCollection.cs
- ListBase.cs
- HttpRawResponse.cs
- DataSysAttribute.cs
- XmlUrlResolver.cs
- ModelItemDictionary.cs
- _SSPISessionCache.cs
- AlignmentYValidation.cs
- ZipIOFileItemStream.cs
- OverflowException.cs
- ConstraintConverter.cs
- CombinedGeometry.cs