Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / Design / DesignerTransactionCloseEvent.cs / 1305376 / 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
- SoapWriter.cs
- FreezableCollection.cs
- BinHexEncoding.cs
- ConstraintEnumerator.cs
- ExtensionSimplifierMarkupObject.cs
- StackBuilderSink.cs
- MimeBasePart.cs
- DetailsView.cs
- WpfWebRequestHelper.cs
- JapaneseLunisolarCalendar.cs
- AcceptorSessionSymmetricMessageSecurityProtocol.cs
- FreeFormDesigner.cs
- VirtualDirectoryMapping.cs
- BulletChrome.cs
- EmissiveMaterial.cs
- Registration.cs
- QilTypeChecker.cs
- DbConnectionClosed.cs
- panel.cs
- DnsEndPoint.cs
- TimelineCollection.cs
- AffineTransform3D.cs
- DataGridViewLayoutData.cs
- DataServiceQueryOfT.cs
- XmlSchemaInfo.cs
- HtmlToClrEventProxy.cs
- TemplateNameScope.cs
- SynchronizationValidator.cs
- SqlNodeAnnotations.cs
- Animatable.cs
- TemplateApplicationHelper.cs
- FormatConvertedBitmap.cs
- PageEventArgs.cs
- LinqDataSourceHelper.cs
- ModelPropertyDescriptor.cs
- ItemMap.cs
- EmissiveMaterial.cs
- CapabilitiesRule.cs
- shaperfactoryquerycacheentry.cs
- Misc.cs
- TreeView.cs
- WebScriptMetadataFormatter.cs
- TypeFieldSchema.cs
- XPathEmptyIterator.cs
- ScriptResourceAttribute.cs
- SafeFileHandle.cs
- TransformCollection.cs
- IgnoreDataMemberAttribute.cs
- PathParser.cs
- RelationshipConverter.cs
- QueryExtender.cs
- BitmapSourceSafeMILHandle.cs
- WmlSelectionListAdapter.cs
- DataGridViewSortCompareEventArgs.cs
- ItemList.cs
- Identity.cs
- DependencyPropertyValueSerializer.cs
- WebBrowserContainer.cs
- ThreadPool.cs
- FlowLayoutPanel.cs
- HttpClientCertificate.cs
- XmlSchemaProviderAttribute.cs
- InvokeWebServiceDesigner.cs
- RootBrowserWindowProxy.cs
- SigningProgress.cs
- Floater.cs
- PopupEventArgs.cs
- NumericExpr.cs
- StringValueSerializer.cs
- BindingContext.cs
- SystemKeyConverter.cs
- DataSourceView.cs
- WebPartZoneBase.cs
- HttpCachePolicy.cs
- Root.cs
- RedistVersionInfo.cs
- ZoneMembershipCondition.cs
- SQLBytesStorage.cs
- SimpleFieldTemplateFactory.cs
- RetrieveVirtualItemEventArgs.cs
- ZipIOLocalFileDataDescriptor.cs
- Screen.cs
- Parser.cs
- NavigationProgressEventArgs.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- ListViewDeletedEventArgs.cs
- FlowDocumentReader.cs
- Vector3DAnimation.cs
- StringOutput.cs
- ScriptingJsonSerializationSection.cs
- ObjectDataSourceView.cs
- WebPartConnection.cs
- BitmapEffectState.cs
- EntityProviderFactory.cs
- HostExecutionContextManager.cs
- Rijndael.cs
- TrustManagerMoreInformation.cs
- CharEnumerator.cs
- OuterGlowBitmapEffect.cs
- X509Certificate2.cs