Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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;
///
/// [To be supplied.]
///
[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;
///
/// 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;
}
///
/// [To be supplied.]
///
public bool TransactionCommitted {
get {
return commit;
}
}
///
/// Returns true if this is the last transaction to close.
///
public bool LastTransaction {
get {
return lastTransaction;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ThumbAutomationPeer.cs
- QualifierSet.cs
- Cursors.cs
- TextTreeUndo.cs
- SendMailErrorEventArgs.cs
- ReferenceService.cs
- SyndicationSerializer.cs
- SinglePhaseEnlistment.cs
- SigningProgress.cs
- DataSourceDesigner.cs
- ConfigWriter.cs
- IsolatedStorageFile.cs
- Aggregates.cs
- PrincipalPermission.cs
- Expressions.cs
- Screen.cs
- ClaimTypes.cs
- SessionPageStatePersister.cs
- BindableTemplateBuilder.cs
- PassportAuthentication.cs
- OracleNumber.cs
- ScriptComponentDescriptor.cs
- ResourceCategoryAttribute.cs
- ObjectComplexPropertyMapping.cs
- XsdDuration.cs
- ContextMenu.cs
- SaveFileDialog.cs
- DeploymentSection.cs
- GraphicsPathIterator.cs
- RedBlackList.cs
- TextElementAutomationPeer.cs
- MasterPageBuildProvider.cs
- CheckBoxFlatAdapter.cs
- SafeNativeMethods.cs
- PackageDigitalSignature.cs
- GlyphTypeface.cs
- ThousandthOfEmRealPoints.cs
- Icon.cs
- ClientSettingsSection.cs
- PageThemeParser.cs
- ProjectionPlan.cs
- SystemException.cs
- ProcessHostFactoryHelper.cs
- KeyInfo.cs
- KeyFrames.cs
- PasswordDeriveBytes.cs
- EventLogWatcher.cs
- ObjectStateEntry.cs
- XmlSchemaAll.cs
- PriorityQueue.cs
- XmlCharCheckingWriter.cs
- CryptoApi.cs
- Token.cs
- ObjectCloneHelper.cs
- DateTimeOffset.cs
- StylusPointProperty.cs
- ItemsControlAutomationPeer.cs
- WrappedKeySecurityToken.cs
- RequestCachePolicyConverter.cs
- SerializeAbsoluteContext.cs
- FontNamesConverter.cs
- DefaultValueAttribute.cs
- GifBitmapDecoder.cs
- ErrorWebPart.cs
- RegistryConfigurationProvider.cs
- TextSegment.cs
- ScriptComponentDescriptor.cs
- MergePropertyDescriptor.cs
- DisplayInformation.cs
- xml.cs
- ApplicationServicesHostFactory.cs
- ComNativeDescriptor.cs
- ServerIdentity.cs
- TraceXPathNavigator.cs
- hresults.cs
- SymbolType.cs
- Column.cs
- UnionCodeGroup.cs
- AnnotationMap.cs
- CodeVariableDeclarationStatement.cs
- ValidatingPropertiesEventArgs.cs
- HttpPostServerProtocol.cs
- PLINQETWProvider.cs
- XMLSyntaxException.cs
- LineServicesRun.cs
- CommandBinding.cs
- UInt16Storage.cs
- BindingExpressionUncommonField.cs
- EntityCommandExecutionException.cs
- TableColumnCollectionInternal.cs
- TreeNodeStyle.cs
- PersonalizationProviderHelper.cs
- TrackingMemoryStream.cs
- Crc32.cs
- RegexBoyerMoore.cs
- ProtectedProviderSettings.cs
- GatewayDefinition.cs
- PrivateFontCollection.cs
- PrincipalPermissionMode.cs
- TextFormatter.cs