Code:
/ DotNET / DotNET / 8.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
- LogWriteRestartAreaState.cs
- CheckBoxField.cs
- PackageRelationship.cs
- TypeLoadException.cs
- ApplicationId.cs
- ClientSettingsSection.cs
- FunctionGenerator.cs
- BidOverLoads.cs
- Point3DAnimationBase.cs
- StorageFunctionMapping.cs
- SafeEventHandle.cs
- ProcessHost.cs
- HtmlInputControl.cs
- SerialPort.cs
- StructuredType.cs
- DetailsViewDeletedEventArgs.cs
- Hex.cs
- TheQuery.cs
- ListItemDetailViewAttribute.cs
- Marshal.cs
- EventLogEntry.cs
- GridViewDeletedEventArgs.cs
- DiagnosticsElement.cs
- AnimationLayer.cs
- FormViewDeleteEventArgs.cs
- Function.cs
- CommandValueSerializer.cs
- EntityType.cs
- PortCache.cs
- ConnectionProviderAttribute.cs
- UncommonField.cs
- Compiler.cs
- COM2EnumConverter.cs
- XmlCharType.cs
- MarkerProperties.cs
- OpenTypeLayoutCache.cs
- HybridObjectCache.cs
- CompletedAsyncResult.cs
- ActiveXContainer.cs
- XmlDataSourceView.cs
- ProgressPage.cs
- NegotiationTokenProvider.cs
- MultiBinding.cs
- ProxyHwnd.cs
- AsyncPostBackErrorEventArgs.cs
- MemberPath.cs
- UrlPropertyAttribute.cs
- PrimaryKeyTypeConverter.cs
- ValidatingPropertiesEventArgs.cs
- XamlPointCollectionSerializer.cs
- DataGridViewDataErrorEventArgs.cs
- ApplicationFileParser.cs
- System.Data_BID.cs
- WebPartConnectionsConfigureVerb.cs
- XmlDataSourceNodeDescriptor.cs
- Pair.cs
- AssociatedControlConverter.cs
- MultiPageTextView.cs
- DiscreteKeyFrames.cs
- SHA1Managed.cs
- EditorZone.cs
- Decimal.cs
- ItemMap.cs
- TabletCollection.cs
- Query.cs
- BinaryNode.cs
- ApplicationGesture.cs
- EntityDataSourceDesignerHelper.cs
- ListCommandEventArgs.cs
- SQLBoolean.cs
- DataGridViewControlCollection.cs
- BookmarkInfo.cs
- FilteredXmlReader.cs
- InvokeMethodActivity.cs
- arabicshape.cs
- DefaultExpressionVisitor.cs
- RepeatEnumerable.cs
- PenCursorManager.cs
- ServiceBehaviorAttribute.cs
- ButtonPopupAdapter.cs
- DataObject.cs
- ViewgenContext.cs
- assemblycache.cs
- SuspendDesigner.cs
- RemotingAttributes.cs
- LoginAutoFormat.cs
- AttributeInfo.cs
- PlatformCulture.cs
- CapabilitiesAssignment.cs
- ScrollChrome.cs
- ValidationEventArgs.cs
- SafeSystemMetrics.cs
- PathFigureCollection.cs
- EventLogPermission.cs
- OdbcException.cs
- CertificateManager.cs
- WriteTimeStream.cs
- FormatConvertedBitmap.cs
- UserInitiatedRoutedEventPermission.cs
- DriveInfo.cs