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
- AsyncResult.cs
- CodeArrayIndexerExpression.cs
- EventWaitHandleSecurity.cs
- ActivityWithResult.cs
- Viewport2DVisual3D.cs
- TrustLevel.cs
- LinkButton.cs
- ParenthesizePropertyNameAttribute.cs
- DataGridPageChangedEventArgs.cs
- CharEntityEncoderFallback.cs
- TemplateNameScope.cs
- SystemUnicastIPAddressInformation.cs
- XsdDataContractExporter.cs
- InvalidPrinterException.cs
- ReadContentAsBinaryHelper.cs
- HuffmanTree.cs
- CompiledAction.cs
- AnimationStorage.cs
- SamlSecurityTokenAuthenticator.cs
- SystemIcmpV6Statistics.cs
- NavigationService.cs
- PermissionSet.cs
- COM2Enum.cs
- LogEntrySerializer.cs
- httpserverutility.cs
- PerspectiveCamera.cs
- BuildProviderUtils.cs
- BamlResourceContent.cs
- XmlMtomWriter.cs
- ControlCollection.cs
- RelationshipEndMember.cs
- ReferencedAssemblyResolver.cs
- UriSectionReader.cs
- StaticTextPointer.cs
- DurableInstance.cs
- BuilderElements.cs
- HwndSourceParameters.cs
- WSDualHttpBinding.cs
- SimpleTypeResolver.cs
- PerformanceCounterCategory.cs
- SHA384.cs
- SqlCacheDependencyDatabaseCollection.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- UnsafeNativeMethodsMilCoreApi.cs
- WinFormsUtils.cs
- HashCodeCombiner.cs
- ManipulationPivot.cs
- SQLInt16Storage.cs
- RectAnimationClockResource.cs
- PieceDirectory.cs
- _ProxyRegBlob.cs
- NativeCompoundFileAPIs.cs
- Literal.cs
- PingReply.cs
- MetadataCache.cs
- While.cs
- complextypematerializer.cs
- NonceToken.cs
- DictionaryItemsCollection.cs
- SqlDataAdapter.cs
- PngBitmapEncoder.cs
- SynchronousChannelMergeEnumerator.cs
- WmpBitmapEncoder.cs
- panel.cs
- NameGenerator.cs
- ExceptionHelpers.cs
- WaveHeader.cs
- BamlCollectionHolder.cs
- WpfGeneratedKnownTypes.cs
- ExpressionEditorAttribute.cs
- XmlLangPropertyAttribute.cs
- DataFieldConverter.cs
- DesignerActionKeyboardBehavior.cs
- HttpHandlerAction.cs
- _SslSessionsCache.cs
- CrossSiteScriptingValidation.cs
- RootBrowserWindowAutomationPeer.cs
- AsyncPostBackErrorEventArgs.cs
- TextRenderer.cs
- RemoteWebConfigurationHostServer.cs
- RolePrincipal.cs
- isolationinterop.cs
- OverrideMode.cs
- DecoderReplacementFallback.cs
- Point3DCollection.cs
- ApplicationHost.cs
- SQLDateTime.cs
- ButtonColumn.cs
- FloaterParagraph.cs
- FormViewRow.cs
- FormattedTextSymbols.cs
- ClientRuntimeConfig.cs
- SqlCacheDependencySection.cs
- MessageQueue.cs
- BufferedGraphics.cs
- XmlSchemaSubstitutionGroup.cs
- TypeInfo.cs
- FilteredAttributeCollection.cs
- StringAttributeCollection.cs
- NoClickablePointException.cs