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
- XpsManager.cs
- KeyEventArgs.cs
- SchemaCollectionCompiler.cs
- ComponentManagerBroker.cs
- RemoteWebConfigurationHostServer.cs
- LiteralControl.cs
- KoreanLunisolarCalendar.cs
- Aggregates.cs
- EventLogPermissionEntryCollection.cs
- CanonicalFontFamilyReference.cs
- CallbackCorrelationInitializer.cs
- Connector.xaml.cs
- TransactionProtocolConverter.cs
- DataDesignUtil.cs
- SmiContextFactory.cs
- SiteMapNode.cs
- BorderSidesEditor.cs
- Package.cs
- DPCustomTypeDescriptor.cs
- Visual.cs
- webclient.cs
- ColorMap.cs
- RequestFactory.cs
- Int64.cs
- HitTestFilterBehavior.cs
- Monitor.cs
- RecordConverter.cs
- ReaderContextStackData.cs
- RemotingException.cs
- XmlDataSourceDesigner.cs
- ModulesEntry.cs
- SystemGatewayIPAddressInformation.cs
- CodeBinaryOperatorExpression.cs
- MimeTypeMapper.cs
- ArrayElementGridEntry.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- StdValidatorsAndConverters.cs
- xdrvalidator.cs
- ApplicationActivator.cs
- PropertyTabChangedEvent.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- Crypto.cs
- ToolboxBitmapAttribute.cs
- SchemaSetCompiler.cs
- ActiveDocumentEvent.cs
- DomainLiteralReader.cs
- SQLByte.cs
- DiscriminatorMap.cs
- EnterpriseServicesHelper.cs
- ListCommandEventArgs.cs
- COM2ICategorizePropertiesHandler.cs
- HtmlElementErrorEventArgs.cs
- ArithmeticLiteral.cs
- PeerCollaborationPermission.cs
- ResourceContainer.cs
- EntityCodeGenerator.cs
- DependencyPropertyDescriptor.cs
- BindStream.cs
- SharedStatics.cs
- UMPAttributes.cs
- RowToParametersTransformer.cs
- DataContractAttribute.cs
- EntitySqlException.cs
- XmlSerializableWriter.cs
- RSAPKCS1KeyExchangeFormatter.cs
- Annotation.cs
- SystemTcpStatistics.cs
- IntegerFacetDescriptionElement.cs
- XmlSchemaSubstitutionGroup.cs
- SQLInt64.cs
- ConfigXmlElement.cs
- HttpCacheVaryByContentEncodings.cs
- ObjectListFieldCollection.cs
- IconBitmapDecoder.cs
- SafeHandles.cs
- RegexMatchCollection.cs
- PassportAuthentication.cs
- PasswordDeriveBytes.cs
- SqlNodeTypeOperators.cs
- TableTextElementCollectionInternal.cs
- PersonalizableTypeEntry.cs
- Normalization.cs
- IIS7UserPrincipal.cs
- BatchWriter.cs
- _NetworkingPerfCounters.cs
- SecurityRequiresReviewAttribute.cs
- ReaderWriterLock.cs
- Focus.cs
- DetailsViewDeleteEventArgs.cs
- Aggregates.cs
- DataSourceExpression.cs
- StylusPointPropertyInfo.cs
- MatrixTransform.cs
- Pair.cs
- DWriteFactory.cs
- SortExpressionBuilder.cs
- LinkUtilities.cs
- RedirectionProxy.cs
- DetailsView.cs
- TraceLog.cs