Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- TabControlCancelEvent.cs
- BufferAllocator.cs
- FileDialog.cs
- UndoManager.cs
- GlyphShapingProperties.cs
- TcpChannelHelper.cs
- EventHandlerList.cs
- ViewSimplifier.cs
- PassportPrincipal.cs
- VectorAnimationBase.cs
- OleDbPermission.cs
- EntryWrittenEventArgs.cs
- Table.cs
- SizeAnimationBase.cs
- HeaderLabel.cs
- Number.cs
- LogSwitch.cs
- MDIControlStrip.cs
- SafeNativeMethods.cs
- WebInvokeAttribute.cs
- JulianCalendar.cs
- DataRow.cs
- TextHintingModeValidation.cs
- QueryCacheEntry.cs
- MediaScriptCommandRoutedEventArgs.cs
- DocumentScope.cs
- DoubleConverter.cs
- ApplicationTrust.cs
- MemberHolder.cs
- GenericAuthenticationEventArgs.cs
- SrgsRulesCollection.cs
- ReflectionServiceProvider.cs
- CustomCategoryAttribute.cs
- StyleBamlTreeBuilder.cs
- ValidatorCollection.cs
- BitConverter.cs
- SoapExtensionReflector.cs
- TextCollapsingProperties.cs
- AssociationSetMetadata.cs
- SubqueryRules.cs
- ButtonBaseAdapter.cs
- PropertyGridEditorPart.cs
- ListViewItemEventArgs.cs
- IntSecurity.cs
- HandlerFactoryWrapper.cs
- CachedFontFace.cs
- DefaultMemberAttribute.cs
- RangeValueProviderWrapper.cs
- DBParameter.cs
- X509CertificateTrustedIssuerElement.cs
- RoutedEventHandlerInfo.cs
- ObjectStorage.cs
- ExitEventArgs.cs
- Constants.cs
- VisualProxy.cs
- Matrix3D.cs
- SafeCryptoHandles.cs
- CancelRequestedQuery.cs
- AuthenticationException.cs
- BackgroundFormatInfo.cs
- DropShadowBitmapEffect.cs
- XmlSerializer.cs
- StoreItemCollection.Loader.cs
- LazyTextWriterCreator.cs
- HelpProvider.cs
- PrefixQName.cs
- SoapBinding.cs
- IndexedEnumerable.cs
- SelectedDatesCollection.cs
- SR.cs
- EntityKeyElement.cs
- EntityContainerRelationshipSetEnd.cs
- basemetadatamappingvisitor.cs
- CultureInfoConverter.cs
- Compiler.cs
- WindowAutomationPeer.cs
- DecoderExceptionFallback.cs
- CfgSemanticTag.cs
- SignedXml.cs
- EventToken.cs
- ElementMarkupObject.cs
- TransformedBitmap.cs
- HttpConfigurationContext.cs
- HttpPostedFile.cs
- BitmapCodecInfo.cs
- util.cs
- HitTestWithGeometryDrawingContextWalker.cs
- DCSafeHandle.cs
- OdbcErrorCollection.cs
- DropShadowBitmapEffect.cs
- XPathAxisIterator.cs
- DbXmlEnabledProviderManifest.cs
- UInt32.cs
- HitTestFilterBehavior.cs
- AvTraceDetails.cs
- WindowsSysHeader.cs
- EnterpriseServicesHelper.cs
- DialogBaseForm.cs
- ToolStripManager.cs
- SafeRightsManagementSessionHandle.cs