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
- SafeBuffer.cs
- AddInServer.cs
- localization.cs
- ExtendedPropertyDescriptor.cs
- GlobalProxySelection.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ExpressionReplacer.cs
- MasterPageCodeDomTreeGenerator.cs
- ExpressionParser.cs
- BitmapEffectDrawingContextState.cs
- HttpCapabilitiesBase.cs
- TimeSpanSecondsConverter.cs
- TypeConvertions.cs
- DesignBindingConverter.cs
- FolderBrowserDialog.cs
- AssemblyAttributesGoHere.cs
- MatrixAnimationBase.cs
- BasicBrowserDialog.cs
- VersionUtil.cs
- LocatorGroup.cs
- SamlSubjectStatement.cs
- SpAudioStreamWrapper.cs
- PageCopyCount.cs
- ApplicationTrust.cs
- SymLanguageType.cs
- UriTemplateVariablePathSegment.cs
- PropertyEmitter.cs
- AtomPub10CategoriesDocumentFormatter.cs
- CryptoKeySecurity.cs
- EmptyQuery.cs
- WS2007HttpBinding.cs
- SvcMapFileLoader.cs
- MULTI_QI.cs
- PersistChildrenAttribute.cs
- IriParsingElement.cs
- DataSvcMapFile.cs
- XamlReaderHelper.cs
- VisualBasicSettingsHandler.cs
- Memoizer.cs
- XmlMapping.cs
- TableLayoutSettings.cs
- Wildcard.cs
- EmbeddedMailObject.cs
- GeneralTransform3DGroup.cs
- Pen.cs
- ErrorRuntimeConfig.cs
- TextPointer.cs
- Brush.cs
- NavigationCommands.cs
- PageCatalogPart.cs
- SmiGettersStream.cs
- ObjectDataSourceSelectingEventArgs.cs
- CodeSpit.cs
- FacetValues.cs
- ResourceKey.cs
- HtmlElement.cs
- ReadWriteObjectLock.cs
- IdentitySection.cs
- CodeFieldReferenceExpression.cs
- DBSqlParserTable.cs
- JoinElimination.cs
- Grammar.cs
- Missing.cs
- XmlValidatingReaderImpl.cs
- RightsManagementUser.cs
- ShutDownListener.cs
- OrderedHashRepartitionStream.cs
- SystemIcmpV4Statistics.cs
- ItemList.cs
- ReadOnlyHierarchicalDataSourceView.cs
- TriggerActionCollection.cs
- CacheChildrenQuery.cs
- PackageFilter.cs
- Event.cs
- QilValidationVisitor.cs
- Button.cs
- ClientSettingsSection.cs
- SqlParameter.cs
- DataTableClearEvent.cs
- BamlRecordReader.cs
- ApplicationBuildProvider.cs
- DataListItemEventArgs.cs
- CollectionBuilder.cs
- AlternateView.cs
- DecryptedHeader.cs
- DesignTimeVisibleAttribute.cs
- StateRuntime.cs
- MouseGestureConverter.cs
- RootAction.cs
- DataServiceResponse.cs
- UnicodeEncoding.cs
- WsdlWriter.cs
- IDReferencePropertyAttribute.cs
- smtpconnection.cs
- ObjectItemLoadingSessionData.cs
- FrugalList.cs
- ToolboxComponentsCreatingEventArgs.cs
- RandomNumberGenerator.cs
- MiniMapControl.xaml.cs
- Msmq4PoisonHandler.cs